From 6fcb1c740a3bfd5fa5f9a07286e5e8e6882192b1 Mon Sep 17 00:00:00 2001 From: "OTSUKA, Yuanying" Date: Thu, 21 Dec 2017 15:54:30 +0900 Subject: [PATCH 01/48] Add FileFixtures module for testing --- kubernetes/spec/helpers/file_fixtures.rb | 36 ++++++++++++++++++++++++ kubernetes/spec/spec_helper.rb | 3 ++ 2 files changed, 39 insertions(+) create mode 100644 kubernetes/spec/helpers/file_fixtures.rb diff --git a/kubernetes/spec/helpers/file_fixtures.rb b/kubernetes/spec/helpers/file_fixtures.rb new file mode 100644 index 00000000..a7baa920 --- /dev/null +++ b/kubernetes/spec/helpers/file_fixtures.rb @@ -0,0 +1,36 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and + +module Kubernetes + module Testing + module FileFixtures + FIXTURES_DIR_PATH = File.join(File.dirname(__FILE__), '..', 'fixtures', 'files') + + # Returns a +Pathname+ to the fixture file named +fixture_name+. + # + # Raises +ArgumentError+ if +fixture_name+ can't be found. + def file_fixture(fixture_name) + path = Pathname.new(File.join(FIXTURES_DIR_PATH, fixture_name)) + + if path.exist? + path + else + msg = "the directory '%s' does not contain a file named '%s'" + raise ArgumentError, msg % [file_fixture_path, fixture_name] + end + end + end + + extend FileFixtures + end +end diff --git a/kubernetes/spec/spec_helper.rb b/kubernetes/spec/spec_helper.rb index 55972d7b..e4725bdf 100644 --- a/kubernetes/spec/spec_helper.rb +++ b/kubernetes/spec/spec_helper.rb @@ -12,6 +12,7 @@ # load the gem require 'kubernetes' +require 'helpers/file_fixtures' # The following was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. @@ -55,6 +56,8 @@ mocks.verify_partial_doubles = true end + config.include Kubernetes::Testing::FileFixtures + # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content. =begin From 88fd5d08ab9a7ffcdf15c59efc1630e1d1ffbad0 Mon Sep 17 00:00:00 2001 From: "OTSUKA, Yuanying" Date: Thu, 21 Dec 2017 17:39:05 +0900 Subject: [PATCH 02/48] Support kube config --- kubernetes/lib/kubernetes/config/error.rb | 17 + .../lib/kubernetes/config/kube_config.rb | 180 ++++++++ kubernetes/spec/config/kube_config_spec.rb | 388 ++++++++++++++++++ kubernetes/spec/fixtures/files/certs/ca.crt | 27 ++ .../spec/fixtures/files/certs/client.crt | 28 ++ .../spec/fixtures/files/certs/client.key | 51 +++ kubernetes/spec/fixtures/files/config/config | 13 + kubernetes/spec/fixtures/files/config/empty | 1 + kubernetes/spec/fixtures/files/tokens/token | 1 + 9 files changed, 706 insertions(+) create mode 100644 kubernetes/lib/kubernetes/config/error.rb create mode 100644 kubernetes/lib/kubernetes/config/kube_config.rb create mode 100644 kubernetes/spec/config/kube_config_spec.rb create mode 100644 kubernetes/spec/fixtures/files/certs/ca.crt create mode 100644 kubernetes/spec/fixtures/files/certs/client.crt create mode 100644 kubernetes/spec/fixtures/files/certs/client.key create mode 100644 kubernetes/spec/fixtures/files/config/config create mode 100644 kubernetes/spec/fixtures/files/config/empty create mode 100644 kubernetes/spec/fixtures/files/tokens/token diff --git a/kubernetes/lib/kubernetes/config/error.rb b/kubernetes/lib/kubernetes/config/error.rb new file mode 100644 index 00000000..48eb4bd1 --- /dev/null +++ b/kubernetes/lib/kubernetes/config/error.rb @@ -0,0 +1,17 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +module Kubernetes + class ConfigError < RuntimeError; end +end diff --git a/kubernetes/lib/kubernetes/config/kube_config.rb b/kubernetes/lib/kubernetes/config/kube_config.rb new file mode 100644 index 00000000..0728a1a7 --- /dev/null +++ b/kubernetes/lib/kubernetes/config/kube_config.rb @@ -0,0 +1,180 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'base64' +require 'yaml' +require 'tempfile' +require 'uri' + +require 'kubernetes/api_client' +require 'kubernetes/configuration' +require 'kubernetes/config/error' + +module Kubernetes + + class KubeConfig + + KUBE_CONFIG_DEFAULT_LOCATION = File.expand_path('~/.kube/config') + + class << self + + # + # Loads authentication and cluster information from kube-config file + # and stores them in Kubernetes::Configuration. + # @param config_file [String] Path of the kube-config file. + # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. + # @param client_configuration [Kubernetes::Configuration] The Kubernetes::Configuration tp set configs to. + def load( + config_file=ENV['KUBE_CONFIG'], + context: nil, + client_configuration: Configuration.default + ) + config_file ||= KUBE_CONFIG_DEFAULT_LOCATION + config = self.new(config_file) + config.configure(client_configuration, context) + end + + # + # Loads configuration the same as load_kube_config but returns an ApiClient + # to be used with any API object. This will allow the caller to concurrently + # talk with multiple clusters. + # @param config_file [String] Path of the kube-config file. + # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. + # @return [Kubernetes::ApiClient] Api client for Kubernetes cluster + def new_client( + config_file=ENV['KUBE_CONFIG'], + context: nil + ) + config_file ||= KUBE_CONFIG_DEFAULT_LOCATION + client_configuration = Configuration.new + load(config_file, context: context, client_configuration: client_configuration) + ApiClient.new(client_configuration) + end + + def list_context_names(config_file=KUBE_CONFIG_DEFAULT_LOCATION) + config = self.new(config_file) + return config.list_context_names + end + + end + + @@temp_files = {} + attr_accessor :path + attr_writer :config + + def initialize(path, config_hash=nil) + @path = path + @config = config_hash + end + + def base_path + File.dirname(self.path) + end + + def config + @config ||= open(self.path) do |io| + ::YAML.load(io.read) + end + end + + def configure(configuration, context_name=nil) + context = context_name ? self.find_context(context_name) : self.current_context + user = context['user'] || {} + cluster = context['cluster'] || {} + + configuration.tap do |c| + if user['authorization'] + c.api_key['authorization'] = user['authorization'] + end + if server = cluster['server'] + server = URI.parse(server) + c.scheme = server.scheme + host = "#{server.host}:#{server.port}" + host = "#{server.userinfo}@#{host}" if server.userinfo + c.host = host + c.base_path = server.path + + if server.scheme == 'https' + c.verify_ssl = cluster['verify_ssl'] + c.ssl_ca_cert = cluster['certificate-authority'] + c.cert_file = user['client-certificate'] + c.key_file = user['client-key'] + end + end + end + end + + def find_cluster(name) + self.find_by_name(self.config['clusters'], 'cluster', name).tap do |cluster| + create_temp_file_and_set(cluster, 'certificate-authority') + cluster['verify_ssl'] = !cluster['insecure-skip-tls-verify'] + end + end + + def find_user(name) + self.find_by_name(self.config['users'], 'user', name).tap do |user| + create_temp_file_and_set(user, 'client-certificate') + create_temp_file_and_set(user, 'client-key') + # If tokenFile is specified, then set token + if !user['token'] && user['tokenFile'] + open(user['tokenFile']) do |io| + user['token'] = io.read.chomp + end + end + # Convert token field to http header + if user['token'] + user['authorization'] = "Bearer #{user['token']}" + elsif user['username'] && user['password'] + user_pass = "#{user['username']}:#{user['password']}" + user['authorization'] = "Basic #{Base64.strict_encode64(user_pass)}" + end + end + end + + def list_context_names + self.config['contexts'].map { |e| e['name'] } + end + + def find_context(name) + self.find_by_name(self.config['contexts'], 'context', name).tap do |context| + context['cluster'] = find_cluster(context['cluster']) if context['cluster'] + context['user'] = find_user(context['user']) if context['user'] + end + end + + def current_context + find_context(self.config['current-context']) + end + + protected + def find_by_name(list, key, name) + obj = list.find {|item| item['name'] == name } + raise ConfigError.new("#{key}: #{name} not found") unless obj + obj[key].dup + end + + def create_temp_file_and_set(obj, key) + if !obj[key] && obj["#{key}-data"] + obj[key] = create_temp_file_with_base64content(obj["#{key}-data"]) + end + end + + def create_temp_file_with_base64content(content) + @@temp_files[content] ||= Tempfile.open('kube') do |temp| + temp.write(Base64.strict_decode64(content)) + temp.path + end + end + end +end diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb new file mode 100644 index 00000000..0fe18e99 --- /dev/null +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -0,0 +1,388 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'base64' +require 'spec_helper' + +require 'kubernetes/config/kube_config' + + +TEST_TOKEN_FILE = Kubernetes::Testing.file_fixture('tokens/token') + +TEST_DATA = "test-data" +TEST_DATA_BASE64 = Base64.strict_encode64(TEST_DATA) + +TEST_HOST = "http://test-host/" +TEST_USERNAME = "me" +TEST_PASSWORD = "pass" +# token for me:pass +TEST_BASIC_TOKEN = "Basic bWU6cGFzcw==" + +TEST_SSL_HOST = "https://test-host/" +TEST_CERTIFICATE_AUTH = "cert-auth" +TEST_CERTIFICATE_AUTH_BASE64 = Base64.strict_encode64(TEST_CERTIFICATE_AUTH) +TEST_CLIENT_KEY = "client-key" +TEST_CLIENT_KEY_BASE64 = Base64.strict_encode64(TEST_CLIENT_KEY) +TEST_CLIENT_CERT = "client-cert" +TEST_CLIENT_CERT_BASE64 = Base64.strict_encode64(TEST_CLIENT_CERT) + +TEST_CONTEXT_DEFAULT = { + 'name' => 'default', + 'context' => { + 'cluster' => 'default', + 'user' => 'default', + } +} +TEST_CONTEXT_NO_USER = { + 'name' => 'no_user', + 'context' => { + 'cluster' => 'default', + } +} +TEST_CONTEXT_SSL = { + 'name' => 'context_ssl', + 'context' => { + 'cluster' => 'ssl-file', + 'user' => 'user_cert_file', + } +} +TEST_CONTEXT_TOKEN = { + 'name' => 'context_token', + 'context' => { + 'cluster' => 'ssl-file', + 'user' => 'simple_token', + } +} + +TEST_CLUSTER_DEFAULT = { + 'name' => 'default', + 'cluster' => { + 'server' => TEST_HOST, + }, +} +TEST_CLUSTER_SSL_FILE = { + 'name' => 'ssl-file', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, + }, +} +TEST_CLUSTER_SSL_DATA = { + 'name' => 'ssl-data', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, + }, +} +TEST_CLUSTER_INSECURE = { + 'name' => 'ssl-data-insecure', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, + 'insecure-skip-tls-verify' => true, + }, +} + +TEST_USER_DEFAULT = { + 'name' => 'default', + 'user' => { + 'token' => TEST_DATA_BASE64, + } +} +TEST_USER_SIMPLE_TOKEN = { + 'name' => 'simple_token', + 'user' => { + 'token' => TEST_DATA_BASE64, + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_SIMPLE_TOKEN_FILE = { + 'name' => 'simple_token_file', + 'user' => { + 'tokenFile' => TEST_TOKEN_FILE, + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_USER_PASS = { + 'name' => 'user_pass', + 'user' => { + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_CERT_DATA = { + 'name' => 'user_cert_data', + 'user' => { + 'token' => TEST_DATA_BASE64, + 'client-certificate-data' => TEST_CLIENT_CERT_BASE64, + 'client-key-data' => TEST_CLIENT_KEY_BASE64, + }, +} +TEST_USER_CERT_FILE = { + 'name' => 'user_cert_file', + 'user' => { + 'client-certificate' => Kubernetes::Testing.file_fixture('certs/client.crt').to_s, + 'client-key' => Kubernetes::Testing.file_fixture('certs/client.key').to_s, + }, +} + +TEST_KUBE_CONFIG = { + 'current-context' => 'no_user', + 'contexts' => [ + TEST_CONTEXT_DEFAULT, + TEST_CONTEXT_NO_USER, + TEST_CONTEXT_SSL, + TEST_CONTEXT_TOKEN, + ], + 'clusters' => [ + TEST_CLUSTER_DEFAULT, + TEST_CLUSTER_SSL_FILE, + TEST_CLUSTER_SSL_DATA, + TEST_CLUSTER_INSECURE, + ], + 'users' => [ + TEST_USER_DEFAULT, + TEST_USER_SIMPLE_TOKEN, + TEST_USER_SIMPLE_TOKEN_FILE, + TEST_USER_USER_PASS, + TEST_USER_CERT_DATA, + TEST_USER_CERT_FILE, + ], +} + +RSpec::Matchers.define :be_same_configuration_as do |expected| + match do |actual| + to_h = Proc.new do |configuration| + {}.tap do |hash| + configuration.instance_variables.each do |var| + value = configuration.instance_variable_get(var) + if value.kind_of?(Hash) || value.kind_of?(String) + hash[var.to_s.tr('@', '')] = value + end + end + end + end + to_h.call(actual) == to_h.call(expected) + end +end + +describe Kubernetes::KubeConfig do + let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + + context '#configure' do + context 'if non user context is given' do + it 'should configure non user configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'http' + c.host = 'test-host:80' + end + actual = Kubernetes::Configuration.new + + kube_config.configure(actual, 'no_user') + expect(actual).to be_same_configuration_as(expected) + end + end + + context 'if ssl context is given' do + it 'should configure ssl configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'test-host:443' + c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.cert_file = file_fixture('certs/client.crt').to_s + c.key_file = file_fixture('certs/client.key').to_s + end + actual = Kubernetes::Configuration.new + + kube_config.configure(actual, 'context_ssl') + expect(actual).to be_same_configuration_as(expected) + end + end + + context 'if simple token context is given' do + it 'should configure ssl configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'test-host:443' + c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.api_key['authorization'] = "Bearer #{TEST_DATA_BASE64}" + end + actual = Kubernetes::Configuration.new + + kube_config.configure(actual, 'context_token') + expect(actual).to be_same_configuration_as(expected) + end + end + end + + context '#config' do + context 'if config hash is not given when it is initialized' do + let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/empty').to_s) } + it 'should load config' do + expect(kube_config.config).to eq({}) + end + end + + context 'if config hash is given when it is initialized' do + let(:given_hash) { {given: 'hash'} } + let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/empty').to_s, given_hash) } + + it 'should not load config' do + expect(kube_config.config).to eq(given_hash) + end + end + end + + context '#find_cluster' do + context 'if valid name is given' do + it 'should return cluster' do + expect(kube_config.find_cluster('default')['server']).to eq( + TEST_CLUSTER_DEFAULT['cluster']['server'] + ) + end + end + + context 'if cluster does not have ca file' do + it 'should create temporary ca file from ca data' do + cluster = kube_config.find_cluster('ssl-data') + ca_file = cluster['certificate-authority'] + expect(ca_file).not_to be_nil + open(ca_file) do |io| + expect(io.read).to eq(TEST_CERTIFICATE_AUTH) + end + end + end + + context 'if insecure-skip-tls-verify is set to true' do + it 'should return verify_ssl == false' do + cluster = kube_config.find_cluster('ssl-data-insecure') + + expect(cluster['verify_ssl']).to be_falsey + end + end + + context 'if insecure-skip-tls-verify is not set' do + it 'should return verify_ssl == true' do + cluster = kube_config.find_cluster('ssl-data') + + expect(cluster['verify_ssl']).to be_truthy + end + end + end + + context '#find_user' do + context 'if valid name is given' do + it 'should return user' do + expect(kube_config.find_user('simple_token')['username']).to eq( + TEST_USER_SIMPLE_TOKEN['user']['username'] + ) + end + end + + context 'if user does not have client cert' do + it 'should create temporary client cert from cert data' do + user = kube_config.find_user('user_cert_data') + cert_file = user['client-certificate'] + expect(cert_file).not_to be_nil + open(cert_file) do |io| + expect(io.read).to eq(TEST_CLIENT_CERT) + end + end + end + + context 'if user does not have client key' do + it 'should create temporary client key from key data' do + user = kube_config.find_user('user_cert_data') + key_file = user['client-key'] + expect(key_file).not_to be_nil + open(key_file) do |io| + expect(io.read).to eq(TEST_CLIENT_KEY) + end + end + end + + context 'if user does not have token but has tokenFile' do + it 'should read token from file if given' do + user = kube_config.find_user('simple_token_file') + + expect(user['authorization']).to eq("Bearer token1") + end + end + + context 'if user has username and password' do + it 'should return basic auth token' do + user = kube_config.find_user('user_pass') + + expect(user['authorization']).to eq(TEST_BASIC_TOKEN) + end + end + end + + context '#list_context_names' do + it 'should list context names' do + expect(kube_config.list_context_names.sort).to eq(["default", "no_user", "context_ssl", "context_token"].sort) + end + end + + context '#find_context' do + context 'if valid name is given' do + it 'should return context' do + expect(kube_config.find_context('default')['cluster']['server']).to eq( + TEST_CLUSTER_DEFAULT['cluster']['server'], + ) + expect(kube_config.find_context('default')['user']['username']).to eq( + TEST_USER_DEFAULT['user']['username'], + ) + end + end + end + + context '#current_context' do + it 'should return current context' do + expect(kube_config.current_context['cluster']['server']).to eq( + TEST_CLUSTER_DEFAULT['cluster']['server'], + ) + end + end + + context '#create_temp_file_with_base64content' do + context 'when it is called at first time' do + it 'should return temp file path' do + expected_path = 'tempfile-path' + content = TEST_DATA_BASE64 + io = double('io') + expect(io).to receive(:path).and_return(expected_path) + expect(io).to receive(:write).with(TEST_DATA) + allow(Tempfile).to receive(:open).and_yield(io) + + expect(kube_config.send(:create_temp_file_with_base64content, content)).to eq(expected_path) + end + end + + context 'when it is already called' do + it 'should return cached value' do + expected_path = 'tempfile-path' + content = TEST_DATA_BASE64 + Kubernetes::KubeConfig.class_eval { class_variable_get(:@@temp_files)[content] = expected_path} + io = double('io') + expect(io).not_to receive(:path) + expect(io).not_to receive(:write).with(TEST_DATA) + + expect(kube_config.send(:create_temp_file_with_base64content, content)).to eq(expected_path) + end + end + end +end diff --git a/kubernetes/spec/fixtures/files/certs/ca.crt b/kubernetes/spec/fixtures/files/certs/ca.crt new file mode 100644 index 00000000..73b93edf --- /dev/null +++ b/kubernetes/spec/fixtures/files/certs/ca.crt @@ -0,0 +1,27 @@ +-----BEGIN CERTIFICATE----- +MIIEoDCCAogCCQCUEtW/53NTbjANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQDDAdr +dWJlLWNhMB4XDTE3MTAxNjA4MjYzN1oXDTQ1MDMwMzA4MjYzN1owEjEQMA4GA1UE +AwwHa3ViZS1jYTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMDXfAj6 +uhbor03mwf1Al4RQ+U5iYm5w7ubD6Bq794eXhl1c4MDiN84MdLRbNAPafnu0y9ae +yNHxcv5mj13RKOiptAdqTG8CC1C+jwtHsK1jZgXnr5PbySWk01niQjXxcD/JoCiq +XvLLxpTTnEQ1ftsHpgXKu36dXLd5OexW992Mde/CjXcaNtptsh5JpyObFTtn9Wka +5q3Y0g4jDqilVeTkHqNrBqCccfBPnEfDXgAS7VcVbsC7HQd2yEOGK9gVgzIekbY1 +0WF5KNamFWpkQjkBPw/BbPtIvCFiScl4Yn6nOAQ2hiJ38xEfxyxQQKuxMLtawO8d +PxoRtCbEiiIFF0bh6zSn4NRaBtvNH4kskf3id5Pc3ChQxSvAYZCAuYPyhp8Ux7gK +tHJQqg95AahiFtNF3xurTVEk50TreWbCcoEtTGoHHuuJME05UggJk4ADSbYKtO9E +Dee5c1WxdqrUxUz9JIoBZ7NeYmiDxl7Rw7hzHnNq6fYkVCryB9+rUZtMpmIO6n3g +cnzBN5jNXBIYFFEr/kYD7dl9+xs8qcTsWf267PFoP1fpCyx1E5dZwQ8Ygr2gv0As +IAiA2sxFJlKYfVQxp7ZYfNWGqYVgLTzBmIH6pMDY4AOEcLLQCewxfVt1KThzRfdE +NeXr/fduJQ13JFkZCUFfaONECPoDme+Gsd+hAgMBAAEwDQYJKoZIhvcNAQELBQAD +ggIBAIk6SJ5JgWEtefmqDPuBGd9p/huBhn3puR5gZHmtYQ++asPwpxvI5ADZQWcH +IwYYPpsqpk+q5yLZz6RfEe8ceMzkYEdw0ThjXba51ZJ48DYQ3Amu1Y7ubNTaxAaU +VYOfSFuj3kDRlT/++rF+I/lcRCVHllV2+YrKHX9SBgdPC5+MS8paP26b2rSQtAI0 +98twvkp4Z1v7rKvSRo23F3ogv0tIiG6ARxpJQb1LxQFb7mFi30lAP9rddBn5N8y/ +horfvuHtZGH3gRrbBvEeGxRMEQPk61YM9p7tpIE0+PzBWNsk7wQef+KLmCfu3BK6 +IHmahe6yfkD2FTpw3W3SwvT0DqpDPQbw+KmG8/B7lz8MCjIrUGqeil3mBt0UhGIN +ehSd9sC8QwGJpHNUp/NpK9+VGMy2mVaTsXo9mF37ay1tp7tOfVgtqhk4yCnQeQpe +HkJTlagiG34QjCZwLdrzY5ajM0eK1RBL1CYkIMkt0uTb407T6vYKuagkW390Mc6y +Twu9H5PEjjNGgt9ZRT5TR+B2E2cr4cPDH+JY+8mJPqN3W5FseYg+ulm3XeZai3dG +2In5ocFV855d7Lb5RZC5gOHzQWHK9Wfq+skXWC6u6IPSL8W+1CW/0awu3pWEXwVd +81W1d25kfEAH36ymbtYNS/DPfYasZDrN5ornIlrBjH9T9Ke1 +-----END CERTIFICATE----- diff --git a/kubernetes/spec/fixtures/files/certs/client.crt b/kubernetes/spec/fixtures/files/certs/client.crt new file mode 100644 index 00000000..001ebd18 --- /dev/null +++ b/kubernetes/spec/fixtures/files/certs/client.crt @@ -0,0 +1,28 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIIEujCCAqICAQAwNzEXMBUGA1UECgwOc3lzdGVtOm1hc3RlcnMxHDAaBgNVBAMM +E2t1YmUta3ViZWxldC1jbGllbnQwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIK +AoICAQDOB91RzdtT5vBOZOsUgux2qVMrjrpqJwaIx6CtNGRcp4V512h/zdDWfkoi +nZcWhWiTXtLKYnIWa9QJUltTA0FVHNNOst7l/MJkLVxHPG0RNP8DFqifleBC2hyO +9cABRQz7gjmHl02GjCSdXG5A1U6bXYSaiASYwLZ5INPG7C0ug1UER2D7yzMSq62l +YSS4yZMdqrlkNjmlgA93S/+xQCp3HLLIyJmI70blrQP5XaVsrZWwmPNxqxSwBBDg +rWXHhnRVIVTNghXsLFU9WWb/tqHq/AuvKm09D8f+kmuKNxu4xaW/3uWLJa+Jp1gw +PBvSpUppIJGZSNi+j9tBUyCCVlX2alNI9oVsA3T11vdjhpFYf7eREVnirm1UrlJR +ZgrE4kIYhRb7bPVoYdcMpGUq3hRzOtrIFQqQGBhAJ+9HSxVffTkJD6khaWw7TUxm +k1+E9Wj2abRWj/aMgWedihUkYmFDyQYUZwnVxHb5L8vTt2YmDV30NRAt9Vbbvsuc +BoLDaEcr/nRW2mJvDatmbOG2K6fe1r5PpYmMoDZomfMbsNbZ3pm2JhJwJcIHOG2H +EMXTOxYeE/hf4a9xcZmxDJ7R49B3t24vowm/NK2K1ie82Lt741d0ozaeU5D4HZP3 +Xmd7YZxcYsBOpy6uwJ892QMKDAr//9fy79/yQzHoPy5tU5I/nQIDAQABoD4wPAYJ +KoZIhvcNAQkOMS8wLTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIF4DATBgNVHSUEDDAK +BggrBgEFBQcDAjANBgkqhkiG9w0BAQsFAAOCAgEAnf5B9bDYRQjaIiyfXfLZJqOn +G8odKwc8st59C/fSL2MsOEjD5RMbAmLx6dlfWVww1t0GXm0E2ZhtGbxmHj0fdEB2 +wRy1+zouHcpca5W8Ur7ES1P/bOdxh+kfGq3p1PksiAOGpRS7T8sDgNkojbBMRi1V +ImFL8FfxP3Qq6c/s96Q3lt+pR1i7O1NcrdfBv+DAw/06egWpLE9VTJviLjJtBPTg +l7dr4okvSsuYRrnMdVjtgkaTOrUxJQNRIfYv+HjtichwVo/Tl5EKi+UhkeQqv+aj +VXel5WxZRTR0aFfJPaK085hj6brTt1CXK7HysRo8CphQqPTv/TP30BYJlf7+zOTt +6eVmH0X+TDBoBGm9TanRFYUp0GSMt2Wtt4uIZ8aUZRzDlxQBCOHIk1PRKtbLYzhz +P7CjQop43GdAuteYfEAEr2F9Zjt89REsteV1VvYrHKQ8DnmzRYGQXp0usNQk1GJO +5zSV3VzLVmaU6uSaXvPNyAVqyJxS6YohvyksHsKEH+A60jbmlw6IknPPFk9Xe2ye +ZX3aVZdV5nI86MP0Mc7jsEnNbAshd2W5EUunBpsDKhhs9nummZ/1ms2FDCzjifKz +ng/uPsmNJZFGd+Px6opbx16n7Dx3jukB7W+xcTIYqYg3UCipXVAkXCFl8AP5V6zN +c7go0D2/pAOIgobBm9k= +-----END CERTIFICATE REQUEST----- diff --git a/kubernetes/spec/fixtures/files/certs/client.key b/kubernetes/spec/fixtures/files/certs/client.key new file mode 100644 index 00000000..cf49efca --- /dev/null +++ b/kubernetes/spec/fixtures/files/certs/client.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKgIBAAKCAgEAzgfdUc3bU+bwTmTrFILsdqlTK466aicGiMegrTRkXKeFeddo +f83Q1n5KIp2XFoVok17SymJyFmvUCVJbUwNBVRzTTrLe5fzCZC1cRzxtETT/Axao +n5XgQtocjvXAAUUM+4I5h5dNhowknVxuQNVOm12EmogEmMC2eSDTxuwtLoNVBEdg ++8szEqutpWEkuMmTHaq5ZDY5pYAPd0v/sUAqdxyyyMiZiO9G5a0D+V2lbK2VsJjz +casUsAQQ4K1lx4Z0VSFUzYIV7CxVPVlm/7ah6vwLryptPQ/H/pJrijcbuMWlv97l +iyWviadYMDwb0qVKaSCRmUjYvo/bQVMgglZV9mpTSPaFbAN09db3Y4aRWH+3kRFZ +4q5tVK5SUWYKxOJCGIUW+2z1aGHXDKRlKt4UczrayBUKkBgYQCfvR0sVX305CQ+p +IWlsO01MZpNfhPVo9mm0Vo/2jIFnnYoVJGJhQ8kGFGcJ1cR2+S/L07dmJg1d9DUQ +LfVW277LnAaCw2hHK/50Vtpibw2rZmzhtiun3ta+T6WJjKA2aJnzG7DW2d6ZtiYS +cCXCBzhthxDF0zsWHhP4X+GvcXGZsQye0ePQd7duL6MJvzStitYnvNi7e+NXdKM2 +nlOQ+B2T915ne2GcXGLATqcursCfPdkDCgwK///X8u/f8kMx6D8ubVOSP50CAwEA +AQKCAgB1axoBExcafBUcOHuZVvw4rEuQGWm4McGRlmPGEoPYIkj5pYASxlNsytCp +ZbLDzQhKZNIxMWXfzVgsb9lIOCS1wxXSVjKeVCzdNtTObGukUNW9Bt7XBG2o6/E2 +sGvazWWWuSLcWah/M8NyQ0k6fdasyOFXyIkGHV5hLgpD5jnhtktvgtaM6cOTsm/m +PrTU81x6nd/Gcvjrj05BKPjyJaWN+LcTou+NkQCQyMfpCCvNAii7Wo/zihLiNY8A +3RGSYthN5A8WiDrCPInfyuHeflFNQJPQIpfbIvFR7lSHktyjs1DBRuD/Kl0eUFb8 +NmWM6VK9EyineVK9V/MXCa8PWPDn1rj1s3zzcszRpufNm5foykuL76OD/cFfxYCb +HpJa5ddvYBtrRQLvtMWTBZqrooGnN3JxDA4n3Fp6StWqnRUIp5mSO71uqD4JBz0Y +U/5lWy2gkcdozgjWGetsK6NTW8P7dnV/HqO9gsL3tEKrC4zUwOqRCZ5sXuBYFyue +89xAQ/4bVFR75v5DcRQT40Y5ZFACyN5aHxz+fm2EV5hUIUUdfG2KIUzsuyUwNTZe +G82bWtGTbfNtk1H63nX15uu1nkEhZgKrG0m+Ocq0nAroj4n0X72e8eSePK5dXAAp +KdWS4bAP5TgsPNhPUerQs/LvYfCSWguCxUoMK29n8ScLNmWA6QKCAQEA7wsfGriu +kWHP8GD7N3A3iFZUBYRe3ounWj6JXnS8BBaXT4dk8HHP1VxG+H63yDYQgSxzLUPa +JTe9CdagdblvV5VNn9eZksLLarGENFp803V6wlJyfiDOO+0Vro0u9KwZZ8jmN29r +IZ+T9KcB4Vq98wcw/LxiX4dP101hSLZfs91e16mOo0DJXtrXEEcGy9Xd1zSxn6Kd +ijquxCwCJdz9iYYOxW5heBIzCbSq5mkI+9sb9kb2uwN0UHv3Q9lt9T0W4NZmbDwF +HqqgHCP5huSGby1nxtnQjF8i1eGHCOmbCml98dTTc3i1fcin1PxqK3M3biCO+Yme +DAN9OAqsiLHpwwKCAQEA3KVAtQBNwNALIW09AlbuQifTu2JzehYkNp2nYeYpmgK6 +cabsZHtyxWMZfSTMrIa8zs6/gqgS1O+gu17QWa+85sy/hsuwLxMlTdRWkV1iposf +3jcXClpM300da4nwhvnx2CaXnVFEzFGrSPkKYXwgdzrobDdn3POClgcFvEhBbsJx +adqPAEUtAC0K2W4We8L8ZmHUUyPUCyrgcX92eSkbh7UsXk2gi+yWfjY50YkWPf2K +BaEZ7StLlAMkoiTkNpReHcBlSCb/cFP/ecSQbpGHDN+OLFpH1yWXaaDGU0eWS06o +gR9XzO/ctJZw9RKfre2Gq3mWpkolZ9ynM/Hk3M07HwKCAQEAroqzWoKRTKxb9cwK +gs9YbR+D2EdwMhVMzDMvgJ3CD0Yjk7lr9blUpRjs5VM5hGIdqQQ40UtjBJvvVzi1 +D2CoMQ5ekKEPjL7ZYv1daBDOZmS4jx0+ZmQz0kPp+fsy1wq2vjZOCxo64mEv2or7 +b34fhk2w8knnlpMptC7XIw2vUZkJQHWZJhEPOEiYklUaXEm74wCh1csaNy1kIO91 +Xgo/wmP1cymG1/KJ+8NEqlr1aVjy0N++Fo2OJ5ps0Mj5ZgEGLIPAY7Vrk5nIsON/ +toQ0uQcxaFvw0B5DRGKZg+N3BqJCiQr6nqz78G1MRtNL/o/xYGM7om9ezKzbiMka +c/FcmwKCAQEAibrJynJXFq2G1SXIOIalETylKUoKRUI+9qywiCbQ/ycG1NzaoNqC +SP5UMc7fyC4O+5UI7HkX0D2Ieo1zxxgw9W0HfQ/2eVwdJBkQtIqzgrxDd0WyJy84 +3wbW/4LKVqb8tO1aJMRPCq9MGTADr9h4t5RY8vwe5EhI0nett9rupUHQ47+fFg8Y +SQzUwea7OCP9w7b7f65UtWfdVFu5S2ZCnhKUkIUqW02in0QgEVDeRnHWTy9B7M7i +zZCstF4M6pjwquenEUPunWKBjbQKaEqFH58Is1zjjUQU4MWQJvn/siB2hKtY9j8f +6MYj2ob2j+496xnp1QFhmhSddopfTwj5BwKCAQEA4D/ViAIUGl3+g6m128ETbxHQ +rzfEQygtOxSLhiINy5xxLyzcKoIw1rIKF5CrUYblNwRdRwPI3d6dgHA0cLo0zjgw +lKTRXPPn6r8xT21MSEODMJLd2hJz+H3IVGvpxJkxGlmEUSKN0L/MOrsSfR3AdyGL +mi/zqqFqbi+oKpMoM8wopWwBUx7HHG19sMf1kbOLhI6JFeoiNS44M3lvHlEEBt8C +UA9/FtkajMCDoGCSnpjkv6i2SGpg9AYqZAWWznlWIFiKJbBDA3Je4tI3J3/qeqWl +kGuLG/oR1gEXNpFgL6B2tUK3lyl+l3p9pgBlL/5Uut0WeC1TKS+l3R8Ww6N5Ew== +-----END RSA PRIVATE KEY----- diff --git a/kubernetes/spec/fixtures/files/config/config b/kubernetes/spec/fixtures/files/config/config new file mode 100644 index 00000000..156b6327 --- /dev/null +++ b/kubernetes/spec/fixtures/files/config/config @@ -0,0 +1,13 @@ +apiVersion: v1 +clusters: +- name: default + cluster: + server: http://localhost:8080 +contexts: +- name: no_user + context: + cluster: default +current-context: no_user +kind: Config +preferences: {} +users: diff --git a/kubernetes/spec/fixtures/files/config/empty b/kubernetes/spec/fixtures/files/config/empty new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/kubernetes/spec/fixtures/files/config/empty @@ -0,0 +1 @@ +{} diff --git a/kubernetes/spec/fixtures/files/tokens/token b/kubernetes/spec/fixtures/files/tokens/token new file mode 100644 index 00000000..6554d01c --- /dev/null +++ b/kubernetes/spec/fixtures/files/tokens/token @@ -0,0 +1 @@ +token1 From 072bb1d152dee5e71ffd962ac229e41e08af7792 Mon Sep 17 00:00:00 2001 From: "OTSUKA, Yuanying" Date: Tue, 26 Dec 2017 14:57:37 +0900 Subject: [PATCH 03/48] Support in-cluster config --- .../lib/kubernetes/config/incluster_config.rb | 84 ++++++++++++ .../spec/config/incluster_config_spec.rb | 120 ++++++++++++++++++ kubernetes/spec/config/kube_config_spec.rb | 16 +-- kubernetes/spec/config/matchers.rb | 29 +++++ 4 files changed, 234 insertions(+), 15 deletions(-) create mode 100644 kubernetes/lib/kubernetes/config/incluster_config.rb create mode 100644 kubernetes/spec/config/incluster_config_spec.rb create mode 100644 kubernetes/spec/config/matchers.rb diff --git a/kubernetes/lib/kubernetes/config/incluster_config.rb b/kubernetes/lib/kubernetes/config/incluster_config.rb new file mode 100644 index 00000000..7c289aeb --- /dev/null +++ b/kubernetes/lib/kubernetes/config/incluster_config.rb @@ -0,0 +1,84 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'kubernetes/configuration' +require 'kubernetes/config/error' + +module Kubernetes + + class InClusterConfig + + class << self + + # + # Use the service account kubernetes gives to pods to connect to kubernetes + # cluster. It's intended for clients that expect to be running inside a pod + # running on kubernetes. It will raise an exception if called from a process + # not running in a kubernetes environment. + def load(client_configuration: Configuration.default) + config = self.new + config.configure(client_configuration) + end + + end + + SERVICE_HOST_ENV_NAME = "KUBERNETES_SERVICE_HOST" + SERVICE_PORT_ENV_NAME = "KUBERNETES_SERVICE_PORT" + SERVICE_TOKEN_FILENAME = "/var/run/secrets/kubernetes.io/serviceaccount/token" + SERVICE_CA_CERT_FILENAME = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" + + attr_accessor :host + attr_accessor :port + attr_accessor :token + + def validate + unless (self.host = self.env[SERVICE_HOST_ENV_NAME]) && (self.port = self.env[SERVICE_PORT_ENV_NAME]) + raise ConfigError.new("Service host/port is not set") + end + raise ConfigError.new("Service token file does not exists") unless File.file?(self.token_file) + raise ConfigError.new("Service token file does not exists") unless File.file?(self.ca_cert) + end + + def env + @env ||= ENV + @env + end + + def ca_cert + @ca_cert ||= SERVICE_CA_CERT_FILENAME + @ca_cert + end + + def token_file + @token_file ||= SERVICE_TOKEN_FILENAME + @token_file + end + + def load_token + open(self.token_file) do |io| + self.token = io.read.chomp + end + end + + def configure(configuration) + validate + load_token + configuration.api_key['authorization'] = "Bearer #{self.token}" + configuration.scheme = 'https' + configuration.host = "#{self.host}:#{self.port}" + configuration.ssl_ca_cert = self.ca_cert + end + end + +end diff --git a/kubernetes/spec/config/incluster_config_spec.rb b/kubernetes/spec/config/incluster_config_spec.rb new file mode 100644 index 00000000..709dee81 --- /dev/null +++ b/kubernetes/spec/config/incluster_config_spec.rb @@ -0,0 +1,120 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'spec_helper' +require 'config/matchers' + +require 'kubernetes/config/incluster_config' + + +describe Kubernetes::InClusterConfig do + + context '#configure' do + let(:incluster_config) do + Kubernetes::InClusterConfig.new.tap do |c| + c.instance_variable_set(:@env, { + Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', + }) + c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + end + end + + it 'should configure configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'localhost:443' + c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.api_key['authorization'] = 'Bearer token1' + end + actual = Kubernetes::Configuration.new + + incluster_config.configure(actual) + expect(actual).to be_same_configuration_as(expected) + end + end + + context '#validate' do + let(:incluster_config) do + Kubernetes::InClusterConfig.new.tap do |c| + c.instance_variable_set(:@env, { + Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', + }) + c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + end + end + + context 'if valid environment' do + + it 'shold not raise ConfigError' do + expect { incluster_config.validate }.not_to raise_error + end + end + + context 'if SERVICE_HOST_ENV_NAME env variable is not set' do + + it 'should raise ConfigError' do + incluster_config.env[Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME] = nil + + expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + end + end + + context 'if SERVICE_PORT_ENV_NAME env variable is not set' do + + it 'should raise ConfigError' do + incluster_config.env[Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME] = nil + + expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + end + end + + context 'if ca_cert file is not exist' do + + it 'shold raise ConfigError' do + incluster_config.instance_variable_set(:@ca_cert, 'certs/no_ca.crt') + + expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + end + end + + context 'if token file is not exist' do + + it 'shold raise ConfigError' do + incluster_config.instance_variable_set(:@token_file, 'tokens/no_token') + + expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + end + end + end + + context '#ca_cert' do + let(:incluster_config) { Kubernetes::InClusterConfig.new } + + it 'shold return "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"' do + expect(incluster_config.ca_cert).to eq('/var/run/secrets/kubernetes.io/serviceaccount/ca.crt') + end + end + + context '#token_file' do + let(:incluster_config) { Kubernetes::InClusterConfig.new } + + it 'shold return "/var/run/secrets/kubernetes.io/serviceaccount/token"' do + expect(incluster_config.token_file).to eq('/var/run/secrets/kubernetes.io/serviceaccount/token') + end + end +end diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 0fe18e99..cd440f13 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -14,6 +14,7 @@ require 'base64' require 'spec_helper' +require 'config/matchers' require 'kubernetes/config/kube_config' @@ -163,21 +164,6 @@ ], } -RSpec::Matchers.define :be_same_configuration_as do |expected| - match do |actual| - to_h = Proc.new do |configuration| - {}.tap do |hash| - configuration.instance_variables.each do |var| - value = configuration.instance_variable_get(var) - if value.kind_of?(Hash) || value.kind_of?(String) - hash[var.to_s.tr('@', '')] = value - end - end - end - end - to_h.call(actual) == to_h.call(expected) - end -end describe Kubernetes::KubeConfig do let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } diff --git a/kubernetes/spec/config/matchers.rb b/kubernetes/spec/config/matchers.rb new file mode 100644 index 00000000..335bbba4 --- /dev/null +++ b/kubernetes/spec/config/matchers.rb @@ -0,0 +1,29 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +RSpec::Matchers.define :be_same_configuration_as do |expected| + match do |actual| + to_h = Proc.new do |configuration| + {}.tap do |hash| + configuration.instance_variables.each do |var| + value = configuration.instance_variable_get(var) + if value.kind_of?(Hash) || value.kind_of?(String) + hash[var.to_s.tr('@', '')] = value + end + end + end + end + to_h.call(actual) == to_h.call(expected) + end +end From 7f0dce507ca12627dc25501c161d4dc569faa844 Mon Sep 17 00:00:00 2001 From: "OTSUKA, Yuanying" Date: Tue, 26 Dec 2017 15:41:40 +0900 Subject: [PATCH 04/48] Refactor to add helper utility for config --- kubernetes/README.md | 10 +- .../lib/kubernetes/config/incluster_config.rb | 14 -- .../lib/kubernetes/config/kube_config.rb | 33 ---- kubernetes/lib/kubernetes/utils.rb | 64 +++++++ kubernetes/spec/config/kube_config_spec.rb | 147 +--------------- .../spec/fixtures/config/kube_config_hash.rb | 161 ++++++++++++++++++ kubernetes/spec/utils_spec.rb | 74 ++++++++ 7 files changed, 303 insertions(+), 200 deletions(-) create mode 100644 kubernetes/lib/kubernetes/utils.rb create mode 100644 kubernetes/spec/fixtures/config/kube_config_hash.rb create mode 100644 kubernetes/spec/utils_spec.rb diff --git a/kubernetes/README.md b/kubernetes/README.md index 0b67d76b..eb841746 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -53,14 +53,10 @@ Please follow the [installation](#installation) procedure and then run the follo ```ruby # Load the gem require 'kubernetes' +require 'kubernetes/utils' -# Setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end +# Configs can be set in Configuration class directly or using helper utility +Kubernetes.load_kube_config api_instance = Kubernetes::AdmissionregistrationApi.new diff --git a/kubernetes/lib/kubernetes/config/incluster_config.rb b/kubernetes/lib/kubernetes/config/incluster_config.rb index 7c289aeb..d0dd6229 100644 --- a/kubernetes/lib/kubernetes/config/incluster_config.rb +++ b/kubernetes/lib/kubernetes/config/incluster_config.rb @@ -19,20 +19,6 @@ module Kubernetes class InClusterConfig - class << self - - # - # Use the service account kubernetes gives to pods to connect to kubernetes - # cluster. It's intended for clients that expect to be running inside a pod - # running on kubernetes. It will raise an exception if called from a process - # not running in a kubernetes environment. - def load(client_configuration: Configuration.default) - config = self.new - config.configure(client_configuration) - end - - end - SERVICE_HOST_ENV_NAME = "KUBERNETES_SERVICE_HOST" SERVICE_PORT_ENV_NAME = "KUBERNETES_SERVICE_PORT" SERVICE_TOKEN_FILENAME = "/var/run/secrets/kubernetes.io/serviceaccount/token" diff --git a/kubernetes/lib/kubernetes/config/kube_config.rb b/kubernetes/lib/kubernetes/config/kube_config.rb index 0728a1a7..7ba73627 100644 --- a/kubernetes/lib/kubernetes/config/kube_config.rb +++ b/kubernetes/lib/kubernetes/config/kube_config.rb @@ -29,39 +29,6 @@ class KubeConfig class << self - # - # Loads authentication and cluster information from kube-config file - # and stores them in Kubernetes::Configuration. - # @param config_file [String] Path of the kube-config file. - # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. - # @param client_configuration [Kubernetes::Configuration] The Kubernetes::Configuration tp set configs to. - def load( - config_file=ENV['KUBE_CONFIG'], - context: nil, - client_configuration: Configuration.default - ) - config_file ||= KUBE_CONFIG_DEFAULT_LOCATION - config = self.new(config_file) - config.configure(client_configuration, context) - end - - # - # Loads configuration the same as load_kube_config but returns an ApiClient - # to be used with any API object. This will allow the caller to concurrently - # talk with multiple clusters. - # @param config_file [String] Path of the kube-config file. - # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. - # @return [Kubernetes::ApiClient] Api client for Kubernetes cluster - def new_client( - config_file=ENV['KUBE_CONFIG'], - context: nil - ) - config_file ||= KUBE_CONFIG_DEFAULT_LOCATION - client_configuration = Configuration.new - load(config_file, context: context, client_configuration: client_configuration) - ApiClient.new(client_configuration) - end - def list_context_names(config_file=KUBE_CONFIG_DEFAULT_LOCATION) config = self.new(config_file) return config.list_context_names diff --git a/kubernetes/lib/kubernetes/utils.rb b/kubernetes/lib/kubernetes/utils.rb new file mode 100644 index 00000000..ec8a85bb --- /dev/null +++ b/kubernetes/lib/kubernetes/utils.rb @@ -0,0 +1,64 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'kubernetes/config/incluster_config' +require 'kubernetes/config/kube_config' + +module Kubernetes + + # + # Use the service account kubernetes gives to pods to connect to kubernetes + # cluster. It's intended for clients that expect to be running inside a pod + # running on kubernetes. It will raise an exception if called from a process + # not running in a kubernetes environment. + def load_incluster_config(client_configuration: Configuration.default) + config = InClusterConfig.new + config.configure(client_configuration) + end + + # + # Loads authentication and cluster information from kube-config file + # and stores them in Kubernetes::Configuration. + # @param config_file [String] Path of the kube-config file. + # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. + # @param client_configuration [Kubernetes::Configuration] The Kubernetes::Configuration tp set configs to. + def load_kube_config( + config_file=ENV['KUBECONFIG'], + context: nil, + client_configuration: Configuration.default + ) + config_file ||= KubeConfig::KUBE_CONFIG_DEFAULT_LOCATION + config = KubeConfig.new(config_file) + config.configure(client_configuration, context) + end + + # + # Loads configuration the same as load_kube_config but returns an ApiClient + # to be used with any API object. This will allow the caller to concurrently + # talk with multiple clusters. + # @param config_file [String] Path of the kube-config file. + # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. + # @return [Kubernetes::ApiClient] Api client for Kubernetes cluster + def new_client_from_config( + config_file=ENV['KUBECONFIG'], + context: nil + ) + config_file ||= KubeConfig::KUBE_CONFIG_DEFAULT_LOCATION + client_configuration = Configuration.new + load_kube_config(config_file, context: context, client_configuration: client_configuration) + ApiClient.new(client_configuration) + end + + extend self +end diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index cd440f13..0f6b49ba 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -15,156 +15,11 @@ require 'base64' require 'spec_helper' require 'config/matchers' +require 'fixtures/config/kube_config_hash' require 'kubernetes/config/kube_config' -TEST_TOKEN_FILE = Kubernetes::Testing.file_fixture('tokens/token') - -TEST_DATA = "test-data" -TEST_DATA_BASE64 = Base64.strict_encode64(TEST_DATA) - -TEST_HOST = "http://test-host/" -TEST_USERNAME = "me" -TEST_PASSWORD = "pass" -# token for me:pass -TEST_BASIC_TOKEN = "Basic bWU6cGFzcw==" - -TEST_SSL_HOST = "https://test-host/" -TEST_CERTIFICATE_AUTH = "cert-auth" -TEST_CERTIFICATE_AUTH_BASE64 = Base64.strict_encode64(TEST_CERTIFICATE_AUTH) -TEST_CLIENT_KEY = "client-key" -TEST_CLIENT_KEY_BASE64 = Base64.strict_encode64(TEST_CLIENT_KEY) -TEST_CLIENT_CERT = "client-cert" -TEST_CLIENT_CERT_BASE64 = Base64.strict_encode64(TEST_CLIENT_CERT) - -TEST_CONTEXT_DEFAULT = { - 'name' => 'default', - 'context' => { - 'cluster' => 'default', - 'user' => 'default', - } -} -TEST_CONTEXT_NO_USER = { - 'name' => 'no_user', - 'context' => { - 'cluster' => 'default', - } -} -TEST_CONTEXT_SSL = { - 'name' => 'context_ssl', - 'context' => { - 'cluster' => 'ssl-file', - 'user' => 'user_cert_file', - } -} -TEST_CONTEXT_TOKEN = { - 'name' => 'context_token', - 'context' => { - 'cluster' => 'ssl-file', - 'user' => 'simple_token', - } -} - -TEST_CLUSTER_DEFAULT = { - 'name' => 'default', - 'cluster' => { - 'server' => TEST_HOST, - }, -} -TEST_CLUSTER_SSL_FILE = { - 'name' => 'ssl-file', - 'cluster' => { - 'server' => TEST_SSL_HOST, - 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, - }, -} -TEST_CLUSTER_SSL_DATA = { - 'name' => 'ssl-data', - 'cluster' => { - 'server' => TEST_SSL_HOST, - 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, - }, -} -TEST_CLUSTER_INSECURE = { - 'name' => 'ssl-data-insecure', - 'cluster' => { - 'server' => TEST_SSL_HOST, - 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, - 'insecure-skip-tls-verify' => true, - }, -} - -TEST_USER_DEFAULT = { - 'name' => 'default', - 'user' => { - 'token' => TEST_DATA_BASE64, - } -} -TEST_USER_SIMPLE_TOKEN = { - 'name' => 'simple_token', - 'user' => { - 'token' => TEST_DATA_BASE64, - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} -TEST_USER_SIMPLE_TOKEN_FILE = { - 'name' => 'simple_token_file', - 'user' => { - 'tokenFile' => TEST_TOKEN_FILE, - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} -TEST_USER_USER_PASS = { - 'name' => 'user_pass', - 'user' => { - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} -TEST_USER_CERT_DATA = { - 'name' => 'user_cert_data', - 'user' => { - 'token' => TEST_DATA_BASE64, - 'client-certificate-data' => TEST_CLIENT_CERT_BASE64, - 'client-key-data' => TEST_CLIENT_KEY_BASE64, - }, -} -TEST_USER_CERT_FILE = { - 'name' => 'user_cert_file', - 'user' => { - 'client-certificate' => Kubernetes::Testing.file_fixture('certs/client.crt').to_s, - 'client-key' => Kubernetes::Testing.file_fixture('certs/client.key').to_s, - }, -} - -TEST_KUBE_CONFIG = { - 'current-context' => 'no_user', - 'contexts' => [ - TEST_CONTEXT_DEFAULT, - TEST_CONTEXT_NO_USER, - TEST_CONTEXT_SSL, - TEST_CONTEXT_TOKEN, - ], - 'clusters' => [ - TEST_CLUSTER_DEFAULT, - TEST_CLUSTER_SSL_FILE, - TEST_CLUSTER_SSL_DATA, - TEST_CLUSTER_INSECURE, - ], - 'users' => [ - TEST_USER_DEFAULT, - TEST_USER_SIMPLE_TOKEN, - TEST_USER_SIMPLE_TOKEN_FILE, - TEST_USER_USER_PASS, - TEST_USER_CERT_DATA, - TEST_USER_CERT_FILE, - ], -} - - describe Kubernetes::KubeConfig do let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb new file mode 100644 index 00000000..1ea4fbe4 --- /dev/null +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -0,0 +1,161 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'base64' + + +TEST_TOKEN_FILE = Kubernetes::Testing.file_fixture('tokens/token') + +TEST_DATA = "test-data" +TEST_DATA_BASE64 = Base64.strict_encode64(TEST_DATA) + +TEST_HOST = "http://test-host/" +TEST_USERNAME = "me" +TEST_PASSWORD = "pass" +# token for me:pass +TEST_BASIC_TOKEN = "Basic bWU6cGFzcw==" + +TEST_SSL_HOST = "https://test-host/" +TEST_CERTIFICATE_AUTH = "cert-auth" +TEST_CERTIFICATE_AUTH_BASE64 = Base64.strict_encode64(TEST_CERTIFICATE_AUTH) +TEST_CLIENT_KEY = "client-key" +TEST_CLIENT_KEY_BASE64 = Base64.strict_encode64(TEST_CLIENT_KEY) +TEST_CLIENT_CERT = "client-cert" +TEST_CLIENT_CERT_BASE64 = Base64.strict_encode64(TEST_CLIENT_CERT) + +TEST_CONTEXT_DEFAULT = { + 'name' => 'default', + 'context' => { + 'cluster' => 'default', + 'user' => 'default', + } +} +TEST_CONTEXT_NO_USER = { + 'name' => 'no_user', + 'context' => { + 'cluster' => 'default', + } +} +TEST_CONTEXT_SSL = { + 'name' => 'context_ssl', + 'context' => { + 'cluster' => 'ssl-file', + 'user' => 'user_cert_file', + } +} +TEST_CONTEXT_TOKEN = { + 'name' => 'context_token', + 'context' => { + 'cluster' => 'ssl-file', + 'user' => 'simple_token', + } +} + +TEST_CLUSTER_DEFAULT = { + 'name' => 'default', + 'cluster' => { + 'server' => TEST_HOST, + }, +} +TEST_CLUSTER_SSL_FILE = { + 'name' => 'ssl-file', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, + }, +} +TEST_CLUSTER_SSL_DATA = { + 'name' => 'ssl-data', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, + }, +} +TEST_CLUSTER_INSECURE = { + 'name' => 'ssl-data-insecure', + 'cluster' => { + 'server' => TEST_SSL_HOST, + 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, + 'insecure-skip-tls-verify' => true, + }, +} + +TEST_USER_DEFAULT = { + 'name' => 'default', + 'user' => { + 'token' => TEST_DATA_BASE64, + } +} +TEST_USER_SIMPLE_TOKEN = { + 'name' => 'simple_token', + 'user' => { + 'token' => TEST_DATA_BASE64, + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_SIMPLE_TOKEN_FILE = { + 'name' => 'simple_token_file', + 'user' => { + 'tokenFile' => TEST_TOKEN_FILE, + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_USER_PASS = { + 'name' => 'user_pass', + 'user' => { + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD, # should be ignored + }, +} +TEST_USER_CERT_DATA = { + 'name' => 'user_cert_data', + 'user' => { + 'token' => TEST_DATA_BASE64, + 'client-certificate-data' => TEST_CLIENT_CERT_BASE64, + 'client-key-data' => TEST_CLIENT_KEY_BASE64, + }, +} +TEST_USER_CERT_FILE = { + 'name' => 'user_cert_file', + 'user' => { + 'client-certificate' => Kubernetes::Testing.file_fixture('certs/client.crt').to_s, + 'client-key' => Kubernetes::Testing.file_fixture('certs/client.key').to_s, + }, +} + +TEST_KUBE_CONFIG = { + 'current-context' => 'no_user', + 'contexts' => [ + TEST_CONTEXT_DEFAULT, + TEST_CONTEXT_NO_USER, + TEST_CONTEXT_SSL, + TEST_CONTEXT_TOKEN, + ], + 'clusters' => [ + TEST_CLUSTER_DEFAULT, + TEST_CLUSTER_SSL_FILE, + TEST_CLUSTER_SSL_DATA, + TEST_CLUSTER_INSECURE, + ], + 'users' => [ + TEST_USER_DEFAULT, + TEST_USER_SIMPLE_TOKEN, + TEST_USER_SIMPLE_TOKEN_FILE, + TEST_USER_USER_PASS, + TEST_USER_CERT_DATA, + TEST_USER_CERT_FILE, + ], +} diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb new file mode 100644 index 00000000..ae95e3a7 --- /dev/null +++ b/kubernetes/spec/utils_spec.rb @@ -0,0 +1,74 @@ +# Copyright 2017 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'spec_helper' +require 'config/matchers' +require 'fixtures/config/kube_config_hash' + +require 'kubernetes/utils' + + +describe Kubernetes do + + describe '.load_incluster_config' do + let(:incluster_config) do + Kubernetes::InClusterConfig.new.tap do |c| + c.instance_variable_set(:@env, { + Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', + }) + c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + end + end + + it 'should configure client configuration from in-cluster config' do + allow(Kubernetes::InClusterConfig).to receive(:new).and_return(incluster_config) + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'localhost:443' + c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.api_key['authorization'] = 'Bearer token1' + end + actual = Kubernetes::Configuration.new + + Kubernetes.load_incluster_config(client_configuration: actual) + expect(actual).to be_same_configuration_as(expected) + end + end + + describe '.load_kube_config' do + let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + + it 'should configure client configuration from kube_config' do + kubeconfig_path = 'kubeconfig/path' + allow(Kubernetes::KubeConfig).to receive(:new).with(kubeconfig_path).and_return(kube_config) + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'test-host:443' + c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.cert_file = file_fixture('certs/client.crt').to_s + c.key_file = file_fixture('certs/client.key').to_s + end + actual = Kubernetes::Configuration.new + + Kubernetes.load_kube_config( + kubeconfig_path, + context: 'context_ssl', + client_configuration: actual + ) + expect(actual).to be_same_configuration_as(expected) + end + end +end From 803fc6a26de9d70c5218927f528d56b879471b77 Mon Sep 17 00:00:00 2001 From: Timothy Josefik Date: Sun, 25 Feb 2018 18:38:14 -0600 Subject: [PATCH 05/48] Changed getting started install doc to use pre alpha. The Gemfile.lock still shows a prealpha version so changing the doc to follow along with that. --- kubernetes/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index eb841746..b9221269 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -23,9 +23,9 @@ gem build kubernetes.gemspec Then either install the gem locally: ```shell -gem install ./kubernetes-1.0.0-alpha1.gem +gem install ./kubernetes-1.0.0.pre.alpha1.gem ``` -(for development, run `gem install --dev ./kubernetes-1.0.0-alpha1.gem` to install the development dependencies) +(for development, run `gem install --dev ./kubernetes-1.0.0.pre.alpha1.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). From 160009c219537ffa8480223c6adfb298aff778ec Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Mon, 13 Aug 2018 14:46:16 -0700 Subject: [PATCH 06/48] Add OWNERS file Populated based upon sig-api-machinery chairs and users who have previously merged code in this repo --- OWNERS | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 OWNERS diff --git a/OWNERS b/OWNERS new file mode 100644 index 00000000..09c8c9ae --- /dev/null +++ b/OWNERS @@ -0,0 +1,9 @@ +# See the OWNERS docs at https://go.k8s.io/owners +approvers: +- deads2k +- lavalamp +- mbohlool +reviewers: +- deads2k +- lavalamp +- mbohlool From 07708ff5fef4e8ad826535b05f9fde58b52e230a Mon Sep 17 00:00:00 2001 From: Aaron Crickenberger Date: Tue, 21 Aug 2018 10:02:13 -0700 Subject: [PATCH 07/48] Address review comments --- OWNERS | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OWNERS b/OWNERS index 09c8c9ae..672d618a 100644 --- a/OWNERS +++ b/OWNERS @@ -1,9 +1,7 @@ # See the OWNERS docs at https://go.k8s.io/owners approvers: -- deads2k -- lavalamp +- brendandburns - mbohlool reviewers: -- deads2k -- lavalamp +- brendandburns - mbohlool From bb1c7c888880f78fef4d26797521f8761f3867af Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Mon, 13 Aug 2018 22:18:10 +0530 Subject: [PATCH 08/48] Add CONTRIBUTING.md --- CONTRIBUTING.md | 9 +++++++++ README.md | 10 +++------- 2 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..d7b8bb7f --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,9 @@ +# Contributing + +Thanks for taking the time to join our community and start contributing! + +The client is in early stages of development and needs more contributors. If you are interested, please read the [Code of Conduct](code-of-conduct.md) first and then pick an issue from [this list](https://github.com/kubernetes-client/ruby/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). Please comment on the issue that you are working on it. If you need help/guidance, please check [kubernetes-client](https://kubernetes.slack.com/messages/kubernetes-client) slack channel. + +## Community, Support, Discussion + +You can reach the maintainers of this project at [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery). If you have any problem with the package or any suggestions, please file an [issue](https://github.com/kubernetes-client/ruby/issues). diff --git a/README.md b/README.md index b6811452..b1ce141d 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,11 @@ Ruby client for the [kubernetes](http://kubernetes.io/) API. ## Contribute -The client is in early stages of development and needs more contributors. If you are interested, please read [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md) first and then pick an issue from [this list](https://github.com/kubernetes-client/ruby/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). Please comment on the issue that you are working on it. If you need help/guidance, please check [kubernetes-client](https://kubernetes.slack.com/messages/kubernetes-client) slack channel. +Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute. -## Community, Support, Discussion +## Code of conduct -You can reach the maintainers of this project at [SIG API Machinery](https://github.com/kubernetes/community/tree/master/sig-api-machinery). If you have any problem with the package or any suggestions, please file an [issue](https://github.com/kubernetes-client/ruby/issues). - -### Code of Conduct - -Participation in the Kubernetes community is governed by the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). +Participation in the Kubernetes community is governed by the [Kubernetes Code of Conduct](code-of-conduct.md). # Development From 777de45372e117401cef4d8863eaa1ae5dda2e23 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Thu, 23 Aug 2018 23:44:45 +0530 Subject: [PATCH 09/48] Add Code of Conduct --- code-of-conduct.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 code-of-conduct.md diff --git a/code-of-conduct.md b/code-of-conduct.md new file mode 100644 index 00000000..6902a771 --- /dev/null +++ b/code-of-conduct.md @@ -0,0 +1,3 @@ +# Kubernetes Community Code of Conduct + +Please refer to our [Kubernetes Community Code of Conduct](https://git.k8s.io/community/code-of-conduct.md). From 616c3c95b3c3a553c009ed650852b02b3b28c65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20Berroter=C3=A1n=20Silva?= Date: Mon, 22 Oct 2018 22:44:09 -0600 Subject: [PATCH 10/48] Add entry license topic on readme file --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b1ce141d..69338fab 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,7 @@ to update the client clone the `gen` repo and run this command at the root of th ```bash ${GEN_REPO_BASE}/openapi/ruby.sh kubernetes settings ``` + +## License + +This program follows the Apache License version 2.0 (http://www.apache.org/licenses/ ). See LICENSE file included with the distribution for details. From 23c99a78a56044b83869c8599bd3d3d67de6d8b2 Mon Sep 17 00:00:00 2001 From: Nikhita Raghunath Date: Sat, 5 Jan 2019 17:36:57 +0530 Subject: [PATCH 11/48] Add SECURITY_CONTACTS file --- SECURITY_CONTACTS | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SECURITY_CONTACTS diff --git a/SECURITY_CONTACTS b/SECURITY_CONTACTS new file mode 100644 index 00000000..1b60abcf --- /dev/null +++ b/SECURITY_CONTACTS @@ -0,0 +1,14 @@ +# Defined below are the security contacts for this repo. +# +# They are the contact point for the Product Security Team to reach out +# to for triaging and handling of incoming issues. +# +# The below names agree to abide by the +# [Embargo Policy](https://github.com/kubernetes/sig-release/blob/master/security-release-process-documentation/security-release-process.md#embargo-policy) +# and will be removed and replaced if they violate that agreement. +# +# DO NOT REPORT SECURITY VULNERABILITIES DIRECTLY TO THESE NAMES, FOLLOW THE +# INSTRUCTIONS AT https://kubernetes.io/security/ + +brendandburns +mbohlool From 0e79acefb3f8ff5af27423039b1dba4c0e4e7215 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 14 Feb 2019 16:48:20 -0800 Subject: [PATCH 12/48] Update to 1.13 --- kubernetes/README.md | 435 +- .../docs/AdmissionregistrationV1alpha1Api.md | 506 +- .../docs/AdmissionregistrationV1beta1Api.md | 976 + ...sionregistrationV1beta1ServiceReference.md | 10 + ...nregistrationV1beta1WebhookClientConfig.md | 10 + kubernetes/docs/ApiextensionsV1beta1Api.md | 180 +- .../ApiextensionsV1beta1ServiceReference.md | 10 + ...ApiextensionsV1beta1WebhookClientConfig.md | 10 + kubernetes/docs/ApiregistrationV1Api.md | 700 + kubernetes/docs/ApiregistrationV1beta1Api.md | 180 +- .../ApiregistrationV1beta1ServiceReference.md | 9 + kubernetes/docs/AppsV1Api.md | 4167 ++ kubernetes/docs/AppsV1beta1Api.md | 237 +- .../AppsV1beta1RollingUpdateDeployment.md | 4 +- kubernetes/docs/AppsV1beta2Api.md | 385 +- kubernetes/docs/AuditregistrationApi.md | 56 + .../docs/AuditregistrationV1alpha1Api.md | 516 + kubernetes/docs/AuthenticationV1Api.md | 4 + kubernetes/docs/AuthenticationV1beta1Api.md | 4 + kubernetes/docs/AuthorizationV1Api.md | 16 + kubernetes/docs/AuthorizationV1beta1Api.md | 16 + kubernetes/docs/AutoscalingV1Api.md | 73 +- kubernetes/docs/AutoscalingV2beta1Api.md | 73 +- kubernetes/docs/AutoscalingV2beta2Api.md | 801 + kubernetes/docs/BatchV1Api.md | 73 +- kubernetes/docs/BatchV1beta1Api.md | 73 +- kubernetes/docs/BatchV2alpha1Api.md | 73 +- kubernetes/docs/CertificatesV1beta1Api.md | 182 +- kubernetes/docs/CoordinationApi.md | 56 + kubernetes/docs/CoordinationV1beta1Api.md | 608 + kubernetes/docs/CoreV1Api.md | 3829 +- kubernetes/docs/CustomObjectsApi.md | 977 +- kubernetes/docs/EventsApi.md | 56 + kubernetes/docs/EventsV1beta1Api.md | 608 + .../ExtensionsV1beta1AllowedFlexVolume.md | 8 + .../docs/ExtensionsV1beta1AllowedHostPath.md | 9 + kubernetes/docs/ExtensionsV1beta1Api.md | 476 +- .../docs/ExtensionsV1beta1DeploymentSpec.md | 4 +- ...ExtensionsV1beta1FSGroupStrategyOptions.md | 9 + .../docs/ExtensionsV1beta1HostPortRange.md | 9 + kubernetes/docs/ExtensionsV1beta1IDRange.md | 9 + .../ExtensionsV1beta1PodSecurityPolicy.md | 11 + .../ExtensionsV1beta1PodSecurityPolicyList.md | 11 + .../ExtensionsV1beta1PodSecurityPolicySpec.md | 29 + ...ensionsV1beta1RunAsGroupStrategyOptions.md | 9 + ...tensionsV1beta1RunAsUserStrategyOptions.md | 9 + ...ExtensionsV1beta1SELinuxStrategyOptions.md | 9 + ...1beta1SupplementalGroupsStrategyOptions.md | 9 + kubernetes/docs/NetworkingV1Api.md | 63 +- .../docs/PolicyV1beta1AllowedFlexVolume.md | 8 + .../docs/PolicyV1beta1AllowedHostPath.md | 9 + kubernetes/docs/PolicyV1beta1Api.md | 531 +- .../PolicyV1beta1FSGroupStrategyOptions.md | 9 + kubernetes/docs/PolicyV1beta1HostPortRange.md | 9 + ...stPortRange.md => PolicyV1beta1IDRange.md} | 2 +- ...y.md => PolicyV1beta1PodSecurityPolicy.md} | 4 +- .../PolicyV1beta1PodSecurityPolicyList.md | 11 + .../PolicyV1beta1PodSecurityPolicySpec.md | 29 + .../PolicyV1beta1RunAsGroupStrategyOptions.md | 9 + .../PolicyV1beta1RunAsUserStrategyOptions.md | 9 + ...=> PolicyV1beta1SELinuxStrategyOptions.md} | 6 +- ...1beta1SupplementalGroupsStrategyOptions.md | 9 + kubernetes/docs/RbacAuthorizationV1Api.md | 236 +- .../docs/RbacAuthorizationV1alpha1Api.md | 236 +- .../docs/RbacAuthorizationV1beta1Api.md | 236 +- kubernetes/docs/SchedulingV1alpha1Api.md | 55 +- kubernetes/docs/SchedulingV1beta1Api.md | 516 + kubernetes/docs/SettingsV1alpha1Api.md | 63 +- kubernetes/docs/StorageV1Api.md | 765 +- kubernetes/docs/StorageV1alpha1Api.md | 516 + kubernetes/docs/StorageV1beta1Api.md | 513 +- kubernetes/docs/V1APIGroup.md | 2 +- kubernetes/docs/V1APIService.md | 12 + kubernetes/docs/V1APIServiceCondition.md | 12 + kubernetes/docs/V1APIServiceList.md | 11 + kubernetes/docs/V1APIServiceSpec.md | 14 + kubernetes/docs/V1APIServiceStatus.md | 8 + kubernetes/docs/V1AggregationRule.md | 8 + kubernetes/docs/V1AzureDiskVolumeSource.md | 2 +- .../docs/V1CSIPersistentVolumeSource.md | 15 + .../docs/V1CinderPersistentVolumeSource.md | 11 + kubernetes/docs/V1CinderVolumeSource.md | 1 + kubernetes/docs/V1ClusterRole.md | 1 + kubernetes/docs/V1ClusterRoleBinding.md | 2 +- kubernetes/docs/V1ConfigMap.md | 3 +- .../docs/V1ConfigMapNodeConfigSource.md | 12 + kubernetes/docs/V1Container.md | 5 +- kubernetes/docs/V1ContainerImage.md | 2 +- kubernetes/docs/V1ContainerPort.md | 2 +- kubernetes/docs/V1ControllerRevision.md | 12 + kubernetes/docs/V1ControllerRevisionList.md | 11 + kubernetes/docs/V1DaemonSet.md | 12 + kubernetes/docs/V1DaemonSetCondition.md | 12 + ...curityPolicyList.md => V1DaemonSetList.md} | 4 +- kubernetes/docs/V1DaemonSetSpec.md | 12 + kubernetes/docs/V1DaemonSetStatus.md | 17 + kubernetes/docs/V1DaemonSetUpdateStrategy.md | 9 + kubernetes/docs/V1DeleteOptions.md | 3 +- kubernetes/docs/V1Deployment.md | 12 + kubernetes/docs/V1DeploymentCondition.md | 13 + kubernetes/docs/V1DeploymentList.md | 11 + kubernetes/docs/V1DeploymentSpec.md | 15 + kubernetes/docs/V1DeploymentStatus.md | 15 + kubernetes/docs/V1DeploymentStrategy.md | 9 + kubernetes/docs/V1EndpointPort.md | 2 +- kubernetes/docs/V1Endpoints.md | 2 +- kubernetes/docs/V1EnvFromSource.md | 2 +- kubernetes/docs/V1Event.md | 6 + kubernetes/docs/V1EventSeries.md | 10 + .../docs/V1FlexPersistentVolumeSource.md | 12 + .../docs/V1GlusterfsPersistentVolumeSource.md | 11 + .../docs/V1ISCSIPersistentVolumeSource.md | 18 + kubernetes/docs/V1ISCSIVolumeSource.md | 12 +- kubernetes/docs/V1JobSpec.md | 3 +- kubernetes/docs/V1LimitRangeList.md | 2 +- kubernetes/docs/V1ListMeta.md | 2 +- kubernetes/docs/V1LocalVolumeSource.md | 3 +- kubernetes/docs/V1NamespaceSpec.md | 2 +- kubernetes/docs/V1NamespaceStatus.md | 2 +- kubernetes/docs/V1NetworkPolicyPeer.md | 6 +- kubernetes/docs/V1NetworkPolicyPort.md | 2 +- kubernetes/docs/V1NodeConfigSource.md | 4 +- kubernetes/docs/V1NodeConfigStatus.md | 11 + kubernetes/docs/V1NodeSelectorTerm.md | 3 +- kubernetes/docs/V1NodeSpec.md | 2 +- kubernetes/docs/V1NodeStatus.md | 1 + kubernetes/docs/V1ObjectMeta.md | 2 +- .../docs/V1PersistentVolumeClaimSpec.md | 2 + kubernetes/docs/V1PersistentVolumeSpec.md | 17 +- kubernetes/docs/V1PodAffinityTerm.md | 2 +- kubernetes/docs/V1PodCondition.md | 2 +- kubernetes/docs/V1PodDNSConfig.md | 10 + kubernetes/docs/V1PodDNSConfigOption.md | 9 + kubernetes/docs/V1PodReadinessGate.md | 8 + kubernetes/docs/V1PodSecurityContext.md | 2 + kubernetes/docs/V1PodSpec.md | 9 +- kubernetes/docs/V1PodStatus.md | 5 +- .../docs/V1RBDPersistentVolumeSource.md | 15 + kubernetes/docs/V1ReplicaSet.md | 12 + kubernetes/docs/V1ReplicaSetCondition.md | 12 + ...nfigurationList.md => V1ReplicaSetList.md} | 4 +- kubernetes/docs/V1ReplicaSetSpec.md | 11 + kubernetes/docs/V1ReplicaSetStatus.md | 13 + kubernetes/docs/V1ResourceQuotaList.md | 2 +- kubernetes/docs/V1ResourceQuotaSpec.md | 3 +- kubernetes/docs/V1ResourceQuotaStatus.md | 2 +- kubernetes/docs/V1ResourceRule.md | 2 +- kubernetes/docs/V1RoleBinding.md | 2 +- kubernetes/docs/V1RollingUpdateDaemonSet.md | 8 + kubernetes/docs/V1RollingUpdateDeployment.md | 9 + .../V1RollingUpdateStatefulSetStrategy.md | 8 + .../docs/V1ScaleIOPersistentVolumeSource.md | 17 + kubernetes/docs/V1ScaleIOVolumeSource.md | 8 +- kubernetes/docs/V1ScopeSelector.md | 8 + .../V1ScopedResourceSelectorRequirement.md | 10 + kubernetes/docs/V1SecurityContext.md | 2 + .../docs/V1ServiceAccountTokenProjection.md | 10 + kubernetes/docs/V1ServicePort.md | 2 +- ...viceReference.md => V1ServiceReference.md} | 2 +- kubernetes/docs/V1ServiceSpec.md | 4 +- kubernetes/docs/V1StatefulSet.md | 12 + kubernetes/docs/V1StatefulSetCondition.md | 12 + kubernetes/docs/V1StatefulSetList.md | 11 + kubernetes/docs/V1StatefulSetSpec.md | 15 + kubernetes/docs/V1StatefulSetStatus.md | 16 + .../docs/V1StatefulSetUpdateStrategy.md | 9 + kubernetes/docs/V1StorageClass.md | 2 + .../docs/V1SubjectAccessReviewStatus.md | 3 +- kubernetes/docs/V1Sysctl.md | 9 + kubernetes/docs/V1TokenReviewSpec.md | 1 + kubernetes/docs/V1TokenReviewStatus.md | 1 + .../V1TopologySelectorLabelRequirement.md | 9 + kubernetes/docs/V1TopologySelectorTerm.md | 8 + .../docs/V1TypedLocalObjectReference.md | 10 + kubernetes/docs/V1Volume.md | 4 +- kubernetes/docs/V1VolumeAttachment.md | 12 + kubernetes/docs/V1VolumeAttachmentList.md | 11 + kubernetes/docs/V1VolumeAttachmentSource.md | 8 + kubernetes/docs/V1VolumeAttachmentSpec.md | 10 + kubernetes/docs/V1VolumeAttachmentStatus.md | 11 + kubernetes/docs/V1VolumeDevice.md | 9 + kubernetes/docs/V1VolumeError.md | 9 + kubernetes/docs/V1VolumeMount.md | 2 +- kubernetes/docs/V1VolumeNodeAffinity.md | 8 + kubernetes/docs/V1VolumeProjection.md | 1 + .../docs/V1alpha1AdmissionHookClientConfig.md | 9 - kubernetes/docs/V1alpha1AggregationRule.md | 8 + kubernetes/docs/V1alpha1AuditSink.md | 11 + kubernetes/docs/V1alpha1AuditSinkList.md | 11 + kubernetes/docs/V1alpha1AuditSinkSpec.md | 9 + kubernetes/docs/V1alpha1ClusterRole.md | 1 + kubernetes/docs/V1alpha1ClusterRoleBinding.md | 2 +- .../docs/V1alpha1ExternalAdmissionHook.md | 11 - kubernetes/docs/V1alpha1Policy.md | 9 + kubernetes/docs/V1alpha1PriorityClass.md | 4 +- kubernetes/docs/V1alpha1PriorityClassList.md | 2 +- kubernetes/docs/V1alpha1RoleBinding.md | 2 +- kubernetes/docs/V1alpha1ServiceReference.md | 5 +- kubernetes/docs/V1alpha1VolumeAttachment.md | 12 + .../docs/V1alpha1VolumeAttachmentList.md | 11 + .../docs/V1alpha1VolumeAttachmentSource.md | 8 + .../docs/V1alpha1VolumeAttachmentSpec.md | 10 + .../docs/V1alpha1VolumeAttachmentStatus.md | 11 + kubernetes/docs/V1alpha1VolumeError.md | 9 + kubernetes/docs/V1alpha1Webhook.md | 9 + .../docs/V1alpha1WebhookClientConfig.md | 10 + .../docs/V1alpha1WebhookThrottleConfig.md | 9 + kubernetes/docs/V1beta1APIServiceSpec.md | 8 +- kubernetes/docs/V1beta1AggregationRule.md | 8 + kubernetes/docs/V1beta1AllowedHostPath.md | 8 - kubernetes/docs/V1beta1ClusterRole.md | 1 + kubernetes/docs/V1beta1ClusterRoleBinding.md | 2 +- kubernetes/docs/V1beta1CronJobSpec.md | 2 +- .../V1beta1CustomResourceColumnDefinition.md | 13 + .../docs/V1beta1CustomResourceConversion.md | 9 + .../docs/V1beta1CustomResourceDefinition.md | 2 +- .../V1beta1CustomResourceDefinitionNames.md | 1 + .../V1beta1CustomResourceDefinitionSpec.md | 8 +- .../V1beta1CustomResourceDefinitionStatus.md | 1 + .../V1beta1CustomResourceDefinitionVersion.md | 13 + .../V1beta1CustomResourceSubresourceScale.md | 10 + .../docs/V1beta1CustomResourceSubresources.md | 9 + kubernetes/docs/V1beta1DaemonSetCondition.md | 12 + kubernetes/docs/V1beta1DaemonSetStatus.md | 1 + kubernetes/docs/V1beta1Event.md | 24 + kubernetes/docs/V1beta1EventList.md | 11 + kubernetes/docs/V1beta1EventSeries.md | 10 + .../docs/V1beta1FSGroupStrategyOptions.md | 9 - kubernetes/docs/V1beta1IDRange.md | 9 - kubernetes/docs/V1beta1JSON.md | 8 - kubernetes/docs/V1beta1JSONSchemaProps.md | 14 +- .../docs/V1beta1JSONSchemaPropsOrArray.md | 9 - .../docs/V1beta1JSONSchemaPropsOrBool.md | 9 - .../V1beta1JSONSchemaPropsOrStringArray.md | 9 - kubernetes/docs/V1beta1Lease.md | 11 + kubernetes/docs/V1beta1LeaseList.md | 11 + kubernetes/docs/V1beta1LeaseSpec.md | 12 + ...=> V1beta1MutatingWebhookConfiguration.md} | 4 +- ...V1beta1MutatingWebhookConfigurationList.md | 11 + kubernetes/docs/V1beta1NetworkPolicyPeer.md | 6 +- kubernetes/docs/V1beta1NetworkPolicyPort.md | 2 +- .../docs/V1beta1PodDisruptionBudgetStatus.md | 2 +- .../docs/V1beta1PodSecurityPolicySpec.md | 24 - kubernetes/docs/V1beta1PolicyRule.md | 2 +- kubernetes/docs/V1beta1PriorityClass.md | 13 + kubernetes/docs/V1beta1PriorityClassList.md | 11 + kubernetes/docs/V1beta1ResourceRule.md | 2 +- kubernetes/docs/V1beta1RoleBinding.md | 2 +- ...ations.md => V1beta1RuleWithOperations.md} | 2 +- .../docs/V1beta1RunAsUserStrategyOptions.md | 9 - .../docs/V1beta1StatefulSetCondition.md | 12 + kubernetes/docs/V1beta1StatefulSetStatus.md | 1 + kubernetes/docs/V1beta1StorageClass.md | 2 + .../docs/V1beta1SubjectAccessReviewStatus.md | 3 +- ...1beta1SupplementalGroupsStrategyOptions.md | 9 - kubernetes/docs/V1beta1TokenReviewSpec.md | 1 + kubernetes/docs/V1beta1TokenReviewStatus.md | 1 + .../V1beta1ValidatingWebhookConfiguration.md | 11 + ...beta1ValidatingWebhookConfigurationList.md | 11 + kubernetes/docs/V1beta1VolumeAttachment.md | 12 + .../docs/V1beta1VolumeAttachmentList.md | 11 + .../docs/V1beta1VolumeAttachmentSource.md | 8 + .../docs/V1beta1VolumeAttachmentSpec.md | 10 + .../docs/V1beta1VolumeAttachmentStatus.md | 11 + kubernetes/docs/V1beta1VolumeError.md | 9 + kubernetes/docs/V1beta1Webhook.md | 13 + kubernetes/docs/V1beta2DaemonSetCondition.md | 12 + kubernetes/docs/V1beta2DaemonSetSpec.md | 2 +- kubernetes/docs/V1beta2DaemonSetStatus.md | 1 + kubernetes/docs/V1beta2DeploymentSpec.md | 2 +- kubernetes/docs/V1beta2ReplicaSetSpec.md | 2 +- .../docs/V1beta2RollingUpdateDeployment.md | 4 +- .../docs/V1beta2StatefulSetCondition.md | 12 + kubernetes/docs/V1beta2StatefulSetSpec.md | 2 +- kubernetes/docs/V1beta2StatefulSetStatus.md | 1 + kubernetes/docs/V2alpha1CronJobSpec.md | 2 +- .../docs/V2beta1ExternalMetricSource.md | 11 + .../docs/V2beta1ExternalMetricStatus.md | 11 + .../V2beta1HorizontalPodAutoscalerStatus.md | 2 +- kubernetes/docs/V2beta1MetricSpec.md | 3 +- kubernetes/docs/V2beta1MetricStatus.md | 3 +- kubernetes/docs/V2beta1ObjectMetricSource.md | 2 + kubernetes/docs/V2beta1ObjectMetricStatus.md | 2 + kubernetes/docs/V2beta1PodsMetricSource.md | 1 + kubernetes/docs/V2beta1PodsMetricStatus.md | 1 + .../V2beta2CrossVersionObjectReference.md | 10 + .../docs/V2beta2ExternalMetricSource.md | 9 + .../docs/V2beta2ExternalMetricStatus.md | 9 + .../docs/V2beta2HorizontalPodAutoscaler.md | 12 + ...V2beta2HorizontalPodAutoscalerCondition.md | 12 + .../V2beta2HorizontalPodAutoscalerList.md | 11 + .../V2beta2HorizontalPodAutoscalerSpec.md | 11 + .../V2beta2HorizontalPodAutoscalerStatus.md | 13 + kubernetes/docs/V2beta2MetricIdentifier.md | 9 + kubernetes/docs/V2beta2MetricSpec.md | 12 + kubernetes/docs/V2beta2MetricStatus.md | 12 + kubernetes/docs/V2beta2MetricTarget.md | 11 + kubernetes/docs/V2beta2MetricValueStatus.md | 10 + kubernetes/docs/V2beta2ObjectMetricSource.md | 10 + kubernetes/docs/V2beta2ObjectMetricStatus.md | 10 + kubernetes/docs/V2beta2PodsMetricSource.md | 9 + kubernetes/docs/V2beta2PodsMetricStatus.md | 9 + .../docs/V2beta2ResourceMetricSource.md | 9 + .../docs/V2beta2ResourceMetricStatus.md | 9 + kubernetes/kubernetes.gemspec | 6 +- kubernetes/lib/kubernetes.rb | 196 +- .../api/admissionregistration_api.rb | 2 +- .../api/admissionregistration_v1alpha1_api.rb | 540 +- .../api/admissionregistration_v1beta1_api.rb | 1044 + .../lib/kubernetes/api/apiextensions_api.rb | 2 +- .../api/apiextensions_v1beta1_api.rb | 193 +- .../lib/kubernetes/api/apiregistration_api.rb | 2 +- .../kubernetes/api/apiregistration_v1_api.rb | 750 + .../api/apiregistration_v1beta1_api.rb | 193 +- kubernetes/lib/kubernetes/api/apis_api.rb | 2 +- kubernetes/lib/kubernetes/api/apps_api.rb | 2 +- kubernetes/lib/kubernetes/api/apps_v1_api.rb | 4562 ++ .../lib/kubernetes/api/apps_v1beta1_api.rb | 251 +- .../lib/kubernetes/api/apps_v1beta2_api.rb | 399 +- .../kubernetes/api/auditregistration_api.rb | 72 + .../api/auditregistration_v1alpha1_api.rb | 558 + .../lib/kubernetes/api/authentication_api.rb | 2 +- .../kubernetes/api/authentication_v1_api.rb | 8 +- .../api/authentication_v1beta1_api.rb | 8 +- .../lib/kubernetes/api/authorization_api.rb | 2 +- .../kubernetes/api/authorization_v1_api.rb | 26 +- .../api/authorization_v1beta1_api.rb | 26 +- .../lib/kubernetes/api/autoscaling_api.rb | 2 +- .../lib/kubernetes/api/autoscaling_v1_api.rb | 79 +- .../kubernetes/api/autoscaling_v2beta1_api.rb | 79 +- .../kubernetes/api/autoscaling_v2beta2_api.rb | 886 + kubernetes/lib/kubernetes/api/batch_api.rb | 2 +- kubernetes/lib/kubernetes/api/batch_v1_api.rb | 79 +- .../lib/kubernetes/api/batch_v1beta1_api.rb | 79 +- .../lib/kubernetes/api/batch_v2alpha1_api.rb | 79 +- .../lib/kubernetes/api/certificates_api.rb | 2 +- .../api/certificates_v1beta1_api.rb | 196 +- .../lib/kubernetes/api/coordination_api.rb | 72 + .../api/coordination_v1beta1_api.rb | 676 + kubernetes/lib/kubernetes/api/core_api.rb | 2 +- kubernetes/lib/kubernetes/api/core_v1_api.rb | 3887 +- .../lib/kubernetes/api/custom_objects_api.rb | 1372 +- kubernetes/lib/kubernetes/api/events_api.rb | 72 + .../lib/kubernetes/api/events_v1beta1_api.rb | 676 + .../lib/kubernetes/api/extensions_api.rb | 2 +- .../kubernetes/api/extensions_v1beta1_api.rb | 504 +- kubernetes/lib/kubernetes/api/logs_api.rb | 2 +- .../lib/kubernetes/api/networking_api.rb | 2 +- .../lib/kubernetes/api/networking_v1_api.rb | 73 +- kubernetes/lib/kubernetes/api/policy_api.rb | 2 +- .../lib/kubernetes/api/policy_v1beta1_api.rb | 565 +- .../kubernetes/api/rbac_authorization_api.rb | 2 +- .../api/rbac_authorization_v1_api.rb | 270 +- .../api/rbac_authorization_v1alpha1_api.rb | 270 +- .../api/rbac_authorization_v1beta1_api.rb | 270 +- .../lib/kubernetes/api/scheduling_api.rb | 2 +- .../kubernetes/api/scheduling_v1alpha1_api.rb | 65 +- .../kubernetes/api/scheduling_v1beta1_api.rb | 558 + kubernetes/lib/kubernetes/api/settings_api.rb | 2 +- .../kubernetes/api/settings_v1alpha1_api.rb | 73 +- kubernetes/lib/kubernetes/api/storage_api.rb | 2 +- .../lib/kubernetes/api/storage_v1_api.rb | 757 +- .../kubernetes/api/storage_v1alpha1_api.rb | 558 + .../lib/kubernetes/api/storage_v1beta1_api.rb | 551 +- kubernetes/lib/kubernetes/api/version_api.rb | 2 +- kubernetes/lib/kubernetes/api_client.rb | 2 +- kubernetes/lib/kubernetes/api_error.rb | 2 +- kubernetes/lib/kubernetes/configuration.rb | 2 +- ...nregistration_v1beta1_service_reference.rb | 219 + ...istration_v1beta1_webhook_client_config.rb | 225 + ...apiextensions_v1beta1_service_reference.rb | 219 + ...xtensions_v1beta1_webhook_client_config.rb | 225 + ...registration_v1beta1_service_reference.rb} | 32 +- .../models/apps_v1beta1_deployment.rb | 2 +- .../apps_v1beta1_deployment_condition.rb | 2 +- .../models/apps_v1beta1_deployment_list.rb | 2 +- .../apps_v1beta1_deployment_rollback.rb | 2 +- .../models/apps_v1beta1_deployment_spec.rb | 2 +- .../models/apps_v1beta1_deployment_status.rb | 2 +- .../apps_v1beta1_deployment_strategy.rb | 2 +- .../models/apps_v1beta1_rollback_config.rb | 2 +- .../apps_v1beta1_rolling_update_deployment.rb | 6 +- .../kubernetes/models/apps_v1beta1_scale.rb | 2 +- .../models/apps_v1beta1_scale_spec.rb | 2 +- .../models/apps_v1beta1_scale_status.rb | 2 +- .../extensions_v1beta1_allowed_flex_volume.rb | 194 + .../extensions_v1beta1_allowed_host_path.rb | 199 + .../models/extensions_v1beta1_deployment.rb | 2 +- ...extensions_v1beta1_deployment_condition.rb | 2 +- .../extensions_v1beta1_deployment_list.rb | 2 +- .../extensions_v1beta1_deployment_rollback.rb | 2 +- .../extensions_v1beta1_deployment_spec.rb | 6 +- .../extensions_v1beta1_deployment_status.rb | 2 +- .../extensions_v1beta1_deployment_strategy.rb | 2 +- ...sions_v1beta1_fs_group_strategy_options.rb | 201 + .../extensions_v1beta1_host_port_range.rb | 209 + ...ange.rb => extensions_v1beta1_id_range.rb} | 6 +- .../extensions_v1beta1_pod_security_policy.rb | 219 + ...nsions_v1beta1_pod_security_policy_list.rb | 226 + ...nsions_v1beta1_pod_security_policy_spec.rb | 439 + .../extensions_v1beta1_rollback_config.rb | 2 +- ...sions_v1beta1_rolling_update_deployment.rb | 2 +- ...s_v1beta1_run_as_group_strategy_options.rb | 206 + ...ns_v1beta1_run_as_user_strategy_options.rb | 206 + .../models/extensions_v1beta1_scale.rb | 2 +- .../models/extensions_v1beta1_scale_spec.rb | 2 +- .../models/extensions_v1beta1_scale_status.rb | 2 +- ...sions_v1beta1_se_linux_strategy_options.rb | 204 + ...a1_supplemental_groups_strategy_options.rb | 201 + .../policy_v1beta1_allowed_flex_volume.rb | 194 + .../policy_v1beta1_allowed_host_path.rb | 199 + ...licy_v1beta1_fs_group_strategy_options.rb} | 10 +- .../models/policy_v1beta1_host_port_range.rb | 209 + ...id_range.rb => policy_v1beta1_id_range.rb} | 10 +- ... => policy_v1beta1_pod_security_policy.rb} | 8 +- ...policy_v1beta1_pod_security_policy_list.rb | 226 + ...olicy_v1beta1_pod_security_policy_spec.rb} | 98 +- ...y_v1beta1_run_as_group_strategy_options.rb | 206 + ...y_v1beta1_run_as_user_strategy_options.rb} | 12 +- ...licy_v1beta1_se_linux_strategy_options.rb} | 10 +- ...1_supplemental_groups_strategy_options.rb} | 10 +- .../models/runtime_raw_extension.rb | 2 +- .../lib/kubernetes/models/v1_affinity.rb | 2 +- .../kubernetes/models/v1_aggregation_rule.rb | 191 + .../lib/kubernetes/models/v1_api_group.rb | 7 +- .../kubernetes/models/v1_api_group_list.rb | 2 +- .../lib/kubernetes/models/v1_api_resource.rb | 2 +- .../kubernetes/models/v1_api_resource_list.rb | 2 +- .../lib/kubernetes/models/v1_api_service.rb | 228 + .../models/v1_api_service_condition.rb | 239 + .../kubernetes/models/v1_api_service_list.rb | 224 + .../kubernetes/models/v1_api_service_spec.rb | 280 + .../models/v1_api_service_status.rb | 191 + .../lib/kubernetes/models/v1_api_versions.rb | 2 +- .../kubernetes/models/v1_attached_volume.rb | 2 +- ...1_aws_elastic_block_store_volume_source.rb | 2 +- .../models/v1_azure_disk_volume_source.rb | 4 +- .../v1_azure_file_persistent_volume_source.rb | 2 +- .../models/v1_azure_file_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_binding.rb | 2 +- .../lib/kubernetes/models/v1_capabilities.rb | 2 +- .../v1_ceph_fs_persistent_volume_source.rb | 2 +- .../models/v1_ceph_fs_volume_source.rb | 2 +- .../v1_cinder_persistent_volume_source.rb | 224 + .../models/v1_cinder_volume_source.rb | 14 +- .../kubernetes/models/v1_client_ip_config.rb | 2 +- .../lib/kubernetes/models/v1_cluster_role.rb | 14 +- .../models/v1_cluster_role_binding.rb | 7 +- .../models/v1_cluster_role_binding_list.rb | 2 +- .../kubernetes/models/v1_cluster_role_list.rb | 2 +- .../models/v1_component_condition.rb | 2 +- .../kubernetes/models/v1_component_status.rb | 2 +- .../models/v1_component_status_list.rb | 2 +- .../lib/kubernetes/models/v1_config_map.rb | 18 +- .../models/v1_config_map_env_source.rb | 2 +- .../models/v1_config_map_key_selector.rb | 2 +- .../kubernetes/models/v1_config_map_list.rb | 2 +- ...rb => v1_config_map_node_config_source.rb} | 81 +- .../models/v1_config_map_projection.rb | 2 +- .../models/v1_config_map_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_container.rb | 20 +- .../kubernetes/models/v1_container_image.rb | 4 +- .../kubernetes/models/v1_container_port.rb | 4 +- .../kubernetes/models/v1_container_state.rb | 2 +- .../models/v1_container_state_running.rb | 2 +- .../models/v1_container_state_terminated.rb | 2 +- .../models/v1_container_state_waiting.rb | 2 +- .../kubernetes/models/v1_container_status.rb | 2 +- .../models/v1_controller_revision.rb | 234 + .../models/v1_controller_revision_list.rb | 226 + .../v1_cross_version_object_reference.rb | 2 +- .../models/v1_csi_persistent_volume_source.rb | 271 + .../kubernetes/models/v1_daemon_endpoint.rb | 2 +- .../lib/kubernetes/models/v1_daemon_set.rb | 229 + .../models/v1_daemon_set_condition.rb | 239 + .../kubernetes/models/v1_daemon_set_list.rb | 226 + .../kubernetes/models/v1_daemon_set_spec.rb | 239 + .../kubernetes/models/v1_daemon_set_status.rb | 301 + .../models/v1_daemon_set_update_strategy.rb | 199 + .../kubernetes/models/v1_delete_options.rb | 18 +- .../lib/kubernetes/models/v1_deployment.rb | 229 + .../models/v1_deployment_condition.rb | 249 + .../kubernetes/models/v1_deployment_list.rb | 226 + .../kubernetes/models/v1_deployment_spec.rb | 269 + .../kubernetes/models/v1_deployment_status.rb | 261 + .../models/v1_deployment_strategy.rb | 199 + .../models/v1_downward_api_projection.rb | 2 +- .../models/v1_downward_api_volume_file.rb | 2 +- .../models/v1_downward_api_volume_source.rb | 2 +- .../models/v1_empty_dir_volume_source.rb | 2 +- .../kubernetes/models/v1_endpoint_address.rb | 2 +- .../lib/kubernetes/models/v1_endpoint_port.rb | 4 +- .../kubernetes/models/v1_endpoint_subset.rb | 2 +- .../lib/kubernetes/models/v1_endpoints.rb | 7 +- .../kubernetes/models/v1_endpoints_list.rb | 2 +- .../kubernetes/models/v1_env_from_source.rb | 4 +- .../lib/kubernetes/models/v1_env_var.rb | 2 +- .../kubernetes/models/v1_env_var_source.rb | 2 +- kubernetes/lib/kubernetes/models/v1_event.rb | 64 +- .../lib/kubernetes/models/v1_event_list.rb | 2 +- .../lib/kubernetes/models/v1_event_series.rb | 209 + .../lib/kubernetes/models/v1_event_source.rb | 2 +- .../lib/kubernetes/models/v1_exec_action.rb | 2 +- .../kubernetes/models/v1_fc_volume_source.rb | 2 +- .../v1_flex_persistent_volume_source.rb | 236 + .../models/v1_flex_volume_source.rb | 4 +- .../models/v1_flocker_volume_source.rb | 2 +- .../v1_gce_persistent_disk_volume_source.rb | 2 +- .../models/v1_git_repo_volume_source.rb | 4 +- .../v1_glusterfs_persistent_volume_source.rb | 229 + .../models/v1_glusterfs_volume_source.rb | 2 +- .../models/v1_group_version_for_discovery.rb | 2 +- .../lib/kubernetes/models/v1_handler.rb | 2 +- .../models/v1_horizontal_pod_autoscaler.rb | 2 +- .../v1_horizontal_pod_autoscaler_list.rb | 2 +- .../v1_horizontal_pod_autoscaler_spec.rb | 2 +- .../v1_horizontal_pod_autoscaler_status.rb | 2 +- .../lib/kubernetes/models/v1_host_alias.rb | 2 +- .../models/v1_host_path_volume_source.rb | 2 +- .../kubernetes/models/v1_http_get_action.rb | 2 +- .../lib/kubernetes/models/v1_http_header.rb | 2 +- .../lib/kubernetes/models/v1_initializer.rb | 2 +- .../lib/kubernetes/models/v1_initializers.rb | 2 +- .../lib/kubernetes/models/v1_ip_block.rb | 2 +- .../v1_iscsi_persistent_volume_source.rb | 306 + .../models/v1_iscsi_volume_source.rb | 14 +- kubernetes/lib/kubernetes/models/v1_job.rb | 2 +- .../lib/kubernetes/models/v1_job_condition.rb | 2 +- .../lib/kubernetes/models/v1_job_list.rb | 2 +- .../lib/kubernetes/models/v1_job_spec.rb | 22 +- .../lib/kubernetes/models/v1_job_status.rb | 2 +- .../lib/kubernetes/models/v1_key_to_path.rb | 2 +- .../kubernetes/models/v1_label_selector.rb | 2 +- .../models/v1_label_selector_requirement.rb | 2 +- .../lib/kubernetes/models/v1_lifecycle.rb | 2 +- .../lib/kubernetes/models/v1_limit_range.rb | 2 +- .../kubernetes/models/v1_limit_range_item.rb | 2 +- .../kubernetes/models/v1_limit_range_list.rb | 4 +- .../kubernetes/models/v1_limit_range_spec.rb | 2 +- .../lib/kubernetes/models/v1_list_meta.rb | 4 +- .../models/v1_load_balancer_ingress.rb | 2 +- .../models/v1_load_balancer_status.rb | 2 +- .../models/v1_local_object_reference.rb | 2 +- .../models/v1_local_subject_access_review.rb | 2 +- .../models/v1_local_volume_source.rb | 18 +- .../lib/kubernetes/models/v1_namespace.rb | 2 +- .../kubernetes/models/v1_namespace_list.rb | 2 +- .../kubernetes/models/v1_namespace_spec.rb | 4 +- .../kubernetes/models/v1_namespace_status.rb | 4 +- .../kubernetes/models/v1_network_policy.rb | 2 +- .../models/v1_network_policy_egress_rule.rb | 2 +- .../models/v1_network_policy_ingress_rule.rb | 2 +- .../models/v1_network_policy_list.rb | 2 +- .../models/v1_network_policy_peer.rb | 10 +- .../models/v1_network_policy_port.rb | 4 +- .../models/v1_network_policy_spec.rb | 2 +- .../kubernetes/models/v1_nfs_volume_source.rb | 2 +- kubernetes/lib/kubernetes/models/v1_node.rb | 2 +- .../lib/kubernetes/models/v1_node_address.rb | 2 +- .../lib/kubernetes/models/v1_node_affinity.rb | 2 +- .../kubernetes/models/v1_node_condition.rb | 2 +- .../models/v1_node_config_source.rb | 37 +- .../models/v1_node_config_status.rb | 219 + .../models/v1_node_daemon_endpoints.rb | 2 +- .../lib/kubernetes/models/v1_node_list.rb | 2 +- .../lib/kubernetes/models/v1_node_selector.rb | 2 +- .../models/v1_node_selector_requirement.rb | 2 +- .../models/v1_node_selector_term.rb | 31 +- .../lib/kubernetes/models/v1_node_spec.rb | 4 +- .../lib/kubernetes/models/v1_node_status.rb | 14 +- .../kubernetes/models/v1_node_system_info.rb | 2 +- .../models/v1_non_resource_attributes.rb | 2 +- .../kubernetes/models/v1_non_resource_rule.rb | 2 +- .../models/v1_object_field_selector.rb | 2 +- .../lib/kubernetes/models/v1_object_meta.rb | 4 +- .../kubernetes/models/v1_object_reference.rb | 2 +- .../kubernetes/models/v1_owner_reference.rb | 4 +- .../kubernetes/models/v1_persistent_volume.rb | 2 +- .../models/v1_persistent_volume_claim.rb | 2 +- .../v1_persistent_volume_claim_condition.rb | 2 +- .../models/v1_persistent_volume_claim_list.rb | 2 +- .../models/v1_persistent_volume_claim_spec.rb | 24 +- .../v1_persistent_volume_claim_status.rb | 2 +- ...1_persistent_volume_claim_volume_source.rb | 2 +- .../models/v1_persistent_volume_list.rb | 2 +- .../models/v1_persistent_volume_spec.rb | 50 +- .../models/v1_persistent_volume_status.rb | 2 +- ...v1_photon_persistent_disk_volume_source.rb | 2 +- kubernetes/lib/kubernetes/models/v1_pod.rb | 2 +- .../lib/kubernetes/models/v1_pod_affinity.rb | 2 +- .../kubernetes/models/v1_pod_affinity_term.rb | 11 +- .../kubernetes/models/v1_pod_anti_affinity.rb | 2 +- .../lib/kubernetes/models/v1_pod_condition.rb | 4 +- .../kubernetes/models/v1_pod_dns_config.rb | 215 + .../models/v1_pod_dns_config_option.rb | 198 + .../lib/kubernetes/models/v1_pod_list.rb | 2 +- .../models/v1_pod_readiness_gate.rb | 194 + .../models/v1_pod_security_context.rb | 32 +- .../lib/kubernetes/models/v1_pod_spec.rb | 60 +- .../lib/kubernetes/models/v1_pod_status.rb | 20 +- .../lib/kubernetes/models/v1_pod_template.rb | 2 +- .../kubernetes/models/v1_pod_template_list.rb | 2 +- .../kubernetes/models/v1_pod_template_spec.rb | 2 +- .../lib/kubernetes/models/v1_policy_rule.rb | 2 +- .../models/v1_portworx_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_preconditions.rb | 2 +- .../models/v1_preferred_scheduling_term.rb | 2 +- kubernetes/lib/kubernetes/models/v1_probe.rb | 2 +- .../models/v1_projected_volume_source.rb | 2 +- .../models/v1_quobyte_volume_source.rb | 2 +- .../models/v1_rbd_persistent_volume_source.rb | 271 + .../kubernetes/models/v1_rbd_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_replica_set.rb | 229 + .../models/v1_replica_set_condition.rb | 239 + ...uration_list.rb => v1_replica_set_list.rb} | 10 +- .../kubernetes/models/v1_replica_set_spec.rb | 224 + .../models/v1_replica_set_status.rb | 246 + .../models/v1_replication_controller.rb | 2 +- .../v1_replication_controller_condition.rb | 2 +- .../models/v1_replication_controller_list.rb | 2 +- .../models/v1_replication_controller_spec.rb | 2 +- .../v1_replication_controller_status.rb | 2 +- .../models/v1_resource_attributes.rb | 2 +- .../models/v1_resource_field_selector.rb | 2 +- .../kubernetes/models/v1_resource_quota.rb | 2 +- .../models/v1_resource_quota_list.rb | 4 +- .../models/v1_resource_quota_spec.rb | 16 +- .../models/v1_resource_quota_status.rb | 4 +- .../models/v1_resource_requirements.rb | 2 +- .../lib/kubernetes/models/v1_resource_rule.rb | 4 +- kubernetes/lib/kubernetes/models/v1_role.rb | 2 +- .../lib/kubernetes/models/v1_role_binding.rb | 7 +- .../kubernetes/models/v1_role_binding_list.rb | 2 +- .../lib/kubernetes/models/v1_role_list.rb | 2 +- .../lib/kubernetes/models/v1_role_ref.rb | 2 +- .../models/v1_rolling_update_daemon_set.rb | 189 + .../models/v1_rolling_update_deployment.rb | 199 + ...v1_rolling_update_stateful_set_strategy.rb | 189 + kubernetes/lib/kubernetes/models/v1_scale.rb | 2 +- .../v1_scale_io_persistent_volume_source.rb | 294 + .../models/v1_scale_io_volume_source.rb | 10 +- .../lib/kubernetes/models/v1_scale_spec.rb | 2 +- .../lib/kubernetes/models/v1_scale_status.rb | 2 +- .../kubernetes/models/v1_scope_selector.rb | 191 + ...v1_scoped_resource_selector_requirement.rb | 221 + .../kubernetes/models/v1_se_linux_options.rb | 2 +- kubernetes/lib/kubernetes/models/v1_secret.rb | 2 +- .../kubernetes/models/v1_secret_env_source.rb | 2 +- .../models/v1_secret_key_selector.rb | 2 +- .../lib/kubernetes/models/v1_secret_list.rb | 2 +- .../kubernetes/models/v1_secret_projection.rb | 2 +- .../kubernetes/models/v1_secret_reference.rb | 2 +- .../models/v1_secret_volume_source.rb | 2 +- .../kubernetes/models/v1_security_context.rb | 24 +- .../models/v1_self_subject_access_review.rb | 2 +- .../v1_self_subject_access_review_spec.rb | 2 +- .../models/v1_self_subject_rules_review.rb | 2 +- .../v1_self_subject_rules_review_spec.rb | 2 +- .../v1_server_address_by_client_cidr.rb | 2 +- .../lib/kubernetes/models/v1_service.rb | 2 +- .../kubernetes/models/v1_service_account.rb | 2 +- .../models/v1_service_account_list.rb | 2 +- .../v1_service_account_token_projection.rb | 214 + .../lib/kubernetes/models/v1_service_list.rb | 2 +- .../lib/kubernetes/models/v1_service_port.rb | 4 +- ...e_reference.rb => v1_service_reference.rb} | 4 +- .../lib/kubernetes/models/v1_service_spec.rb | 6 +- .../kubernetes/models/v1_service_status.rb | 2 +- .../models/v1_session_affinity_config.rb | 2 +- .../lib/kubernetes/models/v1_stateful_set.rb | 228 + .../models/v1_stateful_set_condition.rb | 239 + .../kubernetes/models/v1_stateful_set_list.rb | 224 + .../kubernetes/models/v1_stateful_set_spec.rb | 276 + .../models/v1_stateful_set_status.rb | 276 + .../models/v1_stateful_set_update_strategy.rb | 199 + kubernetes/lib/kubernetes/models/v1_status.rb | 2 +- .../lib/kubernetes/models/v1_status_cause.rb | 2 +- .../kubernetes/models/v1_status_details.rb | 2 +- .../lib/kubernetes/models/v1_storage_class.rb | 32 +- .../models/v1_storage_class_list.rb | 2 +- .../v1_storage_os_persistent_volume_source.rb | 2 +- .../models/v1_storage_os_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_subject.rb | 2 +- .../models/v1_subject_access_review.rb | 2 +- .../models/v1_subject_access_review_spec.rb | 2 +- .../models/v1_subject_access_review_status.rb | 16 +- .../models/v1_subject_rules_review_status.rb | 2 +- kubernetes/lib/kubernetes/models/v1_sysctl.rb | 209 + kubernetes/lib/kubernetes/models/v1_taint.rb | 2 +- .../kubernetes/models/v1_tcp_socket_action.rb | 2 +- .../lib/kubernetes/models/v1_token_review.rb | 2 +- .../kubernetes/models/v1_token_review_spec.rb | 16 +- .../models/v1_token_review_status.rb | 16 +- .../lib/kubernetes/models/v1_toleration.rb | 2 +- ...v1_topology_selector_label_requirement.rb} | 50 +- .../models/v1_topology_selector_term.rb | 191 + .../models/v1_typed_local_object_reference.rb | 219 + .../lib/kubernetes/models/v1_user_info.rb | 2 +- kubernetes/lib/kubernetes/models/v1_volume.rb | 6 +- .../kubernetes/models/v1_volume_attachment.rb | 234 + .../models/v1_volume_attachment_list.rb | 226 + .../models/v1_volume_attachment_source.rb | 189 + .../models/v1_volume_attachment_spec.rb | 224 + .../models/v1_volume_attachment_status.rb | 226 + .../lib/kubernetes/models/v1_volume_device.rb | 209 + .../lib/kubernetes/models/v1_volume_error.rb | 199 + .../lib/kubernetes/models/v1_volume_mount.rb | 4 +- .../models/v1_volume_node_affinity.rb | 189 + .../kubernetes/models/v1_volume_projection.rb | 20 +- .../v1_vsphere_virtual_disk_volume_source.rb | 2 +- .../lib/kubernetes/models/v1_watch_event.rb | 2 +- .../models/v1_weighted_pod_affinity_term.rb | 2 +- .../models/v1alpha1_aggregation_rule.rb | 191 + .../kubernetes/models/v1alpha1_audit_sink.rb | 218 + .../models/v1alpha1_audit_sink_list.rb | 225 + ...g_array.rb => v1alpha1_audit_sink_spec.rb} | 48 +- .../models/v1alpha1_cluster_role.rb | 14 +- .../models/v1alpha1_cluster_role_binding.rb | 7 +- .../v1alpha1_cluster_role_binding_list.rb | 2 +- .../models/v1alpha1_cluster_role_list.rb | 2 +- .../kubernetes/models/v1alpha1_initializer.rb | 2 +- .../v1alpha1_initializer_configuration.rb | 2 +- ...v1alpha1_initializer_configuration_list.rb | 2 +- .../kubernetes/models/v1alpha1_pod_preset.rb | 2 +- .../models/v1alpha1_pod_preset_list.rb | 2 +- .../models/v1alpha1_pod_preset_spec.rb | 2 +- ...ma_props_or_bool.rb => v1alpha1_policy.rb} | 47 +- .../kubernetes/models/v1alpha1_policy_rule.rb | 2 +- .../models/v1alpha1_priority_class.rb | 6 +- .../models/v1alpha1_priority_class_list.rb | 4 +- .../lib/kubernetes/models/v1alpha1_role.rb | 2 +- .../models/v1alpha1_role_binding.rb | 7 +- .../models/v1alpha1_role_binding_list.rb | 2 +- .../kubernetes/models/v1alpha1_role_list.rb | 2 +- .../kubernetes/models/v1alpha1_role_ref.rb | 2 +- .../lib/kubernetes/models/v1alpha1_rule.rb | 2 +- .../models/v1alpha1_service_reference.rb | 24 +- .../lib/kubernetes/models/v1alpha1_subject.rb | 2 +- .../models/v1alpha1_volume_attachment.rb | 234 + .../models/v1alpha1_volume_attachment_list.rb | 226 + .../v1alpha1_volume_attachment_source.rb | 189 + .../models/v1alpha1_volume_attachment_spec.rb | 224 + .../v1alpha1_volume_attachment_status.rb | 226 + .../models/v1alpha1_volume_error.rb | 199 + .../lib/kubernetes/models/v1alpha1_webhook.rb | 204 + ...g.rb => v1alpha1_webhook_client_config.rb} | 47 +- .../v1alpha1_webhook_throttle_config.rb | 199 + .../models/v1beta1_aggregation_rule.rb | 191 + .../kubernetes/models/v1beta1_api_service.rb | 2 +- .../models/v1beta1_api_service_condition.rb | 2 +- .../models/v1beta1_api_service_list.rb | 2 +- .../models/v1beta1_api_service_spec.rb | 24 +- .../models/v1beta1_api_service_status.rb | 2 +- .../v1beta1_certificate_signing_request.rb | 2 +- ...1_certificate_signing_request_condition.rb | 2 +- ...1beta1_certificate_signing_request_list.rb | 2 +- ...1beta1_certificate_signing_request_spec.rb | 2 +- ...eta1_certificate_signing_request_status.rb | 2 +- .../kubernetes/models/v1beta1_cluster_role.rb | 14 +- .../models/v1beta1_cluster_role_binding.rb | 7 +- .../v1beta1_cluster_role_binding_list.rb | 2 +- .../models/v1beta1_cluster_role_list.rb | 2 +- .../models/v1beta1_controller_revision.rb | 2 +- .../v1beta1_controller_revision_list.rb | 2 +- .../lib/kubernetes/models/v1beta1_cron_job.rb | 2 +- .../models/v1beta1_cron_job_list.rb | 2 +- .../models/v1beta1_cron_job_spec.rb | 4 +- .../models/v1beta1_cron_job_status.rb | 2 +- ...beta1_custom_resource_column_definition.rb | 254 + .../v1beta1_custom_resource_conversion.rb | 204 + .../v1beta1_custom_resource_definition.rb | 7 +- ...a1_custom_resource_definition_condition.rb | 2 +- ...v1beta1_custom_resource_definition_list.rb | 2 +- ...1beta1_custom_resource_definition_names.rb | 16 +- ...v1beta1_custom_resource_definition_spec.rb | 63 +- ...beta1_custom_resource_definition_status.rb | 27 +- ...eta1_custom_resource_definition_version.rb | 256 + ...beta1_custom_resource_subresource_scale.rb | 219 + .../v1beta1_custom_resource_subresources.rb | 199 + .../v1beta1_custom_resource_validation.rb | 2 +- .../kubernetes/models/v1beta1_daemon_set.rb | 2 +- .../models/v1beta1_daemon_set_condition.rb | 239 + .../models/v1beta1_daemon_set_list.rb | 2 +- .../models/v1beta1_daemon_set_spec.rb | 2 +- .../models/v1beta1_daemon_set_status.rb | 16 +- .../v1beta1_daemon_set_update_strategy.rb | 2 +- .../lib/kubernetes/models/v1beta1_event.rb | 353 + ...y_policy_list.rb => v1beta1_event_list.rb} | 8 +- .../kubernetes/models/v1beta1_event_series.rb | 224 + .../lib/kubernetes/models/v1beta1_eviction.rb | 2 +- .../models/v1beta1_external_documentation.rb | 2 +- .../models/v1beta1_http_ingress_path.rb | 2 +- .../models/v1beta1_http_ingress_rule_value.rb | 2 +- .../lib/kubernetes/models/v1beta1_ingress.rb | 2 +- .../models/v1beta1_ingress_backend.rb | 2 +- .../kubernetes/models/v1beta1_ingress_list.rb | 2 +- .../kubernetes/models/v1beta1_ingress_rule.rb | 2 +- .../kubernetes/models/v1beta1_ingress_spec.rb | 2 +- .../models/v1beta1_ingress_status.rb | 2 +- .../kubernetes/models/v1beta1_ingress_tls.rb | 2 +- .../lib/kubernetes/models/v1beta1_ip_block.rb | 4 +- .../models/v1beta1_job_template_spec.rb | 2 +- .../models/v1beta1_json_schema_props.rb | 21 +- .../lib/kubernetes/models/v1beta1_lease.rb | 219 + .../kubernetes/models/v1beta1_lease_list.rb | 226 + .../kubernetes/models/v1beta1_lease_spec.rb | 229 + .../v1beta1_local_subject_access_review.rb | 2 +- ...v1beta1_mutating_webhook_configuration.rb} | 38 +- ...ta1_mutating_webhook_configuration_list.rb | 226 + .../models/v1beta1_network_policy.rb | 4 +- .../v1beta1_network_policy_egress_rule.rb | 4 +- .../v1beta1_network_policy_ingress_rule.rb | 4 +- .../models/v1beta1_network_policy_list.rb | 4 +- .../models/v1beta1_network_policy_peer.rb | 10 +- .../models/v1beta1_network_policy_port.rb | 6 +- .../models/v1beta1_network_policy_spec.rb | 4 +- .../models/v1beta1_non_resource_attributes.rb | 2 +- .../models/v1beta1_non_resource_rule.rb | 2 +- .../models/v1beta1_pod_disruption_budget.rb | 2 +- .../v1beta1_pod_disruption_budget_list.rb | 2 +- .../v1beta1_pod_disruption_budget_spec.rb | 2 +- .../v1beta1_pod_disruption_budget_status.rb | 7 +- .../kubernetes/models/v1beta1_policy_rule.rb | 4 +- .../models/v1beta1_priority_class.rb | 244 + .../models/v1beta1_priority_class_list.rb | 226 + .../kubernetes/models/v1beta1_replica_set.rb | 4 +- .../models/v1beta1_replica_set_condition.rb | 2 +- .../models/v1beta1_replica_set_list.rb | 2 +- .../models/v1beta1_replica_set_spec.rb | 2 +- .../models/v1beta1_replica_set_status.rb | 2 +- .../models/v1beta1_resource_attributes.rb | 2 +- .../models/v1beta1_resource_rule.rb | 4 +- .../lib/kubernetes/models/v1beta1_role.rb | 2 +- .../kubernetes/models/v1beta1_role_binding.rb | 7 +- .../models/v1beta1_role_binding_list.rb | 2 +- .../kubernetes/models/v1beta1_role_list.rb | 2 +- .../lib/kubernetes/models/v1beta1_role_ref.rb | 2 +- .../v1beta1_rolling_update_daemon_set.rb | 2 +- ...a1_rolling_update_stateful_set_strategy.rb | 2 +- ...ons.rb => v1beta1_rule_with_operations.rb} | 4 +- .../v1beta1_self_subject_access_review.rb | 2 +- ...v1beta1_self_subject_access_review_spec.rb | 2 +- .../v1beta1_self_subject_rules_review.rb | 2 +- .../v1beta1_self_subject_rules_review_spec.rb | 2 +- .../kubernetes/models/v1beta1_stateful_set.rb | 2 +- .../models/v1beta1_stateful_set_condition.rb | 239 + .../models/v1beta1_stateful_set_list.rb | 2 +- .../models/v1beta1_stateful_set_spec.rb | 2 +- .../models/v1beta1_stateful_set_status.rb | 16 +- .../v1beta1_stateful_set_update_strategy.rb | 2 +- .../models/v1beta1_storage_class.rb | 32 +- .../models/v1beta1_storage_class_list.rb | 2 +- .../lib/kubernetes/models/v1beta1_subject.rb | 2 +- .../models/v1beta1_subject_access_review.rb | 2 +- .../v1beta1_subject_access_review_spec.rb | 2 +- .../v1beta1_subject_access_review_status.rb | 16 +- .../v1beta1_subject_rules_review_status.rb | 2 +- .../kubernetes/models/v1beta1_token_review.rb | 2 +- .../models/v1beta1_token_review_spec.rb | 16 +- .../models/v1beta1_token_review_status.rb | 16 +- .../kubernetes/models/v1beta1_user_info.rb | 2 +- ...1beta1_validating_webhook_configuration.rb | 221 + ...1_validating_webhook_configuration_list.rb | 226 + .../models/v1beta1_volume_attachment.rb | 234 + .../models/v1beta1_volume_attachment_list.rb | 226 + .../v1beta1_volume_attachment_source.rb | 189 + .../models/v1beta1_volume_attachment_spec.rb | 224 + .../v1beta1_volume_attachment_status.rb | 226 + .../kubernetes/models/v1beta1_volume_error.rb | 199 + .../lib/kubernetes/models/v1beta1_webhook.rb | 251 + .../models/v1beta2_controller_revision.rb | 4 +- .../v1beta2_controller_revision_list.rb | 2 +- .../kubernetes/models/v1beta2_daemon_set.rb | 4 +- .../models/v1beta2_daemon_set_condition.rb | 239 + .../models/v1beta2_daemon_set_list.rb | 2 +- .../models/v1beta2_daemon_set_spec.rb | 9 +- .../models/v1beta2_daemon_set_status.rb | 16 +- .../v1beta2_daemon_set_update_strategy.rb | 2 +- .../kubernetes/models/v1beta2_deployment.rb | 4 +- .../models/v1beta2_deployment_condition.rb | 2 +- .../models/v1beta2_deployment_list.rb | 2 +- .../models/v1beta2_deployment_spec.rb | 9 +- .../models/v1beta2_deployment_status.rb | 2 +- .../models/v1beta2_deployment_strategy.rb | 2 +- .../kubernetes/models/v1beta2_replica_set.rb | 4 +- .../models/v1beta2_replica_set_condition.rb | 2 +- .../models/v1beta2_replica_set_list.rb | 2 +- .../models/v1beta2_replica_set_spec.rb | 9 +- .../models/v1beta2_replica_set_status.rb | 2 +- .../v1beta2_rolling_update_daemon_set.rb | 2 +- .../v1beta2_rolling_update_deployment.rb | 6 +- ...a2_rolling_update_stateful_set_strategy.rb | 2 +- .../lib/kubernetes/models/v1beta2_scale.rb | 2 +- .../kubernetes/models/v1beta2_scale_spec.rb | 2 +- .../kubernetes/models/v1beta2_scale_status.rb | 2 +- .../kubernetes/models/v1beta2_stateful_set.rb | 4 +- .../models/v1beta2_stateful_set_condition.rb | 239 + .../models/v1beta2_stateful_set_list.rb | 2 +- .../models/v1beta2_stateful_set_spec.rb | 9 +- .../models/v1beta2_stateful_set_status.rb | 16 +- .../v1beta2_stateful_set_update_strategy.rb | 2 +- .../kubernetes/models/v2alpha1_cron_job.rb | 2 +- .../models/v2alpha1_cron_job_list.rb | 2 +- .../models/v2alpha1_cron_job_spec.rb | 4 +- .../models/v2alpha1_cron_job_status.rb | 2 +- .../models/v2alpha1_job_template_spec.rb | 2 +- .../v2beta1_cross_version_object_reference.rb | 2 +- .../models/v2beta1_external_metric_source.rb | 224 + .../models/v2beta1_external_metric_status.rb | 229 + .../v2beta1_horizontal_pod_autoscaler.rb | 2 +- ...ta1_horizontal_pod_autoscaler_condition.rb | 2 +- .../v2beta1_horizontal_pod_autoscaler_list.rb | 2 +- .../v2beta1_horizontal_pod_autoscaler_spec.rb | 2 +- ...2beta1_horizontal_pod_autoscaler_status.rb | 7 +- .../kubernetes/models/v2beta1_metric_spec.rb | 16 +- .../models/v2beta1_metric_status.rb | 16 +- .../models/v2beta1_object_metric_source.rb | 24 +- .../models/v2beta1_object_metric_status.rb | 24 +- .../models/v2beta1_pods_metric_source.rb | 14 +- .../models/v2beta1_pods_metric_status.rb | 20 +- .../models/v2beta1_resource_metric_source.rb | 2 +- .../models/v2beta1_resource_metric_status.rb | 2 +- ...v2beta2_cross_version_object_reference.rb} | 67 +- .../models/v2beta2_external_metric_source.rb | 209 + .../models/v2beta2_external_metric_status.rb | 209 + .../v2beta2_horizontal_pod_autoscaler.rb | 229 + ...ta2_horizontal_pod_autoscaler_condition.rb | 239 + .../v2beta2_horizontal_pod_autoscaler_list.rb | 226 + .../v2beta2_horizontal_pod_autoscaler_spec.rb | 231 + ...2beta2_horizontal_pod_autoscaler_status.rb | 258 + .../models/v2beta2_metric_identifier.rb | 204 + .../kubernetes/models/v2beta2_metric_spec.rb | 234 + .../models/v2beta2_metric_status.rb | 234 + .../models/v2beta2_metric_target.rb | 224 + .../models/v2beta2_metric_value_status.rb | 209 + .../models/v2beta2_object_metric_source.rb | 223 + .../models/v2beta2_object_metric_status.rb | 223 + .../models/v2beta2_pods_metric_source.rb | 209 + .../models/v2beta2_pods_metric_status.rb | 209 + .../models/v2beta2_resource_metric_source.rb | 209 + .../models/v2beta2_resource_metric_status.rb | 209 + .../lib/kubernetes/models/version_info.rb | 2 +- kubernetes/lib/kubernetes/version.rb | 4 +- .../api/admissionregistration_api_spec.rb | 2 +- ...admissionregistration_v1alpha1_api_spec.rb | 136 +- .../admissionregistration_v1beta1_api_spec.rb | 282 + kubernetes/spec/api/apiextensions_api_spec.rb | 2 +- .../api/apiextensions_v1beta1_api_spec.rb | 52 +- .../spec/api/apiregistration_api_spec.rb | 2 +- .../spec/api/apiregistration_v1_api_spec.rb | 207 + .../api/apiregistration_v1beta1_api_spec.rb | 52 +- kubernetes/spec/api/apis_api_spec.rb | 2 +- kubernetes/spec/api/apps_api_spec.rb | 2 +- kubernetes/spec/api/apps_v1_api_spec.rb | 1093 + kubernetes/spec/api/apps_v1beta1_api_spec.rb | 89 +- kubernetes/spec/api/apps_v1beta2_api_spec.rb | 141 +- .../spec/api/auditregistration_api_spec.rb | 46 + .../auditregistration_v1alpha1_api_spec.rb | 164 + .../spec/api/authentication_api_spec.rb | 2 +- .../spec/api/authentication_v1_api_spec.rb | 4 +- .../api/authentication_v1beta1_api_spec.rb | 4 +- kubernetes/spec/api/authorization_api_spec.rb | 2 +- .../spec/api/authorization_v1_api_spec.rb | 10 +- .../api/authorization_v1beta1_api_spec.rb | 10 +- kubernetes/spec/api/autoscaling_api_spec.rb | 2 +- .../spec/api/autoscaling_v1_api_spec.rb | 29 +- .../spec/api/autoscaling_v2beta1_api_spec.rb | 29 +- .../spec/api/autoscaling_v2beta2_api_spec.rb | 237 + kubernetes/spec/api/batch_api_spec.rb | 2 +- kubernetes/spec/api/batch_v1_api_spec.rb | 29 +- kubernetes/spec/api/batch_v1beta1_api_spec.rb | 29 +- .../spec/api/batch_v2alpha1_api_spec.rb | 29 +- kubernetes/spec/api/certificates_api_spec.rb | 2 +- .../spec/api/certificates_v1beta1_api_spec.rb | 53 +- kubernetes/spec/api/coordination_api_spec.rb | 46 + .../spec/api/coordination_v1beta1_api_spec.rb | 191 + kubernetes/spec/api/core_api_spec.rb | 2 +- kubernetes/spec/api/core_v1_api_spec.rb | 1031 +- .../spec/api/custom_objects_api_spec.rb | 231 +- kubernetes/spec/api/events_api_spec.rb | 46 + .../spec/api/events_v1beta1_api_spec.rb | 191 + kubernetes/spec/api/extensions_api_spec.rb | 2 +- .../spec/api/extensions_v1beta1_api_spec.rb | 176 +- kubernetes/spec/api/logs_api_spec.rb | 2 +- kubernetes/spec/api/networking_api_spec.rb | 2 +- kubernetes/spec/api/networking_v1_api_spec.rb | 27 +- kubernetes/spec/api/policy_api_spec.rb | 2 +- .../spec/api/policy_v1beta1_api_spec.rb | 147 +- .../spec/api/rbac_authorization_api_spec.rb | 2 +- .../api/rbac_authorization_v1_api_spec.rb | 94 +- .../rbac_authorization_v1alpha1_api_spec.rb | 94 +- .../rbac_authorization_v1beta1_api_spec.rb | 94 +- kubernetes/spec/api/scheduling_api_spec.rb | 2 +- .../spec/api/scheduling_v1alpha1_api_spec.rb | 23 +- .../spec/api/scheduling_v1beta1_api_spec.rb | 164 + kubernetes/spec/api/settings_api_spec.rb | 2 +- .../spec/api/settings_v1alpha1_api_spec.rb | 27 +- kubernetes/spec/api/storage_api_spec.rb | 2 +- kubernetes/spec/api/storage_v1_api_spec.rb | 184 +- .../spec/api/storage_v1alpha1_api_spec.rb | 164 + .../spec/api/storage_v1beta1_api_spec.rb | 141 +- kubernetes/spec/api/version_api_spec.rb | 2 +- kubernetes/spec/api_client_spec.rb | 2 +- kubernetes/spec/configuration_spec.rb | 2 +- ...stration_v1beta1_service_reference_spec.rb | 54 + ...tion_v1beta1_webhook_client_config_spec.rb | 54 + ...tensions_v1beta1_service_reference_spec.rb | 54 + ...ions_v1beta1_webhook_client_config_spec.rb | 54 + ...stration_v1beta1_service_reference_spec.rb | 48 + .../apps_v1beta1_deployment_condition_spec.rb | 2 +- .../apps_v1beta1_deployment_list_spec.rb | 2 +- .../apps_v1beta1_deployment_rollback_spec.rb | 2 +- .../models/apps_v1beta1_deployment_spec.rb | 2 +- .../apps_v1beta1_deployment_spec_spec.rb | 2 +- .../apps_v1beta1_deployment_status_spec.rb | 2 +- .../apps_v1beta1_deployment_strategy_spec.rb | 2 +- .../apps_v1beta1_rollback_config_spec.rb | 2 +- ..._v1beta1_rolling_update_deployment_spec.rb | 2 +- .../spec/models/apps_v1beta1_scale_spec.rb | 2 +- .../models/apps_v1beta1_scale_spec_spec.rb | 2 +- .../models/apps_v1beta1_scale_status_spec.rb | 2 +- ...nsions_v1beta1_allowed_flex_volume_spec.rb | 42 + ...tensions_v1beta1_allowed_host_path_spec.rb | 48 + ...sions_v1beta1_deployment_condition_spec.rb | 2 +- ...extensions_v1beta1_deployment_list_spec.rb | 2 +- ...nsions_v1beta1_deployment_rollback_spec.rb | 2 +- .../extensions_v1beta1_deployment_spec.rb | 2 +- ...extensions_v1beta1_deployment_spec_spec.rb | 2 +- ...tensions_v1beta1_deployment_status_spec.rb | 2 +- ...nsions_v1beta1_deployment_strategy_spec.rb | 2 +- ...v1beta1_fs_group_strategy_options_spec.rb} | 14 +- ...extensions_v1beta1_host_port_range_spec.rb | 48 + ...rb => extensions_v1beta1_id_range_spec.rb} | 14 +- ...s_v1beta1_pod_security_policy_list_spec.rb | 60 + ...nsions_v1beta1_pod_security_policy_spec.rb | 60 + ...s_v1beta1_pod_security_policy_spec_spec.rb | 168 + ...extensions_v1beta1_rollback_config_spec.rb | 2 +- ..._v1beta1_rolling_update_deployment_spec.rb | 2 +- ...eta1_run_as_group_strategy_options_spec.rb | 48 + ...beta1_run_as_user_strategy_options_spec.rb | 48 + .../models/extensions_v1beta1_scale_spec.rb | 2 +- .../extensions_v1beta1_scale_spec_spec.rb | 2 +- .../extensions_v1beta1_scale_status_spec.rb | 2 +- ..._v1beta1_se_linux_strategy_options_spec.rb | 48 + ...pplemental_groups_strategy_options_spec.rb | 48 + ...policy_v1beta1_allowed_flex_volume_spec.rb | 42 + .../policy_v1beta1_allowed_host_path_spec.rb | 48 + ...v1beta1_fs_group_strategy_options_spec.rb} | 14 +- .../policy_v1beta1_host_port_range_spec.rb | 48 + ...pec.rb => policy_v1beta1_id_range_spec.rb} | 14 +- ...y_v1beta1_pod_security_policy_list_spec.rb | 60 + ...policy_v1beta1_pod_security_policy_spec.rb | 60 + ..._v1beta1_pod_security_policy_spec_spec.rb} | 44 +- ...eta1_run_as_group_strategy_options_spec.rb | 48 + ...eta1_run_as_user_strategy_options_spec.rb} | 14 +- ...v1beta1_se_linux_strategy_options_spec.rb} | 14 +- ...pplemental_groups_strategy_options_spec.rb | 48 + .../spec/models/runtime_raw_extension_spec.rb | 2 +- kubernetes/spec/models/v1_affinity_spec.rb | 2 +- ...th_spec.rb => v1_aggregation_rule_spec.rb} | 16 +- .../spec/models/v1_api_group_list_spec.rb | 2 +- kubernetes/spec/models/v1_api_group_spec.rb | 2 +- .../spec/models/v1_api_resource_list_spec.rb | 2 +- .../spec/models/v1_api_resource_spec.rb | 2 +- .../models/v1_api_service_condition_spec.rb | 66 + .../spec/models/v1_api_service_list_spec.rb | 60 + kubernetes/spec/models/v1_api_service_spec.rb | 66 + .../spec/models/v1_api_service_spec_spec.rb | 78 + .../spec/models/v1_api_service_status_spec.rb | 42 + .../spec/models/v1_api_versions_spec.rb | 2 +- .../spec/models/v1_attached_volume_spec.rb | 2 +- ..._elastic_block_store_volume_source_spec.rb | 2 +- .../v1_azure_disk_volume_source_spec.rb | 2 +- ...zure_file_persistent_volume_source_spec.rb | 2 +- .../v1_azure_file_volume_source_spec.rb | 2 +- kubernetes/spec/models/v1_binding_spec.rb | 2 +- .../spec/models/v1_capabilities_spec.rb | 2 +- ...1_ceph_fs_persistent_volume_source_spec.rb | 2 +- .../models/v1_ceph_fs_volume_source_spec.rb | 2 +- ...v1_cinder_persistent_volume_source_spec.rb | 60 + .../models/v1_cinder_volume_source_spec.rb | 8 +- .../spec/models/v1_client_ip_config_spec.rb | 2 +- .../v1_cluster_role_binding_list_spec.rb | 2 +- .../models/v1_cluster_role_binding_spec.rb | 2 +- .../spec/models/v1_cluster_role_list_spec.rb | 2 +- .../spec/models/v1_cluster_role_spec.rb | 8 +- .../models/v1_component_condition_spec.rb | 2 +- .../models/v1_component_status_list_spec.rb | 2 +- .../spec/models/v1_component_status_spec.rb | 2 +- .../models/v1_config_map_env_source_spec.rb | 2 +- .../models/v1_config_map_key_selector_spec.rb | 2 +- .../spec/models/v1_config_map_list_spec.rb | 2 +- .../v1_config_map_node_config_source_spec.rb | 66 + .../models/v1_config_map_projection_spec.rb | 2 +- kubernetes/spec/models/v1_config_map_spec.rb | 8 +- .../v1_config_map_volume_source_spec.rb | 2 +- .../spec/models/v1_container_image_spec.rb | 2 +- .../spec/models/v1_container_port_spec.rb | 2 +- kubernetes/spec/models/v1_container_spec.rb | 8 +- .../models/v1_container_state_running_spec.rb | 2 +- .../spec/models/v1_container_state_spec.rb | 2 +- .../v1_container_state_terminated_spec.rb | 2 +- .../models/v1_container_state_waiting_spec.rb | 2 +- .../spec/models/v1_container_status_spec.rb | 2 +- .../v1_controller_revision_list_spec.rb | 60 + .../models/v1_controller_revision_spec.rb | 66 + .../v1_cross_version_object_reference_spec.rb | 2 +- .../v1_csi_persistent_volume_source_spec.rb | 84 + .../spec/models/v1_daemon_endpoint_spec.rb | 2 +- .../models/v1_daemon_set_condition_spec.rb | 66 + .../spec/models/v1_daemon_set_list_spec.rb | 60 + kubernetes/spec/models/v1_daemon_set_spec.rb | 66 + .../spec/models/v1_daemon_set_spec_spec.rb | 66 + .../spec/models/v1_daemon_set_status_spec.rb | 96 + .../v1_daemon_set_update_strategy_spec.rb | 48 + .../spec/models/v1_delete_options_spec.rb | 8 +- .../models/v1_deployment_condition_spec.rb | 72 + .../spec/models/v1_deployment_list_spec.rb | 60 + kubernetes/spec/models/v1_deployment_spec.rb | 66 + .../spec/models/v1_deployment_spec_spec.rb | 84 + .../spec/models/v1_deployment_status_spec.rb | 84 + .../models/v1_deployment_strategy_spec.rb | 48 + .../models/v1_downward_api_projection_spec.rb | 2 +- .../v1_downward_api_volume_file_spec.rb | 2 +- .../v1_downward_api_volume_source_spec.rb | 2 +- .../models/v1_empty_dir_volume_source_spec.rb | 2 +- .../spec/models/v1_endpoint_address_spec.rb | 2 +- .../spec/models/v1_endpoint_port_spec.rb | 2 +- .../spec/models/v1_endpoint_subset_spec.rb | 2 +- .../spec/models/v1_endpoints_list_spec.rb | 2 +- kubernetes/spec/models/v1_endpoints_spec.rb | 2 +- .../spec/models/v1_env_from_source_spec.rb | 2 +- .../spec/models/v1_env_var_source_spec.rb | 2 +- kubernetes/spec/models/v1_env_var_spec.rb | 2 +- kubernetes/spec/models/v1_event_list_spec.rb | 2 +- ..._array_spec.rb => v1_event_series_spec.rb} | 24 +- .../spec/models/v1_event_source_spec.rb | 2 +- kubernetes/spec/models/v1_event_spec.rb | 38 +- kubernetes/spec/models/v1_exec_action_spec.rb | 2 +- .../spec/models/v1_fc_volume_source_spec.rb | 2 +- .../v1_flex_persistent_volume_source_spec.rb | 66 + .../spec/models/v1_flex_volume_source_spec.rb | 2 +- .../models/v1_flocker_volume_source_spec.rb | 2 +- ..._gce_persistent_disk_volume_source_spec.rb | 2 +- .../models/v1_git_repo_volume_source_spec.rb | 2 +- ...glusterfs_persistent_volume_source_spec.rb | 60 + .../models/v1_glusterfs_volume_source_spec.rb | 2 +- .../v1_group_version_for_discovery_spec.rb | 2 +- kubernetes/spec/models/v1_handler_spec.rb | 2 +- .../v1_horizontal_pod_autoscaler_list_spec.rb | 2 +- .../v1_horizontal_pod_autoscaler_spec.rb | 2 +- .../v1_horizontal_pod_autoscaler_spec_spec.rb | 2 +- ...1_horizontal_pod_autoscaler_status_spec.rb | 2 +- kubernetes/spec/models/v1_host_alias_spec.rb | 2 +- .../models/v1_host_path_volume_source_spec.rb | 2 +- .../spec/models/v1_http_get_action_spec.rb | 2 +- kubernetes/spec/models/v1_http_header_spec.rb | 2 +- kubernetes/spec/models/v1_initializer_spec.rb | 2 +- .../spec/models/v1_initializers_spec.rb | 2 +- kubernetes/spec/models/v1_ip_block_spec.rb | 2 +- .../v1_iscsi_persistent_volume_source_spec.rb | 102 + .../models/v1_iscsi_volume_source_spec.rb | 2 +- .../spec/models/v1_job_condition_spec.rb | 2 +- kubernetes/spec/models/v1_job_list_spec.rb | 2 +- kubernetes/spec/models/v1_job_spec.rb | 2 +- kubernetes/spec/models/v1_job_spec_spec.rb | 8 +- kubernetes/spec/models/v1_job_status_spec.rb | 2 +- kubernetes/spec/models/v1_key_to_path_spec.rb | 2 +- .../v1_label_selector_requirement_spec.rb | 2 +- .../spec/models/v1_label_selector_spec.rb | 2 +- kubernetes/spec/models/v1_lifecycle_spec.rb | 2 +- .../spec/models/v1_limit_range_item_spec.rb | 2 +- .../spec/models/v1_limit_range_list_spec.rb | 2 +- kubernetes/spec/models/v1_limit_range_spec.rb | 2 +- .../spec/models/v1_limit_range_spec_spec.rb | 2 +- kubernetes/spec/models/v1_list_meta_spec.rb | 2 +- .../models/v1_load_balancer_ingress_spec.rb | 2 +- .../models/v1_load_balancer_status_spec.rb | 2 +- .../models/v1_local_object_reference_spec.rb | 2 +- .../v1_local_subject_access_review_spec.rb | 2 +- .../models/v1_local_volume_source_spec.rb | 8 +- .../spec/models/v1_namespace_list_spec.rb | 2 +- kubernetes/spec/models/v1_namespace_spec.rb | 2 +- .../spec/models/v1_namespace_spec_spec.rb | 2 +- .../spec/models/v1_namespace_status_spec.rb | 2 +- .../v1_network_policy_egress_rule_spec.rb | 2 +- .../v1_network_policy_ingress_rule_spec.rb | 2 +- .../models/v1_network_policy_list_spec.rb | 2 +- .../models/v1_network_policy_peer_spec.rb | 2 +- .../models/v1_network_policy_port_spec.rb | 2 +- .../spec/models/v1_network_policy_spec.rb | 2 +- .../models/v1_network_policy_spec_spec.rb | 2 +- .../spec/models/v1_nfs_volume_source_spec.rb | 2 +- .../spec/models/v1_node_address_spec.rb | 2 +- .../spec/models/v1_node_affinity_spec.rb | 2 +- .../spec/models/v1_node_condition_spec.rb | 2 +- .../spec/models/v1_node_config_source_spec.rb | 16 +- .../spec/models/v1_node_config_status_spec.rb | 60 + .../models/v1_node_daemon_endpoints_spec.rb | 2 +- kubernetes/spec/models/v1_node_list_spec.rb | 2 +- .../v1_node_selector_requirement_spec.rb | 2 +- .../spec/models/v1_node_selector_spec.rb | 2 +- .../spec/models/v1_node_selector_term_spec.rb | 8 +- kubernetes/spec/models/v1_node_spec.rb | 2 +- kubernetes/spec/models/v1_node_spec_spec.rb | 2 +- kubernetes/spec/models/v1_node_status_spec.rb | 8 +- .../spec/models/v1_node_system_info_spec.rb | 2 +- .../models/v1_non_resource_attributes_spec.rb | 2 +- .../spec/models/v1_non_resource_rule_spec.rb | 2 +- .../models/v1_object_field_selector_spec.rb | 2 +- kubernetes/spec/models/v1_object_meta_spec.rb | 2 +- .../spec/models/v1_object_reference_spec.rb | 2 +- .../spec/models/v1_owner_reference_spec.rb | 2 +- ..._persistent_volume_claim_condition_spec.rb | 2 +- .../v1_persistent_volume_claim_list_spec.rb | 2 +- .../models/v1_persistent_volume_claim_spec.rb | 2 +- .../v1_persistent_volume_claim_spec_spec.rb | 14 +- .../v1_persistent_volume_claim_status_spec.rb | 2 +- ...sistent_volume_claim_volume_source_spec.rb | 2 +- .../models/v1_persistent_volume_list_spec.rb | 2 +- .../spec/models/v1_persistent_volume_spec.rb | 2 +- .../models/v1_persistent_volume_spec_spec.rb | 20 +- .../v1_persistent_volume_status_spec.rb | 2 +- ...oton_persistent_disk_volume_source_spec.rb | 2 +- .../spec/models/v1_pod_affinity_spec.rb | 2 +- .../spec/models/v1_pod_affinity_term_spec.rb | 2 +- .../spec/models/v1_pod_anti_affinity_spec.rb | 2 +- .../spec/models/v1_pod_condition_spec.rb | 2 +- .../models/v1_pod_dns_config_option_spec.rb | 48 + .../spec/models/v1_pod_dns_config_spec.rb | 54 + kubernetes/spec/models/v1_pod_list_spec.rb | 2 +- .../spec/models/v1_pod_readiness_gate_spec.rb | 42 + .../models/v1_pod_security_context_spec.rb | 14 +- kubernetes/spec/models/v1_pod_spec.rb | 2 +- kubernetes/spec/models/v1_pod_spec_spec.rb | 32 +- kubernetes/spec/models/v1_pod_status_spec.rb | 8 +- .../spec/models/v1_pod_template_list_spec.rb | 2 +- .../spec/models/v1_pod_template_spec.rb | 2 +- .../spec/models/v1_pod_template_spec_spec.rb | 2 +- kubernetes/spec/models/v1_policy_rule_spec.rb | 2 +- .../models/v1_portworx_volume_source_spec.rb | 2 +- .../spec/models/v1_preconditions_spec.rb | 2 +- .../v1_preferred_scheduling_term_spec.rb | 2 +- kubernetes/spec/models/v1_probe_spec.rb | 2 +- .../models/v1_projected_volume_source_spec.rb | 2 +- .../models/v1_quobyte_volume_source_spec.rb | 2 +- .../v1_rbd_persistent_volume_source_spec.rb | 84 + .../spec/models/v1_rbd_volume_source_spec.rb | 2 +- .../models/v1_replica_set_condition_spec.rb | 66 + .../spec/models/v1_replica_set_list_spec.rb | 60 + kubernetes/spec/models/v1_replica_set_spec.rb | 66 + .../spec/models/v1_replica_set_spec_spec.rb | 60 + .../spec/models/v1_replica_set_status_spec.rb | 72 + ...1_replication_controller_condition_spec.rb | 2 +- .../v1_replication_controller_list_spec.rb | 2 +- .../models/v1_replication_controller_spec.rb | 2 +- .../v1_replication_controller_spec_spec.rb | 2 +- .../v1_replication_controller_status_spec.rb | 2 +- .../models/v1_resource_attributes_spec.rb | 2 +- .../models/v1_resource_field_selector_spec.rb | 2 +- .../models/v1_resource_quota_list_spec.rb | 2 +- .../spec/models/v1_resource_quota_spec.rb | 2 +- .../models/v1_resource_quota_spec_spec.rb | 8 +- .../models/v1_resource_quota_status_spec.rb | 2 +- .../models/v1_resource_requirements_spec.rb | 2 +- .../spec/models/v1_resource_rule_spec.rb | 2 +- .../spec/models/v1_role_binding_list_spec.rb | 2 +- .../spec/models/v1_role_binding_spec.rb | 2 +- kubernetes/spec/models/v1_role_list_spec.rb | 2 +- kubernetes/spec/models/v1_role_ref_spec.rb | 2 +- kubernetes/spec/models/v1_role_spec.rb | 2 +- .../v1_rolling_update_daemon_set_spec.rb | 42 + .../v1_rolling_update_deployment_spec.rb | 48 + ...lling_update_stateful_set_strategy_spec.rb | 42 + ..._scale_io_persistent_volume_source_spec.rb | 96 + .../models/v1_scale_io_volume_source_spec.rb | 2 +- kubernetes/spec/models/v1_scale_spec.rb | 2 +- kubernetes/spec/models/v1_scale_spec_spec.rb | 2 +- .../spec/models/v1_scale_status_spec.rb | 2 +- ...json_spec.rb => v1_scope_selector_spec.rb} | 16 +- ...oped_resource_selector_requirement_spec.rb | 54 + .../spec/models/v1_se_linux_options_spec.rb | 2 +- .../spec/models/v1_secret_env_source_spec.rb | 2 +- .../models/v1_secret_key_selector_spec.rb | 2 +- kubernetes/spec/models/v1_secret_list_spec.rb | 2 +- .../spec/models/v1_secret_projection_spec.rb | 2 +- .../spec/models/v1_secret_reference_spec.rb | 2 +- kubernetes/spec/models/v1_secret_spec.rb | 2 +- .../models/v1_secret_volume_source_spec.rb | 2 +- .../spec/models/v1_security_context_spec.rb | 14 +- .../v1_self_subject_access_review_spec.rb | 2 +- ...v1_self_subject_access_review_spec_spec.rb | 2 +- .../v1_self_subject_rules_review_spec.rb | 2 +- .../v1_self_subject_rules_review_spec_spec.rb | 2 +- .../v1_server_address_by_client_cidr_spec.rb | 2 +- .../models/v1_service_account_list_spec.rb | 2 +- .../spec/models/v1_service_account_spec.rb | 2 +- ...1_service_account_token_projection_spec.rb | 54 + .../spec/models/v1_service_list_spec.rb | 2 +- .../spec/models/v1_service_port_spec.rb | 2 +- ...e_spec.rb => v1_service_reference_spec.rb} | 14 +- kubernetes/spec/models/v1_service_spec.rb | 2 +- .../spec/models/v1_service_spec_spec.rb | 2 +- .../spec/models/v1_service_status_spec.rb | 2 +- .../models/v1_session_affinity_config_spec.rb | 2 +- .../models/v1_stateful_set_condition_spec.rb | 66 + .../spec/models/v1_stateful_set_list_spec.rb | 60 + .../spec/models/v1_stateful_set_spec.rb | 66 + .../spec/models/v1_stateful_set_spec_spec.rb | 84 + .../models/v1_stateful_set_status_spec.rb | 90 + .../v1_stateful_set_update_strategy_spec.rb | 48 + .../spec/models/v1_status_cause_spec.rb | 2 +- .../spec/models/v1_status_details_spec.rb | 2 +- kubernetes/spec/models/v1_status_spec.rb | 2 +- .../spec/models/v1_storage_class_list_spec.rb | 2 +- .../spec/models/v1_storage_class_spec.rb | 14 +- ...torage_os_persistent_volume_source_spec.rb | 2 +- .../v1_storage_os_volume_source_spec.rb | 2 +- .../models/v1_subject_access_review_spec.rb | 2 +- .../v1_subject_access_review_spec_spec.rb | 2 +- .../v1_subject_access_review_status_spec.rb | 8 +- .../v1_subject_rules_review_status_spec.rb | 2 +- kubernetes/spec/models/v1_subject_spec.rb | 2 +- kubernetes/spec/models/v1_sysctl_spec.rb | 48 + kubernetes/spec/models/v1_taint_spec.rb | 2 +- .../spec/models/v1_tcp_socket_action_spec.rb | 2 +- .../spec/models/v1_token_review_spec.rb | 2 +- .../spec/models/v1_token_review_spec_spec.rb | 8 +- .../models/v1_token_review_status_spec.rb | 8 +- kubernetes/spec/models/v1_toleration_spec.rb | 2 +- ...pology_selector_label_requirement_spec.rb} | 18 +- .../models/v1_topology_selector_term_spec.rb | 42 + .../v1_typed_local_object_reference_spec.rb | 54 + kubernetes/spec/models/v1_user_info_spec.rb | 2 +- .../models/v1_volume_attachment_list_spec.rb | 60 + .../v1_volume_attachment_source_spec.rb | 42 + .../spec/models/v1_volume_attachment_spec.rb | 66 + .../models/v1_volume_attachment_spec_spec.rb | 54 + ...rb => v1_volume_attachment_status_spec.rb} | 22 +- .../spec/models/v1_volume_device_spec.rb | 48 + .../spec/models/v1_volume_error_spec.rb | 48 + .../spec/models/v1_volume_mount_spec.rb | 2 +- .../models/v1_volume_node_affinity_spec.rb | 42 + .../spec/models/v1_volume_projection_spec.rb | 8 +- kubernetes/spec/models/v1_volume_spec.rb | 2 +- ...vsphere_virtual_disk_volume_source_spec.rb | 2 +- kubernetes/spec/models/v1_watch_event_spec.rb | 2 +- .../v1_weighted_pod_affinity_term_spec.rb | 2 +- .../models/v1alpha1_aggregation_rule_spec.rb | 42 + .../models/v1alpha1_audit_sink_list_spec.rb | 60 + ...cy_spec.rb => v1alpha1_audit_sink_spec.rb} | 14 +- .../models/v1alpha1_audit_sink_spec_spec.rb | 48 + ...v1alpha1_cluster_role_binding_list_spec.rb | 2 +- .../v1alpha1_cluster_role_binding_spec.rb | 2 +- .../models/v1alpha1_cluster_role_list_spec.rb | 2 +- .../spec/models/v1alpha1_cluster_role_spec.rb | 8 +- ...ha1_initializer_configuration_list_spec.rb | 2 +- ...v1alpha1_initializer_configuration_spec.rb | 2 +- .../spec/models/v1alpha1_initializer_spec.rb | 2 +- .../models/v1alpha1_pod_preset_list_spec.rb | 2 +- .../spec/models/v1alpha1_pod_preset_spec.rb | 2 +- .../models/v1alpha1_pod_preset_spec_spec.rb | 2 +- .../spec/models/v1alpha1_policy_rule_spec.rb | 2 +- .../spec/models/v1alpha1_policy_spec.rb | 48 + .../v1alpha1_priority_class_list_spec.rb | 2 +- .../models/v1alpha1_priority_class_spec.rb | 2 +- .../models/v1alpha1_role_binding_list_spec.rb | 2 +- .../spec/models/v1alpha1_role_binding_spec.rb | 2 +- .../spec/models/v1alpha1_role_list_spec.rb | 2 +- .../spec/models/v1alpha1_role_ref_spec.rb | 2 +- kubernetes/spec/models/v1alpha1_role_spec.rb | 2 +- kubernetes/spec/models/v1alpha1_rule_spec.rb | 2 +- .../models/v1alpha1_service_reference_spec.rb | 8 +- .../spec/models/v1alpha1_subject_spec.rb | 2 +- ...> v1alpha1_volume_attachment_list_spec.rb} | 14 +- .../v1alpha1_volume_attachment_source_spec.rb | 42 + .../models/v1alpha1_volume_attachment_spec.rb | 66 + .../v1alpha1_volume_attachment_spec_spec.rb | 54 + .../v1alpha1_volume_attachment_status_spec.rb | 60 + .../spec/models/v1alpha1_volume_error_spec.rb | 48 + .../v1alpha1_webhook_client_config_spec.rb | 54 + .../spec/models/v1alpha1_webhook_spec.rb | 48 + .../v1alpha1_webhook_throttle_config_spec.rb | 48 + .../models/v1beta1_aggregation_rule_spec.rb | 42 + .../v1beta1_api_service_condition_spec.rb | 2 +- .../models/v1beta1_api_service_list_spec.rb | 2 +- .../spec/models/v1beta1_api_service_spec.rb | 2 +- .../models/v1beta1_api_service_spec_spec.rb | 2 +- .../models/v1beta1_api_service_status_spec.rb | 2 +- ...tificate_signing_request_condition_spec.rb | 2 +- ...1_certificate_signing_request_list_spec.rb | 2 +- ...1beta1_certificate_signing_request_spec.rb | 2 +- ...1_certificate_signing_request_spec_spec.rb | 2 +- ...certificate_signing_request_status_spec.rb | 2 +- .../v1beta1_cluster_role_binding_list_spec.rb | 2 +- .../v1beta1_cluster_role_binding_spec.rb | 2 +- .../models/v1beta1_cluster_role_list_spec.rb | 2 +- .../spec/models/v1beta1_cluster_role_spec.rb | 8 +- .../v1beta1_controller_revision_list_spec.rb | 2 +- .../v1beta1_controller_revision_spec.rb | 2 +- .../spec/models/v1beta1_cron_job_list_spec.rb | 2 +- .../spec/models/v1beta1_cron_job_spec.rb | 2 +- .../spec/models/v1beta1_cron_job_spec_spec.rb | 2 +- .../models/v1beta1_cron_job_status_spec.rb | 2 +- ..._custom_resource_column_definition_spec.rb | 72 + ...v1beta1_custom_resource_conversion_spec.rb | 48 + ...stom_resource_definition_condition_spec.rb | 2 +- ...a1_custom_resource_definition_list_spec.rb | 2 +- ...1_custom_resource_definition_names_spec.rb | 8 +- ...v1beta1_custom_resource_definition_spec.rb | 2 +- ...a1_custom_resource_definition_spec_spec.rb | 26 +- ..._custom_resource_definition_status_spec.rb | 8 +- ...custom_resource_definition_version_spec.rb | 72 + ..._custom_resource_subresource_scale_spec.rb | 54 + ...eta1_custom_resource_subresources_spec.rb} | 18 +- ...v1beta1_custom_resource_validation_spec.rb | 2 +- .../v1beta1_daemon_set_condition_spec.rb | 66 + .../models/v1beta1_daemon_set_list_spec.rb | 2 +- .../spec/models/v1beta1_daemon_set_spec.rb | 2 +- .../models/v1beta1_daemon_set_spec_spec.rb | 2 +- .../models/v1beta1_daemon_set_status_spec.rb | 8 +- ...v1beta1_daemon_set_update_strategy_spec.rb | 2 +- .../spec/models/v1beta1_event_list_spec.rb | 60 + .../spec/models/v1beta1_event_series_spec.rb | 54 + kubernetes/spec/models/v1beta1_event_spec.rb | 138 + .../spec/models/v1beta1_eviction_spec.rb | 2 +- .../v1beta1_external_documentation_spec.rb | 2 +- .../models/v1beta1_http_ingress_path_spec.rb | 2 +- .../v1beta1_http_ingress_rule_value_spec.rb | 2 +- .../models/v1beta1_ingress_backend_spec.rb | 2 +- .../spec/models/v1beta1_ingress_list_spec.rb | 2 +- .../spec/models/v1beta1_ingress_rule_spec.rb | 2 +- .../spec/models/v1beta1_ingress_spec.rb | 2 +- .../spec/models/v1beta1_ingress_spec_spec.rb | 2 +- .../models/v1beta1_ingress_status_spec.rb | 2 +- .../spec/models/v1beta1_ingress_tls_spec.rb | 2 +- .../spec/models/v1beta1_ip_block_spec.rb | 2 +- .../models/v1beta1_job_template_spec_spec.rb | 2 +- .../models/v1beta1_json_schema_props_spec.rb | 2 +- .../spec/models/v1beta1_lease_list_spec.rb | 60 + kubernetes/spec/models/v1beta1_lease_spec.rb | 60 + .../spec/models/v1beta1_lease_spec_spec.rb | 66 + ...1beta1_local_subject_access_review_spec.rb | 2 +- ...utating_webhook_configuration_list_spec.rb | 60 + ...ta1_mutating_webhook_configuration_spec.rb | 60 + ...v1beta1_network_policy_egress_rule_spec.rb | 2 +- ...1beta1_network_policy_ingress_rule_spec.rb | 2 +- .../v1beta1_network_policy_list_spec.rb | 2 +- .../v1beta1_network_policy_peer_spec.rb | 2 +- .../v1beta1_network_policy_port_spec.rb | 2 +- .../models/v1beta1_network_policy_spec.rb | 2 +- .../v1beta1_network_policy_spec_spec.rb | 2 +- .../v1beta1_non_resource_attributes_spec.rb | 2 +- .../models/v1beta1_non_resource_rule_spec.rb | 2 +- ...v1beta1_pod_disruption_budget_list_spec.rb | 2 +- .../v1beta1_pod_disruption_budget_spec.rb | 2 +- ...v1beta1_pod_disruption_budget_spec_spec.rb | 2 +- ...beta1_pod_disruption_budget_status_spec.rb | 2 +- .../spec/models/v1beta1_policy_rule_spec.rb | 2 +- .../v1beta1_priority_class_list_spec.rb | 60 + .../models/v1beta1_priority_class_spec.rb | 72 + .../v1beta1_replica_set_condition_spec.rb | 2 +- .../models/v1beta1_replica_set_list_spec.rb | 2 +- .../spec/models/v1beta1_replica_set_spec.rb | 2 +- .../models/v1beta1_replica_set_spec_spec.rb | 2 +- .../models/v1beta1_replica_set_status_spec.rb | 2 +- .../v1beta1_resource_attributes_spec.rb | 2 +- .../spec/models/v1beta1_resource_rule_spec.rb | 2 +- .../models/v1beta1_role_binding_list_spec.rb | 2 +- .../spec/models/v1beta1_role_binding_spec.rb | 2 +- .../spec/models/v1beta1_role_list_spec.rb | 2 +- .../spec/models/v1beta1_role_ref_spec.rb | 2 +- kubernetes/spec/models/v1beta1_role_spec.rb | 2 +- .../v1beta1_rolling_update_daemon_set_spec.rb | 2 +- ...lling_update_stateful_set_strategy_spec.rb | 2 +- ...b => v1beta1_rule_with_operations_spec.rb} | 14 +- ...v1beta1_self_subject_access_review_spec.rb | 2 +- ...a1_self_subject_access_review_spec_spec.rb | 2 +- .../v1beta1_self_subject_rules_review_spec.rb | 2 +- ...ta1_self_subject_rules_review_spec_spec.rb | 2 +- .../v1beta1_stateful_set_condition_spec.rb | 66 + .../models/v1beta1_stateful_set_list_spec.rb | 2 +- .../spec/models/v1beta1_stateful_set_spec.rb | 2 +- .../models/v1beta1_stateful_set_spec_spec.rb | 2 +- .../v1beta1_stateful_set_status_spec.rb | 8 +- ...beta1_stateful_set_update_strategy_spec.rb | 2 +- .../models/v1beta1_storage_class_list_spec.rb | 2 +- .../spec/models/v1beta1_storage_class_spec.rb | 14 +- .../v1beta1_subject_access_review_spec.rb | 2 +- ...v1beta1_subject_access_review_spec_spec.rb | 2 +- ...beta1_subject_access_review_status_spec.rb | 8 +- ...1beta1_subject_rules_review_status_spec.rb | 2 +- .../spec/models/v1beta1_subject_spec.rb | 2 +- .../spec/models/v1beta1_token_review_spec.rb | 2 +- .../models/v1beta1_token_review_spec_spec.rb | 8 +- .../v1beta1_token_review_status_spec.rb | 8 +- .../spec/models/v1beta1_user_info_spec.rb | 2 +- ...dating_webhook_configuration_list_spec.rb} | 14 +- ..._validating_webhook_configuration_spec.rb} | 20 +- .../v1beta1_volume_attachment_list_spec.rb | 60 + .../v1beta1_volume_attachment_source_spec.rb | 42 + .../models/v1beta1_volume_attachment_spec.rb | 66 + .../v1beta1_volume_attachment_spec_spec.rb | 54 + .../v1beta1_volume_attachment_status_spec.rb | 60 + .../spec/models/v1beta1_volume_error_spec.rb | 48 + .../spec/models/v1beta1_webhook_spec.rb | 72 + .../v1beta2_controller_revision_list_spec.rb | 2 +- .../v1beta2_controller_revision_spec.rb | 2 +- .../v1beta2_daemon_set_condition_spec.rb | 66 + .../models/v1beta2_daemon_set_list_spec.rb | 2 +- .../spec/models/v1beta2_daemon_set_spec.rb | 2 +- .../models/v1beta2_daemon_set_spec_spec.rb | 2 +- .../models/v1beta2_daemon_set_status_spec.rb | 8 +- ...v1beta2_daemon_set_update_strategy_spec.rb | 2 +- .../v1beta2_deployment_condition_spec.rb | 2 +- .../models/v1beta2_deployment_list_spec.rb | 2 +- .../spec/models/v1beta2_deployment_spec.rb | 2 +- .../models/v1beta2_deployment_spec_spec.rb | 2 +- .../models/v1beta2_deployment_status_spec.rb | 2 +- .../v1beta2_deployment_strategy_spec.rb | 2 +- .../v1beta2_replica_set_condition_spec.rb | 2 +- .../models/v1beta2_replica_set_list_spec.rb | 2 +- .../spec/models/v1beta2_replica_set_spec.rb | 2 +- .../models/v1beta2_replica_set_spec_spec.rb | 2 +- .../models/v1beta2_replica_set_status_spec.rb | 2 +- .../v1beta2_rolling_update_daemon_set_spec.rb | 2 +- .../v1beta2_rolling_update_deployment_spec.rb | 2 +- ...lling_update_stateful_set_strategy_spec.rb | 2 +- kubernetes/spec/models/v1beta2_scale_spec.rb | 2 +- .../spec/models/v1beta2_scale_spec_spec.rb | 2 +- .../spec/models/v1beta2_scale_status_spec.rb | 2 +- .../v1beta2_stateful_set_condition_spec.rb | 66 + .../models/v1beta2_stateful_set_list_spec.rb | 2 +- .../spec/models/v1beta2_stateful_set_spec.rb | 2 +- .../models/v1beta2_stateful_set_spec_spec.rb | 2 +- .../v1beta2_stateful_set_status_spec.rb | 8 +- ...beta2_stateful_set_update_strategy_spec.rb | 2 +- .../models/v2alpha1_cron_job_list_spec.rb | 2 +- .../spec/models/v2alpha1_cron_job_spec.rb | 2 +- .../models/v2alpha1_cron_job_spec_spec.rb | 2 +- .../models/v2alpha1_cron_job_status_spec.rb | 2 +- .../models/v2alpha1_job_template_spec_spec.rb | 2 +- ...ta1_cross_version_object_reference_spec.rb | 2 +- .../v2beta1_external_metric_source_spec.rb | 60 + .../v2beta1_external_metric_status_spec.rb | 60 + ...orizontal_pod_autoscaler_condition_spec.rb | 2 +- ...ta1_horizontal_pod_autoscaler_list_spec.rb | 2 +- .../v2beta1_horizontal_pod_autoscaler_spec.rb | 2 +- ...ta1_horizontal_pod_autoscaler_spec_spec.rb | 2 +- ...1_horizontal_pod_autoscaler_status_spec.rb | 2 +- .../spec/models/v2beta1_metric_spec_spec.rb | 8 +- .../spec/models/v2beta1_metric_status_spec.rb | 8 +- .../v2beta1_object_metric_source_spec.rb | 14 +- .../v2beta1_object_metric_status_spec.rb | 14 +- .../models/v2beta1_pods_metric_source_spec.rb | 8 +- .../models/v2beta1_pods_metric_status_spec.rb | 8 +- .../v2beta1_resource_metric_source_spec.rb | 2 +- .../v2beta1_resource_metric_status_spec.rb | 2 +- ...ta2_cross_version_object_reference_spec.rb | 54 + .../v2beta2_external_metric_source_spec.rb | 48 + .../v2beta2_external_metric_status_spec.rb | 48 + ...orizontal_pod_autoscaler_condition_spec.rb | 66 + ...ta2_horizontal_pod_autoscaler_list_spec.rb | 60 + .../v2beta2_horizontal_pod_autoscaler_spec.rb | 66 + ...ta2_horizontal_pod_autoscaler_spec_spec.rb | 60 + ...2_horizontal_pod_autoscaler_status_spec.rb | 72 + ...c.rb => v2beta2_metric_identifier_spec.rb} | 18 +- .../spec/models/v2beta2_metric_spec_spec.rb | 66 + .../spec/models/v2beta2_metric_status_spec.rb | 66 + .../spec/models/v2beta2_metric_target_spec.rb | 60 + .../v2beta2_metric_value_status_spec.rb | 54 + .../v2beta2_object_metric_source_spec.rb | 54 + .../v2beta2_object_metric_status_spec.rb | 54 + .../models/v2beta2_pods_metric_source_spec.rb | 48 + .../models/v2beta2_pods_metric_status_spec.rb | 48 + .../v2beta2_resource_metric_source_spec.rb | 48 + .../v2beta2_resource_metric_status_spec.rb | 48 + kubernetes/spec/models/version_info_spec.rb | 2 +- kubernetes/spec/spec_helper.rb | 5 +- kubernetes/swagger.json | 61955 +++++++++++----- settings | 4 +- 1581 files changed, 122040 insertions(+), 32792 deletions(-) create mode 100644 kubernetes/docs/AdmissionregistrationV1beta1Api.md create mode 100644 kubernetes/docs/AdmissionregistrationV1beta1ServiceReference.md create mode 100644 kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md create mode 100644 kubernetes/docs/ApiextensionsV1beta1ServiceReference.md create mode 100644 kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md create mode 100644 kubernetes/docs/ApiregistrationV1Api.md create mode 100644 kubernetes/docs/ApiregistrationV1beta1ServiceReference.md create mode 100644 kubernetes/docs/AppsV1Api.md create mode 100644 kubernetes/docs/AuditregistrationApi.md create mode 100644 kubernetes/docs/AuditregistrationV1alpha1Api.md create mode 100644 kubernetes/docs/AutoscalingV2beta2Api.md create mode 100644 kubernetes/docs/CoordinationApi.md create mode 100644 kubernetes/docs/CoordinationV1beta1Api.md create mode 100644 kubernetes/docs/EventsApi.md create mode 100644 kubernetes/docs/EventsV1beta1Api.md create mode 100644 kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md create mode 100644 kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md create mode 100644 kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md create mode 100644 kubernetes/docs/ExtensionsV1beta1HostPortRange.md create mode 100644 kubernetes/docs/ExtensionsV1beta1IDRange.md create mode 100644 kubernetes/docs/ExtensionsV1beta1PodSecurityPolicy.md create mode 100644 kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md create mode 100644 kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md create mode 100644 kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md create mode 100644 kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md create mode 100644 kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md create mode 100644 kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md create mode 100644 kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md create mode 100644 kubernetes/docs/PolicyV1beta1AllowedHostPath.md create mode 100644 kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md create mode 100644 kubernetes/docs/PolicyV1beta1HostPortRange.md rename kubernetes/docs/{V1beta1HostPortRange.md => PolicyV1beta1IDRange.md} (87%) rename kubernetes/docs/{V1beta1PodSecurityPolicy.md => PolicyV1beta1PodSecurityPolicy.md} (83%) create mode 100644 kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md create mode 100644 kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md create mode 100644 kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md create mode 100644 kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md rename kubernetes/docs/{V1beta1SELinuxStrategyOptions.md => PolicyV1beta1SELinuxStrategyOptions.md} (56%) create mode 100644 kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md create mode 100644 kubernetes/docs/SchedulingV1beta1Api.md create mode 100644 kubernetes/docs/StorageV1alpha1Api.md create mode 100644 kubernetes/docs/V1APIService.md create mode 100644 kubernetes/docs/V1APIServiceCondition.md create mode 100644 kubernetes/docs/V1APIServiceList.md create mode 100644 kubernetes/docs/V1APIServiceSpec.md create mode 100644 kubernetes/docs/V1APIServiceStatus.md create mode 100644 kubernetes/docs/V1AggregationRule.md create mode 100644 kubernetes/docs/V1CSIPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1CinderPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1ConfigMapNodeConfigSource.md create mode 100644 kubernetes/docs/V1ControllerRevision.md create mode 100644 kubernetes/docs/V1ControllerRevisionList.md create mode 100644 kubernetes/docs/V1DaemonSet.md create mode 100644 kubernetes/docs/V1DaemonSetCondition.md rename kubernetes/docs/{V1beta1PodSecurityPolicyList.md => V1DaemonSetList.md} (84%) create mode 100644 kubernetes/docs/V1DaemonSetSpec.md create mode 100644 kubernetes/docs/V1DaemonSetStatus.md create mode 100644 kubernetes/docs/V1DaemonSetUpdateStrategy.md create mode 100644 kubernetes/docs/V1Deployment.md create mode 100644 kubernetes/docs/V1DeploymentCondition.md create mode 100644 kubernetes/docs/V1DeploymentList.md create mode 100644 kubernetes/docs/V1DeploymentSpec.md create mode 100644 kubernetes/docs/V1DeploymentStatus.md create mode 100644 kubernetes/docs/V1DeploymentStrategy.md create mode 100644 kubernetes/docs/V1EventSeries.md create mode 100644 kubernetes/docs/V1FlexPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1GlusterfsPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1ISCSIPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1NodeConfigStatus.md create mode 100644 kubernetes/docs/V1PodDNSConfig.md create mode 100644 kubernetes/docs/V1PodDNSConfigOption.md create mode 100644 kubernetes/docs/V1PodReadinessGate.md create mode 100644 kubernetes/docs/V1RBDPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1ReplicaSet.md create mode 100644 kubernetes/docs/V1ReplicaSetCondition.md rename kubernetes/docs/{V1alpha1ExternalAdmissionHookConfigurationList.md => V1ReplicaSetList.md} (79%) create mode 100644 kubernetes/docs/V1ReplicaSetSpec.md create mode 100644 kubernetes/docs/V1ReplicaSetStatus.md create mode 100644 kubernetes/docs/V1RollingUpdateDaemonSet.md create mode 100644 kubernetes/docs/V1RollingUpdateDeployment.md create mode 100644 kubernetes/docs/V1RollingUpdateStatefulSetStrategy.md create mode 100644 kubernetes/docs/V1ScaleIOPersistentVolumeSource.md create mode 100644 kubernetes/docs/V1ScopeSelector.md create mode 100644 kubernetes/docs/V1ScopedResourceSelectorRequirement.md create mode 100644 kubernetes/docs/V1ServiceAccountTokenProjection.md rename kubernetes/docs/{V1beta1ServiceReference.md => V1ServiceReference.md} (87%) create mode 100644 kubernetes/docs/V1StatefulSet.md create mode 100644 kubernetes/docs/V1StatefulSetCondition.md create mode 100644 kubernetes/docs/V1StatefulSetList.md create mode 100644 kubernetes/docs/V1StatefulSetSpec.md create mode 100644 kubernetes/docs/V1StatefulSetStatus.md create mode 100644 kubernetes/docs/V1StatefulSetUpdateStrategy.md create mode 100644 kubernetes/docs/V1Sysctl.md create mode 100644 kubernetes/docs/V1TopologySelectorLabelRequirement.md create mode 100644 kubernetes/docs/V1TopologySelectorTerm.md create mode 100644 kubernetes/docs/V1TypedLocalObjectReference.md create mode 100644 kubernetes/docs/V1VolumeAttachment.md create mode 100644 kubernetes/docs/V1VolumeAttachmentList.md create mode 100644 kubernetes/docs/V1VolumeAttachmentSource.md create mode 100644 kubernetes/docs/V1VolumeAttachmentSpec.md create mode 100644 kubernetes/docs/V1VolumeAttachmentStatus.md create mode 100644 kubernetes/docs/V1VolumeDevice.md create mode 100644 kubernetes/docs/V1VolumeError.md create mode 100644 kubernetes/docs/V1VolumeNodeAffinity.md delete mode 100644 kubernetes/docs/V1alpha1AdmissionHookClientConfig.md create mode 100644 kubernetes/docs/V1alpha1AggregationRule.md create mode 100644 kubernetes/docs/V1alpha1AuditSink.md create mode 100644 kubernetes/docs/V1alpha1AuditSinkList.md create mode 100644 kubernetes/docs/V1alpha1AuditSinkSpec.md delete mode 100644 kubernetes/docs/V1alpha1ExternalAdmissionHook.md create mode 100644 kubernetes/docs/V1alpha1Policy.md create mode 100644 kubernetes/docs/V1alpha1VolumeAttachment.md create mode 100644 kubernetes/docs/V1alpha1VolumeAttachmentList.md create mode 100644 kubernetes/docs/V1alpha1VolumeAttachmentSource.md create mode 100644 kubernetes/docs/V1alpha1VolumeAttachmentSpec.md create mode 100644 kubernetes/docs/V1alpha1VolumeAttachmentStatus.md create mode 100644 kubernetes/docs/V1alpha1VolumeError.md create mode 100644 kubernetes/docs/V1alpha1Webhook.md create mode 100644 kubernetes/docs/V1alpha1WebhookClientConfig.md create mode 100644 kubernetes/docs/V1alpha1WebhookThrottleConfig.md create mode 100644 kubernetes/docs/V1beta1AggregationRule.md delete mode 100644 kubernetes/docs/V1beta1AllowedHostPath.md create mode 100644 kubernetes/docs/V1beta1CustomResourceColumnDefinition.md create mode 100644 kubernetes/docs/V1beta1CustomResourceConversion.md create mode 100644 kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md create mode 100644 kubernetes/docs/V1beta1CustomResourceSubresourceScale.md create mode 100644 kubernetes/docs/V1beta1CustomResourceSubresources.md create mode 100644 kubernetes/docs/V1beta1DaemonSetCondition.md create mode 100644 kubernetes/docs/V1beta1Event.md create mode 100644 kubernetes/docs/V1beta1EventList.md create mode 100644 kubernetes/docs/V1beta1EventSeries.md delete mode 100644 kubernetes/docs/V1beta1FSGroupStrategyOptions.md delete mode 100644 kubernetes/docs/V1beta1IDRange.md delete mode 100644 kubernetes/docs/V1beta1JSON.md delete mode 100644 kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md delete mode 100644 kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md delete mode 100644 kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md create mode 100644 kubernetes/docs/V1beta1Lease.md create mode 100644 kubernetes/docs/V1beta1LeaseList.md create mode 100644 kubernetes/docs/V1beta1LeaseSpec.md rename kubernetes/docs/{V1alpha1ExternalAdmissionHookConfiguration.md => V1beta1MutatingWebhookConfiguration.md} (75%) create mode 100644 kubernetes/docs/V1beta1MutatingWebhookConfigurationList.md delete mode 100644 kubernetes/docs/V1beta1PodSecurityPolicySpec.md create mode 100644 kubernetes/docs/V1beta1PriorityClass.md create mode 100644 kubernetes/docs/V1beta1PriorityClassList.md rename kubernetes/docs/{V1alpha1RuleWithOperations.md => V1beta1RuleWithOperations.md} (97%) delete mode 100644 kubernetes/docs/V1beta1RunAsUserStrategyOptions.md create mode 100644 kubernetes/docs/V1beta1StatefulSetCondition.md delete mode 100644 kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md create mode 100644 kubernetes/docs/V1beta1ValidatingWebhookConfiguration.md create mode 100644 kubernetes/docs/V1beta1ValidatingWebhookConfigurationList.md create mode 100644 kubernetes/docs/V1beta1VolumeAttachment.md create mode 100644 kubernetes/docs/V1beta1VolumeAttachmentList.md create mode 100644 kubernetes/docs/V1beta1VolumeAttachmentSource.md create mode 100644 kubernetes/docs/V1beta1VolumeAttachmentSpec.md create mode 100644 kubernetes/docs/V1beta1VolumeAttachmentStatus.md create mode 100644 kubernetes/docs/V1beta1VolumeError.md create mode 100644 kubernetes/docs/V1beta1Webhook.md create mode 100644 kubernetes/docs/V1beta2DaemonSetCondition.md create mode 100644 kubernetes/docs/V1beta2StatefulSetCondition.md create mode 100644 kubernetes/docs/V2beta1ExternalMetricSource.md create mode 100644 kubernetes/docs/V2beta1ExternalMetricStatus.md create mode 100644 kubernetes/docs/V2beta2CrossVersionObjectReference.md create mode 100644 kubernetes/docs/V2beta2ExternalMetricSource.md create mode 100644 kubernetes/docs/V2beta2ExternalMetricStatus.md create mode 100644 kubernetes/docs/V2beta2HorizontalPodAutoscaler.md create mode 100644 kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md create mode 100644 kubernetes/docs/V2beta2HorizontalPodAutoscalerList.md create mode 100644 kubernetes/docs/V2beta2HorizontalPodAutoscalerSpec.md create mode 100644 kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md create mode 100644 kubernetes/docs/V2beta2MetricIdentifier.md create mode 100644 kubernetes/docs/V2beta2MetricSpec.md create mode 100644 kubernetes/docs/V2beta2MetricStatus.md create mode 100644 kubernetes/docs/V2beta2MetricTarget.md create mode 100644 kubernetes/docs/V2beta2MetricValueStatus.md create mode 100644 kubernetes/docs/V2beta2ObjectMetricSource.md create mode 100644 kubernetes/docs/V2beta2ObjectMetricStatus.md create mode 100644 kubernetes/docs/V2beta2PodsMetricSource.md create mode 100644 kubernetes/docs/V2beta2PodsMetricStatus.md create mode 100644 kubernetes/docs/V2beta2ResourceMetricSource.md create mode 100644 kubernetes/docs/V2beta2ResourceMetricStatus.md create mode 100644 kubernetes/lib/kubernetes/api/admissionregistration_v1beta1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/apiregistration_v1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/apps_v1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/auditregistration_api.rb create mode 100644 kubernetes/lib/kubernetes/api/auditregistration_v1alpha1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/autoscaling_v2beta2_api.rb create mode 100644 kubernetes/lib/kubernetes/api/coordination_api.rb create mode 100644 kubernetes/lib/kubernetes/api/coordination_v1beta1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/events_api.rb create mode 100644 kubernetes/lib/kubernetes/api/events_v1beta1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/scheduling_v1beta1_api.rb create mode 100644 kubernetes/lib/kubernetes/api/storage_v1alpha1_api.rb create mode 100644 kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb create mode 100644 kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb create mode 100644 kubernetes/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb create mode 100644 kubernetes/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb rename kubernetes/lib/kubernetes/models/{v1beta1_allowed_host_path.rb => apiregistration_v1beta1_service_reference.rb} (87%) create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb rename kubernetes/lib/kubernetes/models/{v1beta1_host_port_range.rb => extensions_v1beta1_id_range.rb} (96%) create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb create mode 100644 kubernetes/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb create mode 100644 kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb create mode 100644 kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb rename kubernetes/lib/kubernetes/models/{v1beta1_fs_group_strategy_options.rb => policy_v1beta1_fs_group_strategy_options.rb} (94%) create mode 100644 kubernetes/lib/kubernetes/models/policy_v1beta1_host_port_range.rb rename kubernetes/lib/kubernetes/models/{v1beta1_id_range.rb => policy_v1beta1_id_range.rb} (96%) rename kubernetes/lib/kubernetes/models/{v1beta1_pod_security_policy.rb => policy_v1beta1_pod_security_policy.rb} (96%) create mode 100644 kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb rename kubernetes/lib/kubernetes/models/{v1beta1_pod_security_policy_spec.rb => policy_v1beta1_pod_security_policy_spec.rb} (69%) create mode 100644 kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb rename kubernetes/lib/kubernetes/models/{v1beta1_run_as_user_strategy_options.rb => policy_v1beta1_run_as_user_strategy_options.rb} (92%) rename kubernetes/lib/kubernetes/models/{v1beta1_se_linux_strategy_options.rb => policy_v1beta1_se_linux_strategy_options.rb} (94%) rename kubernetes/lib/kubernetes/models/{v1beta1_supplemental_groups_strategy_options.rb => policy_v1beta1_supplemental_groups_strategy_options.rb} (94%) create mode 100644 kubernetes/lib/kubernetes/models/v1_aggregation_rule.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_api_service.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_api_service_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_api_service_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_api_service_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_api_service_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb rename kubernetes/lib/kubernetes/models/{v1alpha1_external_admission_hook.rb => v1_config_map_node_config_source.rb} (70%) create mode 100644 kubernetes/lib/kubernetes/models/v1_controller_revision.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_controller_revision_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_csi_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_daemon_set_update_strategy.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_deployment_strategy.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_event_series.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_flex_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_node_config_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_pod_dns_config.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_pod_dns_config_option.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_pod_readiness_gate.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_replica_set.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_replica_set_condition.rb rename kubernetes/lib/kubernetes/models/{v1alpha1_external_admission_hook_configuration_list.rb => v1_replica_set_list.rb} (95%) create mode 100644 kubernetes/lib/kubernetes/models/v1_replica_set_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_replica_set_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_rolling_update_daemon_set.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_rolling_update_deployment.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_scope_selector.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_service_account_token_projection.rb rename kubernetes/lib/kubernetes/models/{v1beta1_service_reference.rb => v1_service_reference.rb} (98%) create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_stateful_set_update_strategy.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_sysctl.rb rename kubernetes/lib/kubernetes/models/{v1beta1_json_schema_props_or_array.rb => v1_topology_selector_label_requirement.rb} (81%) create mode 100644 kubernetes/lib/kubernetes/models/v1_topology_selector_term.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_typed_local_object_reference.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_attachment.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_attachment_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_attachment_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_attachment_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_attachment_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_device.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_error.rb create mode 100644 kubernetes/lib/kubernetes/models/v1_volume_node_affinity.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_aggregation_rule.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_audit_sink.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_list.rb rename kubernetes/lib/kubernetes/models/{v1beta1_json_schema_props_or_string_array.rb => v1alpha1_audit_sink_spec.rb} (83%) rename kubernetes/lib/kubernetes/models/{v1beta1_json_schema_props_or_bool.rb => v1alpha1_policy.rb} (84%) create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_volume_error.rb create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_webhook.rb rename kubernetes/lib/kubernetes/models/{v1alpha1_admission_hook_client_config.rb => v1alpha1_webhook_client_config.rb} (70%) create mode 100644 kubernetes/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_aggregation_rule.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_daemon_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_event.rb rename kubernetes/lib/kubernetes/models/{v1beta1_pod_security_policy_list.rb => v1beta1_event_list.rb} (97%) create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_event_series.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_lease.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_lease_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_lease_spec.rb rename kubernetes/lib/kubernetes/models/{v1alpha1_external_admission_hook_configuration.rb => v1beta1_mutating_webhook_configuration.rb} (87%) create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_priority_class.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_priority_class_list.rb rename kubernetes/lib/kubernetes/models/{v1alpha1_rule_with_operations.rb => v1beta1_rule_with_operations.rb} (99%) create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_stateful_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_attachment.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_volume_error.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta1_webhook.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta2_daemon_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v1beta2_stateful_set_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta1_external_metric_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta1_external_metric_status.rb rename kubernetes/lib/kubernetes/models/{v1beta1_json.rb => v2beta2_cross_version_object_reference.rb} (78%) create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_external_metric_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_external_metric_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_metric_identifier.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_metric_spec.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_metric_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_metric_target.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_metric_value_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_object_metric_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_object_metric_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_pods_metric_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_pods_metric_status.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_resource_metric_source.rb create mode 100644 kubernetes/lib/kubernetes/models/v2beta2_resource_metric_status.rb create mode 100644 kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb create mode 100644 kubernetes/spec/api/apiregistration_v1_api_spec.rb create mode 100644 kubernetes/spec/api/apps_v1_api_spec.rb create mode 100644 kubernetes/spec/api/auditregistration_api_spec.rb create mode 100644 kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb create mode 100644 kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb create mode 100644 kubernetes/spec/api/coordination_api_spec.rb create mode 100644 kubernetes/spec/api/coordination_v1beta1_api_spec.rb create mode 100644 kubernetes/spec/api/events_api_spec.rb create mode 100644 kubernetes/spec/api/events_v1beta1_api_spec.rb create mode 100644 kubernetes/spec/api/scheduling_v1beta1_api_spec.rb create mode 100644 kubernetes/spec/api/storage_v1alpha1_api_spec.rb create mode 100644 kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb create mode 100644 kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb create mode 100644 kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb create mode 100644 kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb create mode 100644 kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb rename kubernetes/spec/models/{v1beta1_supplemental_groups_strategy_options_spec.rb => extensions_v1beta1_fs_group_strategy_options_spec.rb} (64%) create mode 100644 kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb rename kubernetes/spec/models/{v1beta1_host_port_range_spec.rb => extensions_v1beta1_id_range_spec.rb} (69%) create mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb create mode 100644 kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb create mode 100644 kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb create mode 100644 kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb rename kubernetes/spec/models/{v1beta1_fs_group_strategy_options_spec.rb => policy_v1beta1_fs_group_strategy_options_spec.rb} (65%) create mode 100644 kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb rename kubernetes/spec/models/{v1beta1_id_range_spec.rb => policy_v1beta1_id_range_spec.rb} (70%) create mode 100644 kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb create mode 100644 kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb rename kubernetes/spec/models/{v1beta1_pod_security_policy_spec_spec.rb => policy_v1beta1_pod_security_policy_spec_spec.rb} (72%) create mode 100644 kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb rename kubernetes/spec/models/{v1beta1_run_as_user_strategy_options_spec.rb => policy_v1beta1_run_as_user_strategy_options_spec.rb} (65%) rename kubernetes/spec/models/{v1beta1_se_linux_strategy_options_spec.rb => policy_v1beta1_se_linux_strategy_options_spec.rb} (66%) create mode 100644 kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb rename kubernetes/spec/models/{v1beta1_allowed_host_path_spec.rb => v1_aggregation_rule_spec.rb} (61%) create mode 100644 kubernetes/spec/models/v1_api_service_condition_spec.rb create mode 100644 kubernetes/spec/models/v1_api_service_list_spec.rb create mode 100644 kubernetes/spec/models/v1_api_service_spec.rb create mode 100644 kubernetes/spec/models/v1_api_service_spec_spec.rb create mode 100644 kubernetes/spec/models/v1_api_service_status_spec.rb create mode 100644 kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_config_map_node_config_source_spec.rb create mode 100644 kubernetes/spec/models/v1_controller_revision_list_spec.rb create mode 100644 kubernetes/spec/models/v1_controller_revision_spec.rb create mode 100644 kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_list_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_spec_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_status_spec.rb create mode 100644 kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_condition_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_list_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_spec_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_status_spec.rb create mode 100644 kubernetes/spec/models/v1_deployment_strategy_spec.rb rename kubernetes/spec/models/{v1beta1_json_schema_props_or_string_array_spec.rb => v1_event_series_spec.rb} (57%) create mode 100644 kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_node_config_status_spec.rb create mode 100644 kubernetes/spec/models/v1_pod_dns_config_option_spec.rb create mode 100644 kubernetes/spec/models/v1_pod_dns_config_spec.rb create mode 100644 kubernetes/spec/models/v1_pod_readiness_gate_spec.rb create mode 100644 kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb create mode 100644 kubernetes/spec/models/v1_replica_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v1_replica_set_list_spec.rb create mode 100644 kubernetes/spec/models/v1_replica_set_spec.rb create mode 100644 kubernetes/spec/models/v1_replica_set_spec_spec.rb create mode 100644 kubernetes/spec/models/v1_replica_set_status_spec.rb create mode 100644 kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb create mode 100644 kubernetes/spec/models/v1_rolling_update_deployment_spec.rb create mode 100644 kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb create mode 100644 kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb rename kubernetes/spec/models/{v1beta1_json_spec.rb => v1_scope_selector_spec.rb} (63%) create mode 100644 kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb create mode 100644 kubernetes/spec/models/v1_service_account_token_projection_spec.rb rename kubernetes/spec/models/{v1beta1_service_reference_spec.rb => v1_service_reference_spec.rb} (69%) create mode 100644 kubernetes/spec/models/v1_stateful_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v1_stateful_set_list_spec.rb create mode 100644 kubernetes/spec/models/v1_stateful_set_spec.rb create mode 100644 kubernetes/spec/models/v1_stateful_set_spec_spec.rb create mode 100644 kubernetes/spec/models/v1_stateful_set_status_spec.rb create mode 100644 kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb create mode 100644 kubernetes/spec/models/v1_sysctl_spec.rb rename kubernetes/spec/models/{v1alpha1_admission_hook_client_config_spec.rb => v1_topology_selector_label_requirement_spec.rb} (60%) create mode 100644 kubernetes/spec/models/v1_topology_selector_term_spec.rb create mode 100644 kubernetes/spec/models/v1_typed_local_object_reference_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_attachment_list_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_attachment_source_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_attachment_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_attachment_spec_spec.rb rename kubernetes/spec/models/{v1alpha1_external_admission_hook_spec.rb => v1_volume_attachment_status_spec.rb} (65%) create mode 100644 kubernetes/spec/models/v1_volume_device_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_error_spec.rb create mode 100644 kubernetes/spec/models/v1_volume_node_affinity_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb rename kubernetes/spec/models/{v1beta1_pod_security_policy_spec.rb => v1alpha1_audit_sink_spec.rb} (76%) create mode 100644 kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_policy_spec.rb rename kubernetes/spec/models/{v1beta1_pod_security_policy_list_spec.rb => v1alpha1_volume_attachment_list_spec.rb} (75%) create mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_volume_error_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_webhook_spec.rb create mode 100644 kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb rename kubernetes/spec/models/{v1beta1_json_schema_props_or_array_spec.rb => v1beta1_custom_resource_subresources_spec.rb} (60%) create mode 100644 kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_event_list_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_event_series_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_event_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_lease_list_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_lease_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_lease_spec_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_priority_class_list_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_priority_class_spec.rb rename kubernetes/spec/models/{v1alpha1_rule_with_operations_spec.rb => v1beta1_rule_with_operations_spec.rb} (76%) create mode 100644 kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb rename kubernetes/spec/models/{v1alpha1_external_admission_hook_configuration_list_spec.rb => v1beta1_validating_webhook_configuration_list_spec.rb} (71%) rename kubernetes/spec/models/{v1alpha1_external_admission_hook_configuration_spec.rb => v1beta1_validating_webhook_configuration_spec.rb} (69%) create mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_volume_error_spec.rb create mode 100644 kubernetes/spec/models/v1beta1_webhook_spec.rb create mode 100644 kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb create mode 100644 kubernetes/spec/models/v2beta1_external_metric_source_spec.rb create mode 100644 kubernetes/spec/models/v2beta1_external_metric_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_external_metric_source_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_external_metric_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb rename kubernetes/spec/models/{v1beta1_json_schema_props_or_bool_spec.rb => v2beta2_metric_identifier_spec.rb} (62%) create mode 100644 kubernetes/spec/models/v2beta2_metric_spec_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_metric_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_metric_target_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_metric_value_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_object_metric_source_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_object_metric_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb create mode 100644 kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb diff --git a/kubernetes/README.md b/kubernetes/README.md index eb841746..e7d82a3c 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -6,8 +6,8 @@ No description provided (generated by Swagger Codegen https://github.com/swagger This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: v1.8.3 -- Package version: 1.0.0-alpha1 +- API version: v1.13.4 +- Package version: 1.0.0-alpha2 - Build package: io.swagger.codegen.languages.RubyClientCodegen ## Installation @@ -23,15 +23,15 @@ gem build kubernetes.gemspec Then either install the gem locally: ```shell -gem install ./kubernetes-1.0.0-alpha1.gem +gem install ./kubernetes-1.0.0-alpha2.gem ``` -(for development, run `gem install --dev ./kubernetes-1.0.0-alpha1.gem` to install the development dependencies) +(for development, run `gem install --dev ./kubernetes-1.0.0-alpha2.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'kubernetes', '~> 1.0.0-alpha1' + gem 'kubernetes', '~> 1.0.0-alpha2' ### Install from Git @@ -53,10 +53,14 @@ Please follow the [installation](#installation) procedure and then run the follo ```ruby # Load the gem require 'kubernetes' -require 'kubernetes/utils' -# Configs can be set in Configuration class directly or using helper utility -Kubernetes.load_kube_config +# Setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end api_instance = Kubernetes::AdmissionregistrationApi.new @@ -76,21 +80,29 @@ All URIs are relative to *https://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *Kubernetes::AdmissionregistrationApi* | [**get_api_group**](docs/AdmissionregistrationApi.md#get_api_group) | **GET** /apis/admissionregistration.k8s.io/ | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**create_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#create_external_admission_hook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**create_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#create_initializer_configuration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**delete_collection_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#delete_collection_external_admission_hook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**delete_collection_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#delete_collection_initializer_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**delete_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#delete_external_admission_hook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**delete_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#delete_initializer_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**get_api_resources**](docs/AdmissionregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/ | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**list_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#list_external_admission_hook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**list_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#list_initializer_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**patch_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#patch_external_admission_hook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**patch_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#patch_initializer_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**read_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#read_external_admission_hook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**read_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#read_initializer_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | -*Kubernetes::AdmissionregistrationV1alpha1Api* | [**replace_external_admission_hook_configuration**](docs/AdmissionregistrationV1alpha1Api.md#replace_external_admission_hook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | *Kubernetes::AdmissionregistrationV1alpha1Api* | [**replace_initializer_configuration**](docs/AdmissionregistrationV1alpha1Api.md#replace_initializer_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**create_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#create_mutating_webhook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**create_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#create_validating_webhook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**delete_collection_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_mutating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**delete_collection_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#delete_collection_validating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**delete_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#delete_mutating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**delete_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#delete_validating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**get_api_resources**](docs/AdmissionregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/admissionregistration.k8s.io/v1beta1/ | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**list_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#list_mutating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**list_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#list_validating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**patch_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#patch_mutating_webhook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**patch_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#patch_validating_webhook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**read_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#read_mutating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**read_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#read_validating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**replace_mutating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#replace_mutating_webhook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +*Kubernetes::AdmissionregistrationV1beta1Api* | [**replace_validating_webhook_configuration**](docs/AdmissionregistrationV1beta1Api.md#replace_validating_webhook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | *Kubernetes::ApiextensionsApi* | [**get_api_group**](docs/ApiextensionsApi.md#get_api_group) | **GET** /apis/apiextensions.k8s.io/ | *Kubernetes::ApiextensionsV1beta1Api* | [**create_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#create_custom_resource_definition) | **POST** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | *Kubernetes::ApiextensionsV1beta1Api* | [**delete_collection_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#delete_collection_custom_resource_definition) | **DELETE** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | @@ -98,21 +110,98 @@ Class | Method | HTTP request | Description *Kubernetes::ApiextensionsV1beta1Api* | [**get_api_resources**](docs/ApiextensionsV1beta1Api.md#get_api_resources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ | *Kubernetes::ApiextensionsV1beta1Api* | [**list_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#list_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | *Kubernetes::ApiextensionsV1beta1Api* | [**patch_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#patch_custom_resource_definition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +*Kubernetes::ApiextensionsV1beta1Api* | [**patch_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#patch_custom_resource_definition_status) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *Kubernetes::ApiextensionsV1beta1Api* | [**read_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#read_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +*Kubernetes::ApiextensionsV1beta1Api* | [**read_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#read_custom_resource_definition_status) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *Kubernetes::ApiextensionsV1beta1Api* | [**replace_custom_resource_definition**](docs/ApiextensionsV1beta1Api.md#replace_custom_resource_definition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | *Kubernetes::ApiextensionsV1beta1Api* | [**replace_custom_resource_definition_status**](docs/ApiextensionsV1beta1Api.md#replace_custom_resource_definition_status) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | *Kubernetes::ApiregistrationApi* | [**get_api_group**](docs/ApiregistrationApi.md#get_api_group) | **GET** /apis/apiregistration.k8s.io/ | +*Kubernetes::ApiregistrationV1Api* | [**create_api_service**](docs/ApiregistrationV1Api.md#create_api_service) | **POST** /apis/apiregistration.k8s.io/v1/apiservices | +*Kubernetes::ApiregistrationV1Api* | [**delete_api_service**](docs/ApiregistrationV1Api.md#delete_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*Kubernetes::ApiregistrationV1Api* | [**delete_collection_api_service**](docs/ApiregistrationV1Api.md#delete_collection_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1/apiservices | +*Kubernetes::ApiregistrationV1Api* | [**get_api_resources**](docs/ApiregistrationV1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1/ | +*Kubernetes::ApiregistrationV1Api* | [**list_api_service**](docs/ApiregistrationV1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices | +*Kubernetes::ApiregistrationV1Api* | [**patch_api_service**](docs/ApiregistrationV1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*Kubernetes::ApiregistrationV1Api* | [**patch_api_service_status**](docs/ApiregistrationV1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | +*Kubernetes::ApiregistrationV1Api* | [**read_api_service**](docs/ApiregistrationV1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*Kubernetes::ApiregistrationV1Api* | [**read_api_service_status**](docs/ApiregistrationV1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | +*Kubernetes::ApiregistrationV1Api* | [**replace_api_service**](docs/ApiregistrationV1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +*Kubernetes::ApiregistrationV1Api* | [**replace_api_service_status**](docs/ApiregistrationV1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | *Kubernetes::ApiregistrationV1beta1Api* | [**create_api_service**](docs/ApiregistrationV1beta1Api.md#create_api_service) | **POST** /apis/apiregistration.k8s.io/v1beta1/apiservices | *Kubernetes::ApiregistrationV1beta1Api* | [**delete_api_service**](docs/ApiregistrationV1beta1Api.md#delete_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | *Kubernetes::ApiregistrationV1beta1Api* | [**delete_collection_api_service**](docs/ApiregistrationV1beta1Api.md#delete_collection_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1beta1/apiservices | *Kubernetes::ApiregistrationV1beta1Api* | [**get_api_resources**](docs/ApiregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1beta1/ | *Kubernetes::ApiregistrationV1beta1Api* | [**list_api_service**](docs/ApiregistrationV1beta1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices | *Kubernetes::ApiregistrationV1beta1Api* | [**patch_api_service**](docs/ApiregistrationV1beta1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +*Kubernetes::ApiregistrationV1beta1Api* | [**patch_api_service_status**](docs/ApiregistrationV1beta1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *Kubernetes::ApiregistrationV1beta1Api* | [**read_api_service**](docs/ApiregistrationV1beta1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +*Kubernetes::ApiregistrationV1beta1Api* | [**read_api_service_status**](docs/ApiregistrationV1beta1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *Kubernetes::ApiregistrationV1beta1Api* | [**replace_api_service**](docs/ApiregistrationV1beta1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | *Kubernetes::ApiregistrationV1beta1Api* | [**replace_api_service_status**](docs/ApiregistrationV1beta1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | *Kubernetes::ApisApi* | [**get_api_versions**](docs/ApisApi.md#get_api_versions) | **GET** /apis/ | *Kubernetes::AppsApi* | [**get_api_group**](docs/AppsApi.md#get_api_group) | **GET** /apis/apps/ | +*Kubernetes::AppsV1Api* | [**create_namespaced_controller_revision**](docs/AppsV1Api.md#create_namespaced_controller_revision) | **POST** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +*Kubernetes::AppsV1Api* | [**create_namespaced_daemon_set**](docs/AppsV1Api.md#create_namespaced_daemon_set) | **POST** /apis/apps/v1/namespaces/{namespace}/daemonsets | +*Kubernetes::AppsV1Api* | [**create_namespaced_deployment**](docs/AppsV1Api.md#create_namespaced_deployment) | **POST** /apis/apps/v1/namespaces/{namespace}/deployments | +*Kubernetes::AppsV1Api* | [**create_namespaced_replica_set**](docs/AppsV1Api.md#create_namespaced_replica_set) | **POST** /apis/apps/v1/namespaces/{namespace}/replicasets | +*Kubernetes::AppsV1Api* | [**create_namespaced_stateful_set**](docs/AppsV1Api.md#create_namespaced_stateful_set) | **POST** /apis/apps/v1/namespaces/{namespace}/statefulsets | +*Kubernetes::AppsV1Api* | [**delete_collection_namespaced_controller_revision**](docs/AppsV1Api.md#delete_collection_namespaced_controller_revision) | **DELETE** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +*Kubernetes::AppsV1Api* | [**delete_collection_namespaced_daemon_set**](docs/AppsV1Api.md#delete_collection_namespaced_daemon_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/daemonsets | +*Kubernetes::AppsV1Api* | [**delete_collection_namespaced_deployment**](docs/AppsV1Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/apps/v1/namespaces/{namespace}/deployments | +*Kubernetes::AppsV1Api* | [**delete_collection_namespaced_replica_set**](docs/AppsV1Api.md#delete_collection_namespaced_replica_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/replicasets | +*Kubernetes::AppsV1Api* | [**delete_collection_namespaced_stateful_set**](docs/AppsV1Api.md#delete_collection_namespaced_stateful_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/statefulsets | +*Kubernetes::AppsV1Api* | [**delete_namespaced_controller_revision**](docs/AppsV1Api.md#delete_namespaced_controller_revision) | **DELETE** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +*Kubernetes::AppsV1Api* | [**delete_namespaced_daemon_set**](docs/AppsV1Api.md#delete_namespaced_daemon_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +*Kubernetes::AppsV1Api* | [**delete_namespaced_deployment**](docs/AppsV1Api.md#delete_namespaced_deployment) | **DELETE** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +*Kubernetes::AppsV1Api* | [**delete_namespaced_replica_set**](docs/AppsV1Api.md#delete_namespaced_replica_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +*Kubernetes::AppsV1Api* | [**delete_namespaced_stateful_set**](docs/AppsV1Api.md#delete_namespaced_stateful_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +*Kubernetes::AppsV1Api* | [**get_api_resources**](docs/AppsV1Api.md#get_api_resources) | **GET** /apis/apps/v1/ | +*Kubernetes::AppsV1Api* | [**list_controller_revision_for_all_namespaces**](docs/AppsV1Api.md#list_controller_revision_for_all_namespaces) | **GET** /apis/apps/v1/controllerrevisions | +*Kubernetes::AppsV1Api* | [**list_daemon_set_for_all_namespaces**](docs/AppsV1Api.md#list_daemon_set_for_all_namespaces) | **GET** /apis/apps/v1/daemonsets | +*Kubernetes::AppsV1Api* | [**list_deployment_for_all_namespaces**](docs/AppsV1Api.md#list_deployment_for_all_namespaces) | **GET** /apis/apps/v1/deployments | +*Kubernetes::AppsV1Api* | [**list_namespaced_controller_revision**](docs/AppsV1Api.md#list_namespaced_controller_revision) | **GET** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +*Kubernetes::AppsV1Api* | [**list_namespaced_daemon_set**](docs/AppsV1Api.md#list_namespaced_daemon_set) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets | +*Kubernetes::AppsV1Api* | [**list_namespaced_deployment**](docs/AppsV1Api.md#list_namespaced_deployment) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments | +*Kubernetes::AppsV1Api* | [**list_namespaced_replica_set**](docs/AppsV1Api.md#list_namespaced_replica_set) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets | +*Kubernetes::AppsV1Api* | [**list_namespaced_stateful_set**](docs/AppsV1Api.md#list_namespaced_stateful_set) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets | +*Kubernetes::AppsV1Api* | [**list_replica_set_for_all_namespaces**](docs/AppsV1Api.md#list_replica_set_for_all_namespaces) | **GET** /apis/apps/v1/replicasets | +*Kubernetes::AppsV1Api* | [**list_stateful_set_for_all_namespaces**](docs/AppsV1Api.md#list_stateful_set_for_all_namespaces) | **GET** /apis/apps/v1/statefulsets | +*Kubernetes::AppsV1Api* | [**patch_namespaced_controller_revision**](docs/AppsV1Api.md#patch_namespaced_controller_revision) | **PATCH** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +*Kubernetes::AppsV1Api* | [**patch_namespaced_daemon_set**](docs/AppsV1Api.md#patch_namespaced_daemon_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +*Kubernetes::AppsV1Api* | [**patch_namespaced_daemon_set_status**](docs/AppsV1Api.md#patch_namespaced_daemon_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +*Kubernetes::AppsV1Api* | [**patch_namespaced_deployment**](docs/AppsV1Api.md#patch_namespaced_deployment) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +*Kubernetes::AppsV1Api* | [**patch_namespaced_deployment_scale**](docs/AppsV1Api.md#patch_namespaced_deployment_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +*Kubernetes::AppsV1Api* | [**patch_namespaced_deployment_status**](docs/AppsV1Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +*Kubernetes::AppsV1Api* | [**patch_namespaced_replica_set**](docs/AppsV1Api.md#patch_namespaced_replica_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +*Kubernetes::AppsV1Api* | [**patch_namespaced_replica_set_scale**](docs/AppsV1Api.md#patch_namespaced_replica_set_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +*Kubernetes::AppsV1Api* | [**patch_namespaced_replica_set_status**](docs/AppsV1Api.md#patch_namespaced_replica_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +*Kubernetes::AppsV1Api* | [**patch_namespaced_stateful_set**](docs/AppsV1Api.md#patch_namespaced_stateful_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +*Kubernetes::AppsV1Api* | [**patch_namespaced_stateful_set_scale**](docs/AppsV1Api.md#patch_namespaced_stateful_set_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +*Kubernetes::AppsV1Api* | [**patch_namespaced_stateful_set_status**](docs/AppsV1Api.md#patch_namespaced_stateful_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | +*Kubernetes::AppsV1Api* | [**read_namespaced_controller_revision**](docs/AppsV1Api.md#read_namespaced_controller_revision) | **GET** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +*Kubernetes::AppsV1Api* | [**read_namespaced_daemon_set**](docs/AppsV1Api.md#read_namespaced_daemon_set) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +*Kubernetes::AppsV1Api* | [**read_namespaced_daemon_set_status**](docs/AppsV1Api.md#read_namespaced_daemon_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +*Kubernetes::AppsV1Api* | [**read_namespaced_deployment**](docs/AppsV1Api.md#read_namespaced_deployment) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +*Kubernetes::AppsV1Api* | [**read_namespaced_deployment_scale**](docs/AppsV1Api.md#read_namespaced_deployment_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +*Kubernetes::AppsV1Api* | [**read_namespaced_deployment_status**](docs/AppsV1Api.md#read_namespaced_deployment_status) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +*Kubernetes::AppsV1Api* | [**read_namespaced_replica_set**](docs/AppsV1Api.md#read_namespaced_replica_set) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +*Kubernetes::AppsV1Api* | [**read_namespaced_replica_set_scale**](docs/AppsV1Api.md#read_namespaced_replica_set_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +*Kubernetes::AppsV1Api* | [**read_namespaced_replica_set_status**](docs/AppsV1Api.md#read_namespaced_replica_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +*Kubernetes::AppsV1Api* | [**read_namespaced_stateful_set**](docs/AppsV1Api.md#read_namespaced_stateful_set) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +*Kubernetes::AppsV1Api* | [**read_namespaced_stateful_set_scale**](docs/AppsV1Api.md#read_namespaced_stateful_set_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +*Kubernetes::AppsV1Api* | [**read_namespaced_stateful_set_status**](docs/AppsV1Api.md#read_namespaced_stateful_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | +*Kubernetes::AppsV1Api* | [**replace_namespaced_controller_revision**](docs/AppsV1Api.md#replace_namespaced_controller_revision) | **PUT** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +*Kubernetes::AppsV1Api* | [**replace_namespaced_daemon_set**](docs/AppsV1Api.md#replace_namespaced_daemon_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +*Kubernetes::AppsV1Api* | [**replace_namespaced_daemon_set_status**](docs/AppsV1Api.md#replace_namespaced_daemon_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +*Kubernetes::AppsV1Api* | [**replace_namespaced_deployment**](docs/AppsV1Api.md#replace_namespaced_deployment) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +*Kubernetes::AppsV1Api* | [**replace_namespaced_deployment_scale**](docs/AppsV1Api.md#replace_namespaced_deployment_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +*Kubernetes::AppsV1Api* | [**replace_namespaced_deployment_status**](docs/AppsV1Api.md#replace_namespaced_deployment_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +*Kubernetes::AppsV1Api* | [**replace_namespaced_replica_set**](docs/AppsV1Api.md#replace_namespaced_replica_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +*Kubernetes::AppsV1Api* | [**replace_namespaced_replica_set_scale**](docs/AppsV1Api.md#replace_namespaced_replica_set_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +*Kubernetes::AppsV1Api* | [**replace_namespaced_replica_set_status**](docs/AppsV1Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +*Kubernetes::AppsV1Api* | [**replace_namespaced_stateful_set**](docs/AppsV1Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +*Kubernetes::AppsV1Api* | [**replace_namespaced_stateful_set_scale**](docs/AppsV1Api.md#replace_namespaced_stateful_set_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +*Kubernetes::AppsV1Api* | [**replace_namespaced_stateful_set_status**](docs/AppsV1Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | *Kubernetes::AppsV1beta1Api* | [**create_namespaced_controller_revision**](docs/AppsV1beta1Api.md#create_namespaced_controller_revision) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions | *Kubernetes::AppsV1beta1Api* | [**create_namespaced_deployment**](docs/AppsV1beta1Api.md#create_namespaced_deployment) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments | *Kubernetes::AppsV1beta1Api* | [**create_namespaced_deployment_rollback**](docs/AppsV1beta1Api.md#create_namespaced_deployment_rollback) | **POST** /apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback | @@ -213,6 +302,15 @@ Class | Method | HTTP request | Description *Kubernetes::AppsV1beta2Api* | [**replace_namespaced_stateful_set**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name} | *Kubernetes::AppsV1beta2Api* | [**replace_namespaced_stateful_set_scale**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set_scale) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale | *Kubernetes::AppsV1beta2Api* | [**replace_namespaced_stateful_set_status**](docs/AppsV1beta2Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status | +*Kubernetes::AuditregistrationApi* | [**get_api_group**](docs/AuditregistrationApi.md#get_api_group) | **GET** /apis/auditregistration.k8s.io/ | +*Kubernetes::AuditregistrationV1alpha1Api* | [**create_audit_sink**](docs/AuditregistrationV1alpha1Api.md#create_audit_sink) | **POST** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*Kubernetes::AuditregistrationV1alpha1Api* | [**delete_audit_sink**](docs/AuditregistrationV1alpha1Api.md#delete_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*Kubernetes::AuditregistrationV1alpha1Api* | [**delete_collection_audit_sink**](docs/AuditregistrationV1alpha1Api.md#delete_collection_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*Kubernetes::AuditregistrationV1alpha1Api* | [**get_api_resources**](docs/AuditregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/auditregistration.k8s.io/v1alpha1/ | +*Kubernetes::AuditregistrationV1alpha1Api* | [**list_audit_sink**](docs/AuditregistrationV1alpha1Api.md#list_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +*Kubernetes::AuditregistrationV1alpha1Api* | [**patch_audit_sink**](docs/AuditregistrationV1alpha1Api.md#patch_audit_sink) | **PATCH** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*Kubernetes::AuditregistrationV1alpha1Api* | [**read_audit_sink**](docs/AuditregistrationV1alpha1Api.md#read_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +*Kubernetes::AuditregistrationV1alpha1Api* | [**replace_audit_sink**](docs/AuditregistrationV1alpha1Api.md#replace_audit_sink) | **PUT** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | *Kubernetes::AuthenticationApi* | [**get_api_group**](docs/AuthenticationApi.md#get_api_group) | **GET** /apis/authentication.k8s.io/ | *Kubernetes::AuthenticationV1Api* | [**create_token_review**](docs/AuthenticationV1Api.md#create_token_review) | **POST** /apis/authentication.k8s.io/v1/tokenreviews | *Kubernetes::AuthenticationV1Api* | [**get_api_resources**](docs/AuthenticationV1Api.md#get_api_resources) | **GET** /apis/authentication.k8s.io/v1/ | @@ -254,6 +352,18 @@ Class | Method | HTTP request | Description *Kubernetes::AutoscalingV2beta1Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2beta1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *Kubernetes::AutoscalingV2beta1Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | *Kubernetes::AutoscalingV2beta1Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2beta1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*Kubernetes::AutoscalingV2beta2Api* | [**create_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +*Kubernetes::AutoscalingV2beta2Api* | [**delete_collection_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +*Kubernetes::AutoscalingV2beta2Api* | [**delete_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*Kubernetes::AutoscalingV2beta2Api* | [**get_api_resources**](docs/AutoscalingV2beta2Api.md#get_api_resources) | **GET** /apis/autoscaling/v2beta2/ | +*Kubernetes::AutoscalingV2beta2Api* | [**list_horizontal_pod_autoscaler_for_all_namespaces**](docs/AutoscalingV2beta2Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/autoscaling/v2beta2/horizontalpodautoscalers | +*Kubernetes::AutoscalingV2beta2Api* | [**list_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +*Kubernetes::AutoscalingV2beta2Api* | [**patch_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*Kubernetes::AutoscalingV2beta2Api* | [**patch_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2beta2Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*Kubernetes::AutoscalingV2beta2Api* | [**read_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*Kubernetes::AutoscalingV2beta2Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2beta2Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*Kubernetes::AutoscalingV2beta2Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta2Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*Kubernetes::AutoscalingV2beta2Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2beta2Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *Kubernetes::BatchApi* | [**get_api_group**](docs/BatchApi.md#get_api_group) | **GET** /apis/batch/ | *Kubernetes::BatchV1Api* | [**create_namespaced_job**](docs/BatchV1Api.md#create_namespaced_job) | **POST** /apis/batch/v1/namespaces/{namespace}/jobs | *Kubernetes::BatchV1Api* | [**delete_collection_namespaced_job**](docs/BatchV1Api.md#delete_collection_namespaced_job) | **DELETE** /apis/batch/v1/namespaces/{namespace}/jobs | @@ -298,10 +408,22 @@ Class | Method | HTTP request | Description *Kubernetes::CertificatesV1beta1Api* | [**get_api_resources**](docs/CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | *Kubernetes::CertificatesV1beta1Api* | [**list_certificate_signing_request**](docs/CertificatesV1beta1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | *Kubernetes::CertificatesV1beta1Api* | [**patch_certificate_signing_request**](docs/CertificatesV1beta1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*Kubernetes::CertificatesV1beta1Api* | [**patch_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#patch_certificate_signing_request_status) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | *Kubernetes::CertificatesV1beta1Api* | [**read_certificate_signing_request**](docs/CertificatesV1beta1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +*Kubernetes::CertificatesV1beta1Api* | [**read_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#read_certificate_signing_request_status) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | *Kubernetes::CertificatesV1beta1Api* | [**replace_certificate_signing_request**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | *Kubernetes::CertificatesV1beta1Api* | [**replace_certificate_signing_request_approval**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval | *Kubernetes::CertificatesV1beta1Api* | [**replace_certificate_signing_request_status**](docs/CertificatesV1beta1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | +*Kubernetes::CoordinationApi* | [**get_api_group**](docs/CoordinationApi.md#get_api_group) | **GET** /apis/coordination.k8s.io/ | +*Kubernetes::CoordinationV1beta1Api* | [**create_namespaced_lease**](docs/CoordinationV1beta1Api.md#create_namespaced_lease) | **POST** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +*Kubernetes::CoordinationV1beta1Api* | [**delete_collection_namespaced_lease**](docs/CoordinationV1beta1Api.md#delete_collection_namespaced_lease) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +*Kubernetes::CoordinationV1beta1Api* | [**delete_namespaced_lease**](docs/CoordinationV1beta1Api.md#delete_namespaced_lease) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +*Kubernetes::CoordinationV1beta1Api* | [**get_api_resources**](docs/CoordinationV1beta1Api.md#get_api_resources) | **GET** /apis/coordination.k8s.io/v1beta1/ | +*Kubernetes::CoordinationV1beta1Api* | [**list_lease_for_all_namespaces**](docs/CoordinationV1beta1Api.md#list_lease_for_all_namespaces) | **GET** /apis/coordination.k8s.io/v1beta1/leases | +*Kubernetes::CoordinationV1beta1Api* | [**list_namespaced_lease**](docs/CoordinationV1beta1Api.md#list_namespaced_lease) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +*Kubernetes::CoordinationV1beta1Api* | [**patch_namespaced_lease**](docs/CoordinationV1beta1Api.md#patch_namespaced_lease) | **PATCH** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +*Kubernetes::CoordinationV1beta1Api* | [**read_namespaced_lease**](docs/CoordinationV1beta1Api.md#read_namespaced_lease) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +*Kubernetes::CoordinationV1beta1Api* | [**replace_namespaced_lease**](docs/CoordinationV1beta1Api.md#replace_namespaced_lease) | **PUT** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | *Kubernetes::CoreApi* | [**get_api_versions**](docs/CoreApi.md#get_api_versions) | **GET** /api/ | *Kubernetes::CoreV1Api* | [**connect_delete_namespaced_pod_proxy**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy | *Kubernetes::CoreV1Api* | [**connect_delete_namespaced_pod_proxy_with_path**](docs/CoreV1Api.md#connect_delete_namespaced_pod_proxy_with_path) | **DELETE** /api/v1/namespaces/{namespace}/pods/{name}/proxy/{path} | @@ -450,48 +572,6 @@ Class | Method | HTTP request | Description *Kubernetes::CoreV1Api* | [**patch_node_status**](docs/CoreV1Api.md#patch_node_status) | **PATCH** /api/v1/nodes/{name}/status | *Kubernetes::CoreV1Api* | [**patch_persistent_volume**](docs/CoreV1Api.md#patch_persistent_volume) | **PATCH** /api/v1/persistentvolumes/{name} | *Kubernetes::CoreV1Api* | [**patch_persistent_volume_status**](docs/CoreV1Api.md#patch_persistent_volume_status) | **PATCH** /api/v1/persistentvolumes/{name}/status | -*Kubernetes::CoreV1Api* | [**proxy_delete_namespaced_pod**](docs/CoreV1Api.md#proxy_delete_namespaced_pod) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_delete_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_delete_namespaced_pod_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_delete_namespaced_service**](docs/CoreV1Api.md#proxy_delete_namespaced_service) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_delete_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_delete_namespaced_service_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_delete_node**](docs/CoreV1Api.md#proxy_delete_node) | **DELETE** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_delete_node_with_path**](docs/CoreV1Api.md#proxy_delete_node_with_path) | **DELETE** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_get_namespaced_pod**](docs/CoreV1Api.md#proxy_get_namespaced_pod) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_get_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_get_namespaced_pod_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_get_namespaced_service**](docs/CoreV1Api.md#proxy_get_namespaced_service) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_get_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_get_namespaced_service_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_get_node**](docs/CoreV1Api.md#proxy_get_node) | **GET** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_get_node_with_path**](docs/CoreV1Api.md#proxy_get_node_with_path) | **GET** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_head_namespaced_pod**](docs/CoreV1Api.md#proxy_head_namespaced_pod) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_head_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_head_namespaced_pod_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_head_namespaced_service**](docs/CoreV1Api.md#proxy_head_namespaced_service) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_head_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_head_namespaced_service_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_head_node**](docs/CoreV1Api.md#proxy_head_node) | **HEAD** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_head_node_with_path**](docs/CoreV1Api.md#proxy_head_node_with_path) | **HEAD** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_options_namespaced_pod**](docs/CoreV1Api.md#proxy_options_namespaced_pod) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_options_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_options_namespaced_pod_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_options_namespaced_service**](docs/CoreV1Api.md#proxy_options_namespaced_service) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_options_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_options_namespaced_service_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_options_node**](docs/CoreV1Api.md#proxy_options_node) | **OPTIONS** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_options_node_with_path**](docs/CoreV1Api.md#proxy_options_node_with_path) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_patch_namespaced_pod**](docs/CoreV1Api.md#proxy_patch_namespaced_pod) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_patch_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_patch_namespaced_pod_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_patch_namespaced_service**](docs/CoreV1Api.md#proxy_patch_namespaced_service) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_patch_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_patch_namespaced_service_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_patch_node**](docs/CoreV1Api.md#proxy_patch_node) | **PATCH** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_patch_node_with_path**](docs/CoreV1Api.md#proxy_patch_node_with_path) | **PATCH** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_post_namespaced_pod**](docs/CoreV1Api.md#proxy_post_namespaced_pod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_post_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_post_namespaced_pod_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_post_namespaced_service**](docs/CoreV1Api.md#proxy_post_namespaced_service) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_post_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_post_namespaced_service_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_post_node**](docs/CoreV1Api.md#proxy_post_node) | **POST** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_post_node_with_path**](docs/CoreV1Api.md#proxy_post_node_with_path) | **POST** /api/v1/proxy/nodes/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_put_namespaced_pod**](docs/CoreV1Api.md#proxy_put_namespaced_pod) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -*Kubernetes::CoreV1Api* | [**proxy_put_namespaced_pod_with_path**](docs/CoreV1Api.md#proxy_put_namespaced_pod_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_put_namespaced_service**](docs/CoreV1Api.md#proxy_put_namespaced_service) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name} | -*Kubernetes::CoreV1Api* | [**proxy_put_namespaced_service_with_path**](docs/CoreV1Api.md#proxy_put_namespaced_service_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -*Kubernetes::CoreV1Api* | [**proxy_put_node**](docs/CoreV1Api.md#proxy_put_node) | **PUT** /api/v1/proxy/nodes/{name} | -*Kubernetes::CoreV1Api* | [**proxy_put_node_with_path**](docs/CoreV1Api.md#proxy_put_node_with_path) | **PUT** /api/v1/proxy/nodes/{name}/{path} | *Kubernetes::CoreV1Api* | [**read_component_status**](docs/CoreV1Api.md#read_component_status) | **GET** /api/v1/componentstatuses/{name} | *Kubernetes::CoreV1Api* | [**read_namespace**](docs/CoreV1Api.md#read_namespace) | **GET** /api/v1/namespaces/{name} | *Kubernetes::CoreV1Api* | [**read_namespace_status**](docs/CoreV1Api.md#read_namespace_status) | **GET** /api/v1/namespaces/{name}/status | @@ -548,11 +628,35 @@ Class | Method | HTTP request | Description *Kubernetes::CustomObjectsApi* | [**delete_cluster_custom_object**](docs/CustomObjectsApi.md#delete_cluster_custom_object) | **DELETE** /apis/{group}/{version}/{plural}/{name} | *Kubernetes::CustomObjectsApi* | [**delete_namespaced_custom_object**](docs/CustomObjectsApi.md#delete_namespaced_custom_object) | **DELETE** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | *Kubernetes::CustomObjectsApi* | [**get_cluster_custom_object**](docs/CustomObjectsApi.md#get_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**get_cluster_custom_object_scale**](docs/CustomObjectsApi.md#get_cluster_custom_object_scale) | **GET** /apis/{group}/{version}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**get_cluster_custom_object_status**](docs/CustomObjectsApi.md#get_cluster_custom_object_status) | **GET** /apis/{group}/{version}/{plural}/{name}/status | *Kubernetes::CustomObjectsApi* | [**get_namespaced_custom_object**](docs/CustomObjectsApi.md#get_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**get_namespaced_custom_object_scale**](docs/CustomObjectsApi.md#get_namespaced_custom_object_scale) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**get_namespaced_custom_object_status**](docs/CustomObjectsApi.md#get_namespaced_custom_object_status) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | *Kubernetes::CustomObjectsApi* | [**list_cluster_custom_object**](docs/CustomObjectsApi.md#list_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural} | *Kubernetes::CustomObjectsApi* | [**list_namespaced_custom_object**](docs/CustomObjectsApi.md#list_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} | +*Kubernetes::CustomObjectsApi* | [**patch_cluster_custom_object**](docs/CustomObjectsApi.md#patch_cluster_custom_object) | **PATCH** /apis/{group}/{version}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**patch_cluster_custom_object_scale**](docs/CustomObjectsApi.md#patch_cluster_custom_object_scale) | **PATCH** /apis/{group}/{version}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**patch_cluster_custom_object_status**](docs/CustomObjectsApi.md#patch_cluster_custom_object_status) | **PATCH** /apis/{group}/{version}/{plural}/{name}/status | +*Kubernetes::CustomObjectsApi* | [**patch_namespaced_custom_object**](docs/CustomObjectsApi.md#patch_namespaced_custom_object) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**patch_namespaced_custom_object_scale**](docs/CustomObjectsApi.md#patch_namespaced_custom_object_scale) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**patch_namespaced_custom_object_status**](docs/CustomObjectsApi.md#patch_namespaced_custom_object_status) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | *Kubernetes::CustomObjectsApi* | [**replace_cluster_custom_object**](docs/CustomObjectsApi.md#replace_cluster_custom_object) | **PUT** /apis/{group}/{version}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**replace_cluster_custom_object_scale**](docs/CustomObjectsApi.md#replace_cluster_custom_object_scale) | **PUT** /apis/{group}/{version}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**replace_cluster_custom_object_status**](docs/CustomObjectsApi.md#replace_cluster_custom_object_status) | **PUT** /apis/{group}/{version}/{plural}/{name}/status | *Kubernetes::CustomObjectsApi* | [**replace_namespaced_custom_object**](docs/CustomObjectsApi.md#replace_namespaced_custom_object) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +*Kubernetes::CustomObjectsApi* | [**replace_namespaced_custom_object_scale**](docs/CustomObjectsApi.md#replace_namespaced_custom_object_scale) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +*Kubernetes::CustomObjectsApi* | [**replace_namespaced_custom_object_status**](docs/CustomObjectsApi.md#replace_namespaced_custom_object_status) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | +*Kubernetes::EventsApi* | [**get_api_group**](docs/EventsApi.md#get_api_group) | **GET** /apis/events.k8s.io/ | +*Kubernetes::EventsV1beta1Api* | [**create_namespaced_event**](docs/EventsV1beta1Api.md#create_namespaced_event) | **POST** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +*Kubernetes::EventsV1beta1Api* | [**delete_collection_namespaced_event**](docs/EventsV1beta1Api.md#delete_collection_namespaced_event) | **DELETE** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +*Kubernetes::EventsV1beta1Api* | [**delete_namespaced_event**](docs/EventsV1beta1Api.md#delete_namespaced_event) | **DELETE** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +*Kubernetes::EventsV1beta1Api* | [**get_api_resources**](docs/EventsV1beta1Api.md#get_api_resources) | **GET** /apis/events.k8s.io/v1beta1/ | +*Kubernetes::EventsV1beta1Api* | [**list_event_for_all_namespaces**](docs/EventsV1beta1Api.md#list_event_for_all_namespaces) | **GET** /apis/events.k8s.io/v1beta1/events | +*Kubernetes::EventsV1beta1Api* | [**list_namespaced_event**](docs/EventsV1beta1Api.md#list_namespaced_event) | **GET** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +*Kubernetes::EventsV1beta1Api* | [**patch_namespaced_event**](docs/EventsV1beta1Api.md#patch_namespaced_event) | **PATCH** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +*Kubernetes::EventsV1beta1Api* | [**read_namespaced_event**](docs/EventsV1beta1Api.md#read_namespaced_event) | **GET** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +*Kubernetes::EventsV1beta1Api* | [**replace_namespaced_event**](docs/EventsV1beta1Api.md#replace_namespaced_event) | **PUT** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | *Kubernetes::ExtensionsApi* | [**get_api_group**](docs/ExtensionsApi.md#get_api_group) | **GET** /apis/extensions/ | *Kubernetes::ExtensionsV1beta1Api* | [**create_namespaced_daemon_set**](docs/ExtensionsV1beta1Api.md#create_namespaced_daemon_set) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/daemonsets | *Kubernetes::ExtensionsV1beta1Api* | [**create_namespaced_deployment**](docs/ExtensionsV1beta1Api.md#create_namespaced_deployment) | **POST** /apis/extensions/v1beta1/namespaces/{namespace}/deployments | @@ -638,17 +742,24 @@ Class | Method | HTTP request | Description *Kubernetes::NetworkingV1Api* | [**replace_namespaced_network_policy**](docs/NetworkingV1Api.md#replace_namespaced_network_policy) | **PUT** /apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name} | *Kubernetes::PolicyApi* | [**get_api_group**](docs/PolicyApi.md#get_api_group) | **GET** /apis/policy/ | *Kubernetes::PolicyV1beta1Api* | [**create_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#create_namespaced_pod_disruption_budget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | +*Kubernetes::PolicyV1beta1Api* | [**create_pod_security_policy**](docs/PolicyV1beta1Api.md#create_pod_security_policy) | **POST** /apis/policy/v1beta1/podsecuritypolicies | *Kubernetes::PolicyV1beta1Api* | [**delete_collection_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#delete_collection_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | +*Kubernetes::PolicyV1beta1Api* | [**delete_collection_pod_security_policy**](docs/PolicyV1beta1Api.md#delete_collection_pod_security_policy) | **DELETE** /apis/policy/v1beta1/podsecuritypolicies | *Kubernetes::PolicyV1beta1Api* | [**delete_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#delete_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | +*Kubernetes::PolicyV1beta1Api* | [**delete_pod_security_policy**](docs/PolicyV1beta1Api.md#delete_pod_security_policy) | **DELETE** /apis/policy/v1beta1/podsecuritypolicies/{name} | *Kubernetes::PolicyV1beta1Api* | [**get_api_resources**](docs/PolicyV1beta1Api.md#get_api_resources) | **GET** /apis/policy/v1beta1/ | *Kubernetes::PolicyV1beta1Api* | [**list_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#list_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | *Kubernetes::PolicyV1beta1Api* | [**list_pod_disruption_budget_for_all_namespaces**](docs/PolicyV1beta1Api.md#list_pod_disruption_budget_for_all_namespaces) | **GET** /apis/policy/v1beta1/poddisruptionbudgets | +*Kubernetes::PolicyV1beta1Api* | [**list_pod_security_policy**](docs/PolicyV1beta1Api.md#list_pod_security_policy) | **GET** /apis/policy/v1beta1/podsecuritypolicies | *Kubernetes::PolicyV1beta1Api* | [**patch_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | *Kubernetes::PolicyV1beta1Api* | [**patch_namespaced_pod_disruption_budget_status**](docs/PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget_status) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +*Kubernetes::PolicyV1beta1Api* | [**patch_pod_security_policy**](docs/PolicyV1beta1Api.md#patch_pod_security_policy) | **PATCH** /apis/policy/v1beta1/podsecuritypolicies/{name} | *Kubernetes::PolicyV1beta1Api* | [**read_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | *Kubernetes::PolicyV1beta1Api* | [**read_namespaced_pod_disruption_budget_status**](docs/PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget_status) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +*Kubernetes::PolicyV1beta1Api* | [**read_pod_security_policy**](docs/PolicyV1beta1Api.md#read_pod_security_policy) | **GET** /apis/policy/v1beta1/podsecuritypolicies/{name} | *Kubernetes::PolicyV1beta1Api* | [**replace_namespaced_pod_disruption_budget**](docs/PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | *Kubernetes::PolicyV1beta1Api* | [**replace_namespaced_pod_disruption_budget_status**](docs/PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget_status) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +*Kubernetes::PolicyV1beta1Api* | [**replace_pod_security_policy**](docs/PolicyV1beta1Api.md#replace_pod_security_policy) | **PUT** /apis/policy/v1beta1/podsecuritypolicies/{name} | *Kubernetes::RbacAuthorizationApi* | [**get_api_group**](docs/RbacAuthorizationApi.md#get_api_group) | **GET** /apis/rbac.authorization.k8s.io/ | *Kubernetes::RbacAuthorizationV1Api* | [**create_cluster_role**](docs/RbacAuthorizationV1Api.md#create_cluster_role) | **POST** /apis/rbac.authorization.k8s.io/v1/clusterroles | *Kubernetes::RbacAuthorizationV1Api* | [**create_cluster_role_binding**](docs/RbacAuthorizationV1Api.md#create_cluster_role_binding) | **POST** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings | @@ -752,6 +863,14 @@ Class | Method | HTTP request | Description *Kubernetes::SchedulingV1alpha1Api* | [**patch_priority_class**](docs/SchedulingV1alpha1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | *Kubernetes::SchedulingV1alpha1Api* | [**read_priority_class**](docs/SchedulingV1alpha1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | *Kubernetes::SchedulingV1alpha1Api* | [**replace_priority_class**](docs/SchedulingV1alpha1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | +*Kubernetes::SchedulingV1beta1Api* | [**create_priority_class**](docs/SchedulingV1beta1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*Kubernetes::SchedulingV1beta1Api* | [**delete_collection_priority_class**](docs/SchedulingV1beta1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*Kubernetes::SchedulingV1beta1Api* | [**delete_priority_class**](docs/SchedulingV1beta1Api.md#delete_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*Kubernetes::SchedulingV1beta1Api* | [**get_api_resources**](docs/SchedulingV1beta1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1beta1/ | +*Kubernetes::SchedulingV1beta1Api* | [**list_priority_class**](docs/SchedulingV1beta1Api.md#list_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +*Kubernetes::SchedulingV1beta1Api* | [**patch_priority_class**](docs/SchedulingV1beta1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*Kubernetes::SchedulingV1beta1Api* | [**read_priority_class**](docs/SchedulingV1beta1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +*Kubernetes::SchedulingV1beta1Api* | [**replace_priority_class**](docs/SchedulingV1beta1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | *Kubernetes::SettingsApi* | [**get_api_group**](docs/SettingsApi.md#get_api_group) | **GET** /apis/settings.k8s.io/ | *Kubernetes::SettingsV1alpha1Api* | [**create_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#create_namespaced_pod_preset) | **POST** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets | *Kubernetes::SettingsV1alpha1Api* | [**delete_collection_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#delete_collection_namespaced_pod_preset) | **DELETE** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets | @@ -764,26 +883,56 @@ Class | Method | HTTP request | Description *Kubernetes::SettingsV1alpha1Api* | [**replace_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#replace_namespaced_pod_preset) | **PUT** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} | *Kubernetes::StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | *Kubernetes::StorageV1Api* | [**create_storage_class**](docs/StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | +*Kubernetes::StorageV1Api* | [**create_volume_attachment**](docs/StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | *Kubernetes::StorageV1Api* | [**delete_collection_storage_class**](docs/StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | +*Kubernetes::StorageV1Api* | [**delete_collection_volume_attachment**](docs/StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | *Kubernetes::StorageV1Api* | [**delete_storage_class**](docs/StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | +*Kubernetes::StorageV1Api* | [**delete_volume_attachment**](docs/StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | *Kubernetes::StorageV1Api* | [**get_api_resources**](docs/StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | *Kubernetes::StorageV1Api* | [**list_storage_class**](docs/StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | +*Kubernetes::StorageV1Api* | [**list_volume_attachment**](docs/StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | *Kubernetes::StorageV1Api* | [**patch_storage_class**](docs/StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | +*Kubernetes::StorageV1Api* | [**patch_volume_attachment**](docs/StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*Kubernetes::StorageV1Api* | [**patch_volume_attachment_status**](docs/StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *Kubernetes::StorageV1Api* | [**read_storage_class**](docs/StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | +*Kubernetes::StorageV1Api* | [**read_volume_attachment**](docs/StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*Kubernetes::StorageV1Api* | [**read_volume_attachment_status**](docs/StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *Kubernetes::StorageV1Api* | [**replace_storage_class**](docs/StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | +*Kubernetes::StorageV1Api* | [**replace_volume_attachment**](docs/StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | +*Kubernetes::StorageV1Api* | [**replace_volume_attachment_status**](docs/StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*Kubernetes::StorageV1alpha1Api* | [**create_volume_attachment**](docs/StorageV1alpha1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattachments | +*Kubernetes::StorageV1alpha1Api* | [**delete_collection_volume_attachment**](docs/StorageV1alpha1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments | +*Kubernetes::StorageV1alpha1Api* | [**delete_volume_attachment**](docs/StorageV1alpha1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +*Kubernetes::StorageV1alpha1Api* | [**get_api_resources**](docs/StorageV1alpha1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1alpha1/ | +*Kubernetes::StorageV1alpha1Api* | [**list_volume_attachment**](docs/StorageV1alpha1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments | +*Kubernetes::StorageV1alpha1Api* | [**patch_volume_attachment**](docs/StorageV1alpha1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +*Kubernetes::StorageV1alpha1Api* | [**read_volume_attachment**](docs/StorageV1alpha1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +*Kubernetes::StorageV1alpha1Api* | [**replace_volume_attachment**](docs/StorageV1alpha1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | *Kubernetes::StorageV1beta1Api* | [**create_storage_class**](docs/StorageV1beta1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses | +*Kubernetes::StorageV1beta1Api* | [**create_volume_attachment**](docs/StorageV1beta1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1beta1/volumeattachments | *Kubernetes::StorageV1beta1Api* | [**delete_collection_storage_class**](docs/StorageV1beta1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses | +*Kubernetes::StorageV1beta1Api* | [**delete_collection_volume_attachment**](docs/StorageV1beta1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattachments | *Kubernetes::StorageV1beta1Api* | [**delete_storage_class**](docs/StorageV1beta1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +*Kubernetes::StorageV1beta1Api* | [**delete_volume_attachment**](docs/StorageV1beta1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | *Kubernetes::StorageV1beta1Api* | [**get_api_resources**](docs/StorageV1beta1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1beta1/ | *Kubernetes::StorageV1beta1Api* | [**list_storage_class**](docs/StorageV1beta1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses | +*Kubernetes::StorageV1beta1Api* | [**list_volume_attachment**](docs/StorageV1beta1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1beta1/volumeattachments | *Kubernetes::StorageV1beta1Api* | [**patch_storage_class**](docs/StorageV1beta1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +*Kubernetes::StorageV1beta1Api* | [**patch_volume_attachment**](docs/StorageV1beta1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | *Kubernetes::StorageV1beta1Api* | [**read_storage_class**](docs/StorageV1beta1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +*Kubernetes::StorageV1beta1Api* | [**read_volume_attachment**](docs/StorageV1beta1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | *Kubernetes::StorageV1beta1Api* | [**replace_storage_class**](docs/StorageV1beta1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +*Kubernetes::StorageV1beta1Api* | [**replace_volume_attachment**](docs/StorageV1beta1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | *Kubernetes::VersionApi* | [**get_code**](docs/VersionApi.md#get_code) | **GET** /version/ | ## Documentation for Models + - [Kubernetes::AdmissionregistrationV1beta1ServiceReference](docs/AdmissionregistrationV1beta1ServiceReference.md) + - [Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig](docs/AdmissionregistrationV1beta1WebhookClientConfig.md) + - [Kubernetes::ApiextensionsV1beta1ServiceReference](docs/ApiextensionsV1beta1ServiceReference.md) + - [Kubernetes::ApiextensionsV1beta1WebhookClientConfig](docs/ApiextensionsV1beta1WebhookClientConfig.md) + - [Kubernetes::ApiregistrationV1beta1ServiceReference](docs/ApiregistrationV1beta1ServiceReference.md) - [Kubernetes::AppsV1beta1Deployment](docs/AppsV1beta1Deployment.md) - [Kubernetes::AppsV1beta1DeploymentCondition](docs/AppsV1beta1DeploymentCondition.md) - [Kubernetes::AppsV1beta1DeploymentList](docs/AppsV1beta1DeploymentList.md) @@ -796,6 +945,8 @@ Class | Method | HTTP request | Description - [Kubernetes::AppsV1beta1Scale](docs/AppsV1beta1Scale.md) - [Kubernetes::AppsV1beta1ScaleSpec](docs/AppsV1beta1ScaleSpec.md) - [Kubernetes::AppsV1beta1ScaleStatus](docs/AppsV1beta1ScaleStatus.md) + - [Kubernetes::ExtensionsV1beta1AllowedFlexVolume](docs/ExtensionsV1beta1AllowedFlexVolume.md) + - [Kubernetes::ExtensionsV1beta1AllowedHostPath](docs/ExtensionsV1beta1AllowedHostPath.md) - [Kubernetes::ExtensionsV1beta1Deployment](docs/ExtensionsV1beta1Deployment.md) - [Kubernetes::ExtensionsV1beta1DeploymentCondition](docs/ExtensionsV1beta1DeploymentCondition.md) - [Kubernetes::ExtensionsV1beta1DeploymentList](docs/ExtensionsV1beta1DeploymentList.md) @@ -803,27 +954,57 @@ Class | Method | HTTP request | Description - [Kubernetes::ExtensionsV1beta1DeploymentSpec](docs/ExtensionsV1beta1DeploymentSpec.md) - [Kubernetes::ExtensionsV1beta1DeploymentStatus](docs/ExtensionsV1beta1DeploymentStatus.md) - [Kubernetes::ExtensionsV1beta1DeploymentStrategy](docs/ExtensionsV1beta1DeploymentStrategy.md) + - [Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions](docs/ExtensionsV1beta1FSGroupStrategyOptions.md) + - [Kubernetes::ExtensionsV1beta1HostPortRange](docs/ExtensionsV1beta1HostPortRange.md) + - [Kubernetes::ExtensionsV1beta1IDRange](docs/ExtensionsV1beta1IDRange.md) + - [Kubernetes::ExtensionsV1beta1PodSecurityPolicy](docs/ExtensionsV1beta1PodSecurityPolicy.md) + - [Kubernetes::ExtensionsV1beta1PodSecurityPolicyList](docs/ExtensionsV1beta1PodSecurityPolicyList.md) + - [Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec](docs/ExtensionsV1beta1PodSecurityPolicySpec.md) - [Kubernetes::ExtensionsV1beta1RollbackConfig](docs/ExtensionsV1beta1RollbackConfig.md) - [Kubernetes::ExtensionsV1beta1RollingUpdateDeployment](docs/ExtensionsV1beta1RollingUpdateDeployment.md) + - [Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions](docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md) + - [Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions](docs/ExtensionsV1beta1RunAsUserStrategyOptions.md) + - [Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions](docs/ExtensionsV1beta1SELinuxStrategyOptions.md) - [Kubernetes::ExtensionsV1beta1Scale](docs/ExtensionsV1beta1Scale.md) - [Kubernetes::ExtensionsV1beta1ScaleSpec](docs/ExtensionsV1beta1ScaleSpec.md) - [Kubernetes::ExtensionsV1beta1ScaleStatus](docs/ExtensionsV1beta1ScaleStatus.md) + - [Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions](docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) + - [Kubernetes::PolicyV1beta1AllowedFlexVolume](docs/PolicyV1beta1AllowedFlexVolume.md) + - [Kubernetes::PolicyV1beta1AllowedHostPath](docs/PolicyV1beta1AllowedHostPath.md) + - [Kubernetes::PolicyV1beta1FSGroupStrategyOptions](docs/PolicyV1beta1FSGroupStrategyOptions.md) + - [Kubernetes::PolicyV1beta1HostPortRange](docs/PolicyV1beta1HostPortRange.md) + - [Kubernetes::PolicyV1beta1IDRange](docs/PolicyV1beta1IDRange.md) + - [Kubernetes::PolicyV1beta1PodSecurityPolicy](docs/PolicyV1beta1PodSecurityPolicy.md) + - [Kubernetes::PolicyV1beta1PodSecurityPolicyList](docs/PolicyV1beta1PodSecurityPolicyList.md) + - [Kubernetes::PolicyV1beta1PodSecurityPolicySpec](docs/PolicyV1beta1PodSecurityPolicySpec.md) + - [Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions](docs/PolicyV1beta1RunAsGroupStrategyOptions.md) + - [Kubernetes::PolicyV1beta1RunAsUserStrategyOptions](docs/PolicyV1beta1RunAsUserStrategyOptions.md) + - [Kubernetes::PolicyV1beta1SELinuxStrategyOptions](docs/PolicyV1beta1SELinuxStrategyOptions.md) + - [Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions](docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md) - [Kubernetes::RuntimeRawExtension](docs/RuntimeRawExtension.md) - [Kubernetes::V1APIGroup](docs/V1APIGroup.md) - [Kubernetes::V1APIGroupList](docs/V1APIGroupList.md) - [Kubernetes::V1APIResource](docs/V1APIResource.md) - [Kubernetes::V1APIResourceList](docs/V1APIResourceList.md) + - [Kubernetes::V1APIService](docs/V1APIService.md) + - [Kubernetes::V1APIServiceCondition](docs/V1APIServiceCondition.md) + - [Kubernetes::V1APIServiceList](docs/V1APIServiceList.md) + - [Kubernetes::V1APIServiceSpec](docs/V1APIServiceSpec.md) + - [Kubernetes::V1APIServiceStatus](docs/V1APIServiceStatus.md) - [Kubernetes::V1APIVersions](docs/V1APIVersions.md) - [Kubernetes::V1AWSElasticBlockStoreVolumeSource](docs/V1AWSElasticBlockStoreVolumeSource.md) - [Kubernetes::V1Affinity](docs/V1Affinity.md) + - [Kubernetes::V1AggregationRule](docs/V1AggregationRule.md) - [Kubernetes::V1AttachedVolume](docs/V1AttachedVolume.md) - [Kubernetes::V1AzureDiskVolumeSource](docs/V1AzureDiskVolumeSource.md) - [Kubernetes::V1AzureFilePersistentVolumeSource](docs/V1AzureFilePersistentVolumeSource.md) - [Kubernetes::V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md) - [Kubernetes::V1Binding](docs/V1Binding.md) + - [Kubernetes::V1CSIPersistentVolumeSource](docs/V1CSIPersistentVolumeSource.md) - [Kubernetes::V1Capabilities](docs/V1Capabilities.md) - [Kubernetes::V1CephFSPersistentVolumeSource](docs/V1CephFSPersistentVolumeSource.md) - [Kubernetes::V1CephFSVolumeSource](docs/V1CephFSVolumeSource.md) + - [Kubernetes::V1CinderPersistentVolumeSource](docs/V1CinderPersistentVolumeSource.md) - [Kubernetes::V1CinderVolumeSource](docs/V1CinderVolumeSource.md) - [Kubernetes::V1ClientIPConfig](docs/V1ClientIPConfig.md) - [Kubernetes::V1ClusterRole](docs/V1ClusterRole.md) @@ -837,6 +1018,7 @@ Class | Method | HTTP request | Description - [Kubernetes::V1ConfigMapEnvSource](docs/V1ConfigMapEnvSource.md) - [Kubernetes::V1ConfigMapKeySelector](docs/V1ConfigMapKeySelector.md) - [Kubernetes::V1ConfigMapList](docs/V1ConfigMapList.md) + - [Kubernetes::V1ConfigMapNodeConfigSource](docs/V1ConfigMapNodeConfigSource.md) - [Kubernetes::V1ConfigMapProjection](docs/V1ConfigMapProjection.md) - [Kubernetes::V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md) - [Kubernetes::V1Container](docs/V1Container.md) @@ -847,9 +1029,23 @@ Class | Method | HTTP request | Description - [Kubernetes::V1ContainerStateTerminated](docs/V1ContainerStateTerminated.md) - [Kubernetes::V1ContainerStateWaiting](docs/V1ContainerStateWaiting.md) - [Kubernetes::V1ContainerStatus](docs/V1ContainerStatus.md) + - [Kubernetes::V1ControllerRevision](docs/V1ControllerRevision.md) + - [Kubernetes::V1ControllerRevisionList](docs/V1ControllerRevisionList.md) - [Kubernetes::V1CrossVersionObjectReference](docs/V1CrossVersionObjectReference.md) - [Kubernetes::V1DaemonEndpoint](docs/V1DaemonEndpoint.md) + - [Kubernetes::V1DaemonSet](docs/V1DaemonSet.md) + - [Kubernetes::V1DaemonSetCondition](docs/V1DaemonSetCondition.md) + - [Kubernetes::V1DaemonSetList](docs/V1DaemonSetList.md) + - [Kubernetes::V1DaemonSetSpec](docs/V1DaemonSetSpec.md) + - [Kubernetes::V1DaemonSetStatus](docs/V1DaemonSetStatus.md) + - [Kubernetes::V1DaemonSetUpdateStrategy](docs/V1DaemonSetUpdateStrategy.md) - [Kubernetes::V1DeleteOptions](docs/V1DeleteOptions.md) + - [Kubernetes::V1Deployment](docs/V1Deployment.md) + - [Kubernetes::V1DeploymentCondition](docs/V1DeploymentCondition.md) + - [Kubernetes::V1DeploymentList](docs/V1DeploymentList.md) + - [Kubernetes::V1DeploymentSpec](docs/V1DeploymentSpec.md) + - [Kubernetes::V1DeploymentStatus](docs/V1DeploymentStatus.md) + - [Kubernetes::V1DeploymentStrategy](docs/V1DeploymentStrategy.md) - [Kubernetes::V1DownwardAPIProjection](docs/V1DownwardAPIProjection.md) - [Kubernetes::V1DownwardAPIVolumeFile](docs/V1DownwardAPIVolumeFile.md) - [Kubernetes::V1DownwardAPIVolumeSource](docs/V1DownwardAPIVolumeSource.md) @@ -864,13 +1060,16 @@ Class | Method | HTTP request | Description - [Kubernetes::V1EnvVarSource](docs/V1EnvVarSource.md) - [Kubernetes::V1Event](docs/V1Event.md) - [Kubernetes::V1EventList](docs/V1EventList.md) + - [Kubernetes::V1EventSeries](docs/V1EventSeries.md) - [Kubernetes::V1EventSource](docs/V1EventSource.md) - [Kubernetes::V1ExecAction](docs/V1ExecAction.md) - [Kubernetes::V1FCVolumeSource](docs/V1FCVolumeSource.md) + - [Kubernetes::V1FlexPersistentVolumeSource](docs/V1FlexPersistentVolumeSource.md) - [Kubernetes::V1FlexVolumeSource](docs/V1FlexVolumeSource.md) - [Kubernetes::V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) - [Kubernetes::V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md) - [Kubernetes::V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) + - [Kubernetes::V1GlusterfsPersistentVolumeSource](docs/V1GlusterfsPersistentVolumeSource.md) - [Kubernetes::V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) - [Kubernetes::V1GroupVersionForDiscovery](docs/V1GroupVersionForDiscovery.md) - [Kubernetes::V1HTTPGetAction](docs/V1HTTPGetAction.md) @@ -883,6 +1082,7 @@ Class | Method | HTTP request | Description - [Kubernetes::V1HostAlias](docs/V1HostAlias.md) - [Kubernetes::V1HostPathVolumeSource](docs/V1HostPathVolumeSource.md) - [Kubernetes::V1IPBlock](docs/V1IPBlock.md) + - [Kubernetes::V1ISCSIPersistentVolumeSource](docs/V1ISCSIPersistentVolumeSource.md) - [Kubernetes::V1ISCSIVolumeSource](docs/V1ISCSIVolumeSource.md) - [Kubernetes::V1Initializer](docs/V1Initializer.md) - [Kubernetes::V1Initializers](docs/V1Initializers.md) @@ -922,6 +1122,7 @@ Class | Method | HTTP request | Description - [Kubernetes::V1NodeAffinity](docs/V1NodeAffinity.md) - [Kubernetes::V1NodeCondition](docs/V1NodeCondition.md) - [Kubernetes::V1NodeConfigSource](docs/V1NodeConfigSource.md) + - [Kubernetes::V1NodeConfigStatus](docs/V1NodeConfigStatus.md) - [Kubernetes::V1NodeDaemonEndpoints](docs/V1NodeDaemonEndpoints.md) - [Kubernetes::V1NodeList](docs/V1NodeList.md) - [Kubernetes::V1NodeSelector](docs/V1NodeSelector.md) @@ -952,7 +1153,10 @@ Class | Method | HTTP request | Description - [Kubernetes::V1PodAffinityTerm](docs/V1PodAffinityTerm.md) - [Kubernetes::V1PodAntiAffinity](docs/V1PodAntiAffinity.md) - [Kubernetes::V1PodCondition](docs/V1PodCondition.md) + - [Kubernetes::V1PodDNSConfig](docs/V1PodDNSConfig.md) + - [Kubernetes::V1PodDNSConfigOption](docs/V1PodDNSConfigOption.md) - [Kubernetes::V1PodList](docs/V1PodList.md) + - [Kubernetes::V1PodReadinessGate](docs/V1PodReadinessGate.md) - [Kubernetes::V1PodSecurityContext](docs/V1PodSecurityContext.md) - [Kubernetes::V1PodSpec](docs/V1PodSpec.md) - [Kubernetes::V1PodStatus](docs/V1PodStatus.md) @@ -966,7 +1170,13 @@ Class | Method | HTTP request | Description - [Kubernetes::V1Probe](docs/V1Probe.md) - [Kubernetes::V1ProjectedVolumeSource](docs/V1ProjectedVolumeSource.md) - [Kubernetes::V1QuobyteVolumeSource](docs/V1QuobyteVolumeSource.md) + - [Kubernetes::V1RBDPersistentVolumeSource](docs/V1RBDPersistentVolumeSource.md) - [Kubernetes::V1RBDVolumeSource](docs/V1RBDVolumeSource.md) + - [Kubernetes::V1ReplicaSet](docs/V1ReplicaSet.md) + - [Kubernetes::V1ReplicaSetCondition](docs/V1ReplicaSetCondition.md) + - [Kubernetes::V1ReplicaSetList](docs/V1ReplicaSetList.md) + - [Kubernetes::V1ReplicaSetSpec](docs/V1ReplicaSetSpec.md) + - [Kubernetes::V1ReplicaSetStatus](docs/V1ReplicaSetStatus.md) - [Kubernetes::V1ReplicationController](docs/V1ReplicationController.md) - [Kubernetes::V1ReplicationControllerCondition](docs/V1ReplicationControllerCondition.md) - [Kubernetes::V1ReplicationControllerList](docs/V1ReplicationControllerList.md) @@ -985,11 +1195,17 @@ Class | Method | HTTP request | Description - [Kubernetes::V1RoleBindingList](docs/V1RoleBindingList.md) - [Kubernetes::V1RoleList](docs/V1RoleList.md) - [Kubernetes::V1RoleRef](docs/V1RoleRef.md) + - [Kubernetes::V1RollingUpdateDaemonSet](docs/V1RollingUpdateDaemonSet.md) + - [Kubernetes::V1RollingUpdateDeployment](docs/V1RollingUpdateDeployment.md) + - [Kubernetes::V1RollingUpdateStatefulSetStrategy](docs/V1RollingUpdateStatefulSetStrategy.md) - [Kubernetes::V1SELinuxOptions](docs/V1SELinuxOptions.md) - [Kubernetes::V1Scale](docs/V1Scale.md) + - [Kubernetes::V1ScaleIOPersistentVolumeSource](docs/V1ScaleIOPersistentVolumeSource.md) - [Kubernetes::V1ScaleIOVolumeSource](docs/V1ScaleIOVolumeSource.md) - [Kubernetes::V1ScaleSpec](docs/V1ScaleSpec.md) - [Kubernetes::V1ScaleStatus](docs/V1ScaleStatus.md) + - [Kubernetes::V1ScopeSelector](docs/V1ScopeSelector.md) + - [Kubernetes::V1ScopedResourceSelectorRequirement](docs/V1ScopedResourceSelectorRequirement.md) - [Kubernetes::V1Secret](docs/V1Secret.md) - [Kubernetes::V1SecretEnvSource](docs/V1SecretEnvSource.md) - [Kubernetes::V1SecretKeySelector](docs/V1SecretKeySelector.md) @@ -1006,11 +1222,19 @@ Class | Method | HTTP request | Description - [Kubernetes::V1Service](docs/V1Service.md) - [Kubernetes::V1ServiceAccount](docs/V1ServiceAccount.md) - [Kubernetes::V1ServiceAccountList](docs/V1ServiceAccountList.md) + - [Kubernetes::V1ServiceAccountTokenProjection](docs/V1ServiceAccountTokenProjection.md) - [Kubernetes::V1ServiceList](docs/V1ServiceList.md) - [Kubernetes::V1ServicePort](docs/V1ServicePort.md) + - [Kubernetes::V1ServiceReference](docs/V1ServiceReference.md) - [Kubernetes::V1ServiceSpec](docs/V1ServiceSpec.md) - [Kubernetes::V1ServiceStatus](docs/V1ServiceStatus.md) - [Kubernetes::V1SessionAffinityConfig](docs/V1SessionAffinityConfig.md) + - [Kubernetes::V1StatefulSet](docs/V1StatefulSet.md) + - [Kubernetes::V1StatefulSetCondition](docs/V1StatefulSetCondition.md) + - [Kubernetes::V1StatefulSetList](docs/V1StatefulSetList.md) + - [Kubernetes::V1StatefulSetSpec](docs/V1StatefulSetSpec.md) + - [Kubernetes::V1StatefulSetStatus](docs/V1StatefulSetStatus.md) + - [Kubernetes::V1StatefulSetUpdateStrategy](docs/V1StatefulSetUpdateStrategy.md) - [Kubernetes::V1Status](docs/V1Status.md) - [Kubernetes::V1StatusCause](docs/V1StatusCause.md) - [Kubernetes::V1StatusDetails](docs/V1StatusDetails.md) @@ -1023,33 +1247,46 @@ Class | Method | HTTP request | Description - [Kubernetes::V1SubjectAccessReviewSpec](docs/V1SubjectAccessReviewSpec.md) - [Kubernetes::V1SubjectAccessReviewStatus](docs/V1SubjectAccessReviewStatus.md) - [Kubernetes::V1SubjectRulesReviewStatus](docs/V1SubjectRulesReviewStatus.md) + - [Kubernetes::V1Sysctl](docs/V1Sysctl.md) - [Kubernetes::V1TCPSocketAction](docs/V1TCPSocketAction.md) - [Kubernetes::V1Taint](docs/V1Taint.md) - [Kubernetes::V1TokenReview](docs/V1TokenReview.md) - [Kubernetes::V1TokenReviewSpec](docs/V1TokenReviewSpec.md) - [Kubernetes::V1TokenReviewStatus](docs/V1TokenReviewStatus.md) - [Kubernetes::V1Toleration](docs/V1Toleration.md) + - [Kubernetes::V1TopologySelectorLabelRequirement](docs/V1TopologySelectorLabelRequirement.md) + - [Kubernetes::V1TopologySelectorTerm](docs/V1TopologySelectorTerm.md) + - [Kubernetes::V1TypedLocalObjectReference](docs/V1TypedLocalObjectReference.md) - [Kubernetes::V1UserInfo](docs/V1UserInfo.md) - [Kubernetes::V1Volume](docs/V1Volume.md) + - [Kubernetes::V1VolumeAttachment](docs/V1VolumeAttachment.md) + - [Kubernetes::V1VolumeAttachmentList](docs/V1VolumeAttachmentList.md) + - [Kubernetes::V1VolumeAttachmentSource](docs/V1VolumeAttachmentSource.md) + - [Kubernetes::V1VolumeAttachmentSpec](docs/V1VolumeAttachmentSpec.md) + - [Kubernetes::V1VolumeAttachmentStatus](docs/V1VolumeAttachmentStatus.md) + - [Kubernetes::V1VolumeDevice](docs/V1VolumeDevice.md) + - [Kubernetes::V1VolumeError](docs/V1VolumeError.md) - [Kubernetes::V1VolumeMount](docs/V1VolumeMount.md) + - [Kubernetes::V1VolumeNodeAffinity](docs/V1VolumeNodeAffinity.md) - [Kubernetes::V1VolumeProjection](docs/V1VolumeProjection.md) - [Kubernetes::V1VsphereVirtualDiskVolumeSource](docs/V1VsphereVirtualDiskVolumeSource.md) - [Kubernetes::V1WatchEvent](docs/V1WatchEvent.md) - [Kubernetes::V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md) - - [Kubernetes::V1alpha1AdmissionHookClientConfig](docs/V1alpha1AdmissionHookClientConfig.md) + - [Kubernetes::V1alpha1AggregationRule](docs/V1alpha1AggregationRule.md) + - [Kubernetes::V1alpha1AuditSink](docs/V1alpha1AuditSink.md) + - [Kubernetes::V1alpha1AuditSinkList](docs/V1alpha1AuditSinkList.md) + - [Kubernetes::V1alpha1AuditSinkSpec](docs/V1alpha1AuditSinkSpec.md) - [Kubernetes::V1alpha1ClusterRole](docs/V1alpha1ClusterRole.md) - [Kubernetes::V1alpha1ClusterRoleBinding](docs/V1alpha1ClusterRoleBinding.md) - [Kubernetes::V1alpha1ClusterRoleBindingList](docs/V1alpha1ClusterRoleBindingList.md) - [Kubernetes::V1alpha1ClusterRoleList](docs/V1alpha1ClusterRoleList.md) - - [Kubernetes::V1alpha1ExternalAdmissionHook](docs/V1alpha1ExternalAdmissionHook.md) - - [Kubernetes::V1alpha1ExternalAdmissionHookConfiguration](docs/V1alpha1ExternalAdmissionHookConfiguration.md) - - [Kubernetes::V1alpha1ExternalAdmissionHookConfigurationList](docs/V1alpha1ExternalAdmissionHookConfigurationList.md) - [Kubernetes::V1alpha1Initializer](docs/V1alpha1Initializer.md) - [Kubernetes::V1alpha1InitializerConfiguration](docs/V1alpha1InitializerConfiguration.md) - [Kubernetes::V1alpha1InitializerConfigurationList](docs/V1alpha1InitializerConfigurationList.md) - [Kubernetes::V1alpha1PodPreset](docs/V1alpha1PodPreset.md) - [Kubernetes::V1alpha1PodPresetList](docs/V1alpha1PodPresetList.md) - [Kubernetes::V1alpha1PodPresetSpec](docs/V1alpha1PodPresetSpec.md) + - [Kubernetes::V1alpha1Policy](docs/V1alpha1Policy.md) - [Kubernetes::V1alpha1PolicyRule](docs/V1alpha1PolicyRule.md) - [Kubernetes::V1alpha1PriorityClass](docs/V1alpha1PriorityClass.md) - [Kubernetes::V1alpha1PriorityClassList](docs/V1alpha1PriorityClassList.md) @@ -1059,15 +1296,23 @@ Class | Method | HTTP request | Description - [Kubernetes::V1alpha1RoleList](docs/V1alpha1RoleList.md) - [Kubernetes::V1alpha1RoleRef](docs/V1alpha1RoleRef.md) - [Kubernetes::V1alpha1Rule](docs/V1alpha1Rule.md) - - [Kubernetes::V1alpha1RuleWithOperations](docs/V1alpha1RuleWithOperations.md) - [Kubernetes::V1alpha1ServiceReference](docs/V1alpha1ServiceReference.md) - [Kubernetes::V1alpha1Subject](docs/V1alpha1Subject.md) + - [Kubernetes::V1alpha1VolumeAttachment](docs/V1alpha1VolumeAttachment.md) + - [Kubernetes::V1alpha1VolumeAttachmentList](docs/V1alpha1VolumeAttachmentList.md) + - [Kubernetes::V1alpha1VolumeAttachmentSource](docs/V1alpha1VolumeAttachmentSource.md) + - [Kubernetes::V1alpha1VolumeAttachmentSpec](docs/V1alpha1VolumeAttachmentSpec.md) + - [Kubernetes::V1alpha1VolumeAttachmentStatus](docs/V1alpha1VolumeAttachmentStatus.md) + - [Kubernetes::V1alpha1VolumeError](docs/V1alpha1VolumeError.md) + - [Kubernetes::V1alpha1Webhook](docs/V1alpha1Webhook.md) + - [Kubernetes::V1alpha1WebhookClientConfig](docs/V1alpha1WebhookClientConfig.md) + - [Kubernetes::V1alpha1WebhookThrottleConfig](docs/V1alpha1WebhookThrottleConfig.md) - [Kubernetes::V1beta1APIService](docs/V1beta1APIService.md) - [Kubernetes::V1beta1APIServiceCondition](docs/V1beta1APIServiceCondition.md) - [Kubernetes::V1beta1APIServiceList](docs/V1beta1APIServiceList.md) - [Kubernetes::V1beta1APIServiceSpec](docs/V1beta1APIServiceSpec.md) - [Kubernetes::V1beta1APIServiceStatus](docs/V1beta1APIServiceStatus.md) - - [Kubernetes::V1beta1AllowedHostPath](docs/V1beta1AllowedHostPath.md) + - [Kubernetes::V1beta1AggregationRule](docs/V1beta1AggregationRule.md) - [Kubernetes::V1beta1CertificateSigningRequest](docs/V1beta1CertificateSigningRequest.md) - [Kubernetes::V1beta1CertificateSigningRequestCondition](docs/V1beta1CertificateSigningRequestCondition.md) - [Kubernetes::V1beta1CertificateSigningRequestList](docs/V1beta1CertificateSigningRequestList.md) @@ -1083,25 +1328,31 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta1CronJobList](docs/V1beta1CronJobList.md) - [Kubernetes::V1beta1CronJobSpec](docs/V1beta1CronJobSpec.md) - [Kubernetes::V1beta1CronJobStatus](docs/V1beta1CronJobStatus.md) + - [Kubernetes::V1beta1CustomResourceColumnDefinition](docs/V1beta1CustomResourceColumnDefinition.md) + - [Kubernetes::V1beta1CustomResourceConversion](docs/V1beta1CustomResourceConversion.md) - [Kubernetes::V1beta1CustomResourceDefinition](docs/V1beta1CustomResourceDefinition.md) - [Kubernetes::V1beta1CustomResourceDefinitionCondition](docs/V1beta1CustomResourceDefinitionCondition.md) - [Kubernetes::V1beta1CustomResourceDefinitionList](docs/V1beta1CustomResourceDefinitionList.md) - [Kubernetes::V1beta1CustomResourceDefinitionNames](docs/V1beta1CustomResourceDefinitionNames.md) - [Kubernetes::V1beta1CustomResourceDefinitionSpec](docs/V1beta1CustomResourceDefinitionSpec.md) - [Kubernetes::V1beta1CustomResourceDefinitionStatus](docs/V1beta1CustomResourceDefinitionStatus.md) + - [Kubernetes::V1beta1CustomResourceDefinitionVersion](docs/V1beta1CustomResourceDefinitionVersion.md) + - [Kubernetes::V1beta1CustomResourceSubresourceScale](docs/V1beta1CustomResourceSubresourceScale.md) + - [Kubernetes::V1beta1CustomResourceSubresources](docs/V1beta1CustomResourceSubresources.md) - [Kubernetes::V1beta1CustomResourceValidation](docs/V1beta1CustomResourceValidation.md) - [Kubernetes::V1beta1DaemonSet](docs/V1beta1DaemonSet.md) + - [Kubernetes::V1beta1DaemonSetCondition](docs/V1beta1DaemonSetCondition.md) - [Kubernetes::V1beta1DaemonSetList](docs/V1beta1DaemonSetList.md) - [Kubernetes::V1beta1DaemonSetSpec](docs/V1beta1DaemonSetSpec.md) - [Kubernetes::V1beta1DaemonSetStatus](docs/V1beta1DaemonSetStatus.md) - [Kubernetes::V1beta1DaemonSetUpdateStrategy](docs/V1beta1DaemonSetUpdateStrategy.md) + - [Kubernetes::V1beta1Event](docs/V1beta1Event.md) + - [Kubernetes::V1beta1EventList](docs/V1beta1EventList.md) + - [Kubernetes::V1beta1EventSeries](docs/V1beta1EventSeries.md) - [Kubernetes::V1beta1Eviction](docs/V1beta1Eviction.md) - [Kubernetes::V1beta1ExternalDocumentation](docs/V1beta1ExternalDocumentation.md) - - [Kubernetes::V1beta1FSGroupStrategyOptions](docs/V1beta1FSGroupStrategyOptions.md) - [Kubernetes::V1beta1HTTPIngressPath](docs/V1beta1HTTPIngressPath.md) - [Kubernetes::V1beta1HTTPIngressRuleValue](docs/V1beta1HTTPIngressRuleValue.md) - - [Kubernetes::V1beta1HostPortRange](docs/V1beta1HostPortRange.md) - - [Kubernetes::V1beta1IDRange](docs/V1beta1IDRange.md) - [Kubernetes::V1beta1IPBlock](docs/V1beta1IPBlock.md) - [Kubernetes::V1beta1Ingress](docs/V1beta1Ingress.md) - [Kubernetes::V1beta1IngressBackend](docs/V1beta1IngressBackend.md) @@ -1110,13 +1361,14 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta1IngressSpec](docs/V1beta1IngressSpec.md) - [Kubernetes::V1beta1IngressStatus](docs/V1beta1IngressStatus.md) - [Kubernetes::V1beta1IngressTLS](docs/V1beta1IngressTLS.md) - - [Kubernetes::V1beta1JSON](docs/V1beta1JSON.md) - [Kubernetes::V1beta1JSONSchemaProps](docs/V1beta1JSONSchemaProps.md) - - [Kubernetes::V1beta1JSONSchemaPropsOrArray](docs/V1beta1JSONSchemaPropsOrArray.md) - - [Kubernetes::V1beta1JSONSchemaPropsOrBool](docs/V1beta1JSONSchemaPropsOrBool.md) - - [Kubernetes::V1beta1JSONSchemaPropsOrStringArray](docs/V1beta1JSONSchemaPropsOrStringArray.md) - [Kubernetes::V1beta1JobTemplateSpec](docs/V1beta1JobTemplateSpec.md) + - [Kubernetes::V1beta1Lease](docs/V1beta1Lease.md) + - [Kubernetes::V1beta1LeaseList](docs/V1beta1LeaseList.md) + - [Kubernetes::V1beta1LeaseSpec](docs/V1beta1LeaseSpec.md) - [Kubernetes::V1beta1LocalSubjectAccessReview](docs/V1beta1LocalSubjectAccessReview.md) + - [Kubernetes::V1beta1MutatingWebhookConfiguration](docs/V1beta1MutatingWebhookConfiguration.md) + - [Kubernetes::V1beta1MutatingWebhookConfigurationList](docs/V1beta1MutatingWebhookConfigurationList.md) - [Kubernetes::V1beta1NetworkPolicy](docs/V1beta1NetworkPolicy.md) - [Kubernetes::V1beta1NetworkPolicyEgressRule](docs/V1beta1NetworkPolicyEgressRule.md) - [Kubernetes::V1beta1NetworkPolicyIngressRule](docs/V1beta1NetworkPolicyIngressRule.md) @@ -1130,10 +1382,9 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta1PodDisruptionBudgetList](docs/V1beta1PodDisruptionBudgetList.md) - [Kubernetes::V1beta1PodDisruptionBudgetSpec](docs/V1beta1PodDisruptionBudgetSpec.md) - [Kubernetes::V1beta1PodDisruptionBudgetStatus](docs/V1beta1PodDisruptionBudgetStatus.md) - - [Kubernetes::V1beta1PodSecurityPolicy](docs/V1beta1PodSecurityPolicy.md) - - [Kubernetes::V1beta1PodSecurityPolicyList](docs/V1beta1PodSecurityPolicyList.md) - - [Kubernetes::V1beta1PodSecurityPolicySpec](docs/V1beta1PodSecurityPolicySpec.md) - [Kubernetes::V1beta1PolicyRule](docs/V1beta1PolicyRule.md) + - [Kubernetes::V1beta1PriorityClass](docs/V1beta1PriorityClass.md) + - [Kubernetes::V1beta1PriorityClassList](docs/V1beta1PriorityClassList.md) - [Kubernetes::V1beta1ReplicaSet](docs/V1beta1ReplicaSet.md) - [Kubernetes::V1beta1ReplicaSetCondition](docs/V1beta1ReplicaSetCondition.md) - [Kubernetes::V1beta1ReplicaSetList](docs/V1beta1ReplicaSetList.md) @@ -1148,14 +1399,13 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta1RoleRef](docs/V1beta1RoleRef.md) - [Kubernetes::V1beta1RollingUpdateDaemonSet](docs/V1beta1RollingUpdateDaemonSet.md) - [Kubernetes::V1beta1RollingUpdateStatefulSetStrategy](docs/V1beta1RollingUpdateStatefulSetStrategy.md) - - [Kubernetes::V1beta1RunAsUserStrategyOptions](docs/V1beta1RunAsUserStrategyOptions.md) - - [Kubernetes::V1beta1SELinuxStrategyOptions](docs/V1beta1SELinuxStrategyOptions.md) + - [Kubernetes::V1beta1RuleWithOperations](docs/V1beta1RuleWithOperations.md) - [Kubernetes::V1beta1SelfSubjectAccessReview](docs/V1beta1SelfSubjectAccessReview.md) - [Kubernetes::V1beta1SelfSubjectAccessReviewSpec](docs/V1beta1SelfSubjectAccessReviewSpec.md) - [Kubernetes::V1beta1SelfSubjectRulesReview](docs/V1beta1SelfSubjectRulesReview.md) - [Kubernetes::V1beta1SelfSubjectRulesReviewSpec](docs/V1beta1SelfSubjectRulesReviewSpec.md) - - [Kubernetes::V1beta1ServiceReference](docs/V1beta1ServiceReference.md) - [Kubernetes::V1beta1StatefulSet](docs/V1beta1StatefulSet.md) + - [Kubernetes::V1beta1StatefulSetCondition](docs/V1beta1StatefulSetCondition.md) - [Kubernetes::V1beta1StatefulSetList](docs/V1beta1StatefulSetList.md) - [Kubernetes::V1beta1StatefulSetSpec](docs/V1beta1StatefulSetSpec.md) - [Kubernetes::V1beta1StatefulSetStatus](docs/V1beta1StatefulSetStatus.md) @@ -1167,14 +1417,23 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta1SubjectAccessReviewSpec](docs/V1beta1SubjectAccessReviewSpec.md) - [Kubernetes::V1beta1SubjectAccessReviewStatus](docs/V1beta1SubjectAccessReviewStatus.md) - [Kubernetes::V1beta1SubjectRulesReviewStatus](docs/V1beta1SubjectRulesReviewStatus.md) - - [Kubernetes::V1beta1SupplementalGroupsStrategyOptions](docs/V1beta1SupplementalGroupsStrategyOptions.md) - [Kubernetes::V1beta1TokenReview](docs/V1beta1TokenReview.md) - [Kubernetes::V1beta1TokenReviewSpec](docs/V1beta1TokenReviewSpec.md) - [Kubernetes::V1beta1TokenReviewStatus](docs/V1beta1TokenReviewStatus.md) - [Kubernetes::V1beta1UserInfo](docs/V1beta1UserInfo.md) + - [Kubernetes::V1beta1ValidatingWebhookConfiguration](docs/V1beta1ValidatingWebhookConfiguration.md) + - [Kubernetes::V1beta1ValidatingWebhookConfigurationList](docs/V1beta1ValidatingWebhookConfigurationList.md) + - [Kubernetes::V1beta1VolumeAttachment](docs/V1beta1VolumeAttachment.md) + - [Kubernetes::V1beta1VolumeAttachmentList](docs/V1beta1VolumeAttachmentList.md) + - [Kubernetes::V1beta1VolumeAttachmentSource](docs/V1beta1VolumeAttachmentSource.md) + - [Kubernetes::V1beta1VolumeAttachmentSpec](docs/V1beta1VolumeAttachmentSpec.md) + - [Kubernetes::V1beta1VolumeAttachmentStatus](docs/V1beta1VolumeAttachmentStatus.md) + - [Kubernetes::V1beta1VolumeError](docs/V1beta1VolumeError.md) + - [Kubernetes::V1beta1Webhook](docs/V1beta1Webhook.md) - [Kubernetes::V1beta2ControllerRevision](docs/V1beta2ControllerRevision.md) - [Kubernetes::V1beta2ControllerRevisionList](docs/V1beta2ControllerRevisionList.md) - [Kubernetes::V1beta2DaemonSet](docs/V1beta2DaemonSet.md) + - [Kubernetes::V1beta2DaemonSetCondition](docs/V1beta2DaemonSetCondition.md) - [Kubernetes::V1beta2DaemonSetList](docs/V1beta2DaemonSetList.md) - [Kubernetes::V1beta2DaemonSetSpec](docs/V1beta2DaemonSetSpec.md) - [Kubernetes::V1beta2DaemonSetStatus](docs/V1beta2DaemonSetStatus.md) @@ -1197,6 +1456,7 @@ Class | Method | HTTP request | Description - [Kubernetes::V1beta2ScaleSpec](docs/V1beta2ScaleSpec.md) - [Kubernetes::V1beta2ScaleStatus](docs/V1beta2ScaleStatus.md) - [Kubernetes::V1beta2StatefulSet](docs/V1beta2StatefulSet.md) + - [Kubernetes::V1beta2StatefulSetCondition](docs/V1beta2StatefulSetCondition.md) - [Kubernetes::V1beta2StatefulSetList](docs/V1beta2StatefulSetList.md) - [Kubernetes::V1beta2StatefulSetSpec](docs/V1beta2StatefulSetSpec.md) - [Kubernetes::V1beta2StatefulSetStatus](docs/V1beta2StatefulSetStatus.md) @@ -1207,6 +1467,8 @@ Class | Method | HTTP request | Description - [Kubernetes::V2alpha1CronJobStatus](docs/V2alpha1CronJobStatus.md) - [Kubernetes::V2alpha1JobTemplateSpec](docs/V2alpha1JobTemplateSpec.md) - [Kubernetes::V2beta1CrossVersionObjectReference](docs/V2beta1CrossVersionObjectReference.md) + - [Kubernetes::V2beta1ExternalMetricSource](docs/V2beta1ExternalMetricSource.md) + - [Kubernetes::V2beta1ExternalMetricStatus](docs/V2beta1ExternalMetricStatus.md) - [Kubernetes::V2beta1HorizontalPodAutoscaler](docs/V2beta1HorizontalPodAutoscaler.md) - [Kubernetes::V2beta1HorizontalPodAutoscalerCondition](docs/V2beta1HorizontalPodAutoscalerCondition.md) - [Kubernetes::V2beta1HorizontalPodAutoscalerList](docs/V2beta1HorizontalPodAutoscalerList.md) @@ -1220,6 +1482,25 @@ Class | Method | HTTP request | Description - [Kubernetes::V2beta1PodsMetricStatus](docs/V2beta1PodsMetricStatus.md) - [Kubernetes::V2beta1ResourceMetricSource](docs/V2beta1ResourceMetricSource.md) - [Kubernetes::V2beta1ResourceMetricStatus](docs/V2beta1ResourceMetricStatus.md) + - [Kubernetes::V2beta2CrossVersionObjectReference](docs/V2beta2CrossVersionObjectReference.md) + - [Kubernetes::V2beta2ExternalMetricSource](docs/V2beta2ExternalMetricSource.md) + - [Kubernetes::V2beta2ExternalMetricStatus](docs/V2beta2ExternalMetricStatus.md) + - [Kubernetes::V2beta2HorizontalPodAutoscaler](docs/V2beta2HorizontalPodAutoscaler.md) + - [Kubernetes::V2beta2HorizontalPodAutoscalerCondition](docs/V2beta2HorizontalPodAutoscalerCondition.md) + - [Kubernetes::V2beta2HorizontalPodAutoscalerList](docs/V2beta2HorizontalPodAutoscalerList.md) + - [Kubernetes::V2beta2HorizontalPodAutoscalerSpec](docs/V2beta2HorizontalPodAutoscalerSpec.md) + - [Kubernetes::V2beta2HorizontalPodAutoscalerStatus](docs/V2beta2HorizontalPodAutoscalerStatus.md) + - [Kubernetes::V2beta2MetricIdentifier](docs/V2beta2MetricIdentifier.md) + - [Kubernetes::V2beta2MetricSpec](docs/V2beta2MetricSpec.md) + - [Kubernetes::V2beta2MetricStatus](docs/V2beta2MetricStatus.md) + - [Kubernetes::V2beta2MetricTarget](docs/V2beta2MetricTarget.md) + - [Kubernetes::V2beta2MetricValueStatus](docs/V2beta2MetricValueStatus.md) + - [Kubernetes::V2beta2ObjectMetricSource](docs/V2beta2ObjectMetricSource.md) + - [Kubernetes::V2beta2ObjectMetricStatus](docs/V2beta2ObjectMetricStatus.md) + - [Kubernetes::V2beta2PodsMetricSource](docs/V2beta2PodsMetricSource.md) + - [Kubernetes::V2beta2PodsMetricStatus](docs/V2beta2PodsMetricStatus.md) + - [Kubernetes::V2beta2ResourceMetricSource](docs/V2beta2ResourceMetricSource.md) + - [Kubernetes::V2beta2ResourceMetricStatus](docs/V2beta2ResourceMetricStatus.md) - [Kubernetes::VersionInfo](docs/VersionInfo.md) diff --git a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md index bdb73a9a..c4b21acb 100644 --- a/kubernetes/docs/AdmissionregistrationV1alpha1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1alpha1Api.md @@ -4,80 +4,16 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#create_external_admission_hook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | [**create_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#create_initializer_configuration) | **POST** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -[**delete_collection_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#delete_collection_external_admission_hook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | [**delete_collection_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#delete_collection_initializer_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -[**delete_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#delete_external_admission_hook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | [**delete_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#delete_initializer_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | [**get_api_resources**](AdmissionregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/ | -[**list_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#list_external_admission_hook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations | [**list_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#list_initializer_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations | -[**patch_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#patch_external_admission_hook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | [**patch_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#patch_initializer_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | -[**read_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#read_external_admission_hook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | [**read_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#read_initializer_configuration) | **GET** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | -[**replace_external_admission_hook_configuration**](AdmissionregistrationV1alpha1Api.md#replace_external_admission_hook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name} | [**replace_initializer_configuration**](AdmissionregistrationV1alpha1Api.md#replace_initializer_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name} | -# **create_external_admission_hook_configuration** -> V1alpha1ExternalAdmissionHookConfiguration create_external_admission_hook_configuration(body, opts) - - - -create an ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -body = Kubernetes::V1alpha1ExternalAdmissionHookConfiguration.new # V1alpha1ExternalAdmissionHookConfiguration | - -opts = { - pretty: "pretty_example", # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.create_external_admission_hook_configuration(body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->create_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **body** | [**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **create_initializer_configuration** > V1alpha1InitializerConfiguration create_initializer_configuration(body, opts) @@ -102,7 +38,9 @@ api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new body = Kubernetes::V1alpha1InitializerConfiguration.new # V1alpha1InitializerConfiguration | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -118,7 +56,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -135,76 +75,6 @@ Name | Type | Description | Notes -# **delete_collection_external_admission_hook_configuration** -> V1Status delete_collection_external_admission_hook_configuration(opts) - - - -delete collection of ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -opts = { - pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. - label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. - watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -} - -begin - result = api_instance.delete_collection_external_admission_hook_configuration(opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->delete_collection_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] - **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] - **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **delete_collection_initializer_configuration** > V1Status delete_collection_initializer_configuration(opts) @@ -227,14 +97,14 @@ end api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -250,14 +120,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -275,74 +145,8 @@ Name | Type | Description | Notes -# **delete_external_admission_hook_configuration** -> V1Status delete_external_admission_hook_configuration(name, body, opts) - - - -delete an ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -name = "name_example" # String | name of the ExternalAdmissionHookConfiguration - -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. - grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. -} - -begin - result = api_instance.delete_external_admission_hook_configuration(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->delete_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ExternalAdmissionHookConfiguration | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] - **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] - -### Return type - -[**V1Status**](V1Status.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **delete_initializer_configuration** -> V1Status delete_initializer_configuration(name, body, opts) +> V1Status delete_initializer_configuration(name, , opts) @@ -364,17 +168,17 @@ api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new name = "name_example" # String | name of the InitializerConfiguration -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_initializer_configuration(name, body, opts) + result = api_instance.delete_initializer_configuration(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AdmissionregistrationV1alpha1Api->delete_initializer_configuration: #{e}" @@ -386,11 +190,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the InitializerConfiguration | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -454,76 +259,6 @@ This endpoint does not need any parameter. -# **list_external_admission_hook_configuration** -> V1alpha1ExternalAdmissionHookConfigurationList list_external_admission_hook_configuration(opts) - - - -list or watch objects of kind ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -opts = { - pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. - label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. - limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. - watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. -} - -begin - result = api_instance.list_external_admission_hook_configuration(opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->list_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] - **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] - **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] - **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] - **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] - **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] - -### Return type - -[**V1alpha1ExternalAdmissionHookConfigurationList**](V1alpha1ExternalAdmissionHookConfigurationList.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch - - - # **list_initializer_configuration** > V1alpha1InitializerConfigurationList list_initializer_configuration(opts) @@ -546,14 +281,14 @@ end api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -569,14 +304,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -594,66 +329,6 @@ Name | Type | Description | Notes -# **patch_external_admission_hook_configuration** -> V1alpha1ExternalAdmissionHookConfiguration patch_external_admission_hook_configuration(name, body, opts) - - - -partially update the specified ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -name = "name_example" # String | name of the ExternalAdmissionHookConfiguration - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_external_admission_hook_configuration(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->patch_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ExternalAdmissionHookConfiguration | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **patch_initializer_configuration** > V1alpha1InitializerConfiguration patch_initializer_configuration(name, body, opts) @@ -680,7 +355,8 @@ name = "name_example" # String | name of the InitializerConfiguration body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -698,6 +374,7 @@ Name | Type | Description | Notes **name** | **String**| name of the InitializerConfiguration | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -714,67 +391,6 @@ Name | Type | Description | Notes -# **read_external_admission_hook_configuration** -> V1alpha1ExternalAdmissionHookConfiguration read_external_admission_hook_configuration(name, , opts) - - - -read the specified ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -name = "name_example" # String | name of the ExternalAdmissionHookConfiguration - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. - exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. -} - -begin - result = api_instance.read_external_admission_hook_configuration(name, , opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->read_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ExternalAdmissionHookConfiguration | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] - -### Return type - -[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **read_initializer_configuration** > V1alpha1InitializerConfiguration read_initializer_configuration(name, , opts) @@ -799,7 +415,7 @@ api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new name = "name_example" # String | name of the InitializerConfiguration opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -836,66 +452,6 @@ Name | Type | Description | Notes -# **replace_external_admission_hook_configuration** -> V1alpha1ExternalAdmissionHookConfiguration replace_external_admission_hook_configuration(name, body, opts) - - - -replace the specified ExternalAdmissionHookConfiguration - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - -name = "name_example" # String | name of the ExternalAdmissionHookConfiguration - -body = Kubernetes::V1alpha1ExternalAdmissionHookConfiguration.new # V1alpha1ExternalAdmissionHookConfiguration | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.replace_external_admission_hook_configuration(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling AdmissionregistrationV1alpha1Api->replace_external_admission_hook_configuration: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ExternalAdmissionHookConfiguration | - **body** | [**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md)| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1alpha1ExternalAdmissionHookConfiguration**](V1alpha1ExternalAdmissionHookConfiguration.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - # **replace_initializer_configuration** > V1alpha1InitializerConfiguration replace_initializer_configuration(name, body, opts) @@ -922,7 +478,8 @@ name = "name_example" # String | name of the InitializerConfiguration body = Kubernetes::V1alpha1InitializerConfiguration.new # V1alpha1InitializerConfiguration | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -940,6 +497,7 @@ Name | Type | Description | Notes **name** | **String**| name of the InitializerConfiguration | **body** | [**V1alpha1InitializerConfiguration**](V1alpha1InitializerConfiguration.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md new file mode 100644 index 00000000..77f2f121 --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationV1beta1Api.md @@ -0,0 +1,976 @@ +# Kubernetes::AdmissionregistrationV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#create_mutating_webhook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +[**create_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#create_validating_webhook_configuration) | **POST** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +[**delete_collection_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#delete_collection_mutating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +[**delete_collection_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#delete_collection_validating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +[**delete_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#delete_mutating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +[**delete_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#delete_validating_webhook_configuration) | **DELETE** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +[**get_api_resources**](AdmissionregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/admissionregistration.k8s.io/v1beta1/ | +[**list_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#list_mutating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations | +[**list_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#list_validating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations | +[**patch_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#patch_mutating_webhook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +[**patch_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#patch_validating_webhook_configuration) | **PATCH** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +[**read_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#read_mutating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +[**read_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#read_validating_webhook_configuration) | **GET** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | +[**replace_mutating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#replace_mutating_webhook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name} | +[**replace_validating_webhook_configuration**](AdmissionregistrationV1beta1Api.md#replace_validating_webhook_configuration) | **PUT** /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name} | + + +# **create_mutating_webhook_configuration** +> V1beta1MutatingWebhookConfiguration create_mutating_webhook_configuration(body, opts) + + + +create a MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +body = Kubernetes::V1beta1MutatingWebhookConfiguration.new # V1beta1MutatingWebhookConfiguration | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_mutating_webhook_configuration(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->create_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **create_validating_webhook_configuration** +> V1beta1ValidatingWebhookConfiguration create_validating_webhook_configuration(body, opts) + + + +create a ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +body = Kubernetes::V1beta1ValidatingWebhookConfiguration.new # V1beta1ValidatingWebhookConfiguration | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_validating_webhook_configuration(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->create_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_mutating_webhook_configuration** +> V1Status delete_collection_mutating_webhook_configuration(opts) + + + +delete collection of MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_mutating_webhook_configuration(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->delete_collection_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_validating_webhook_configuration** +> V1Status delete_collection_validating_webhook_configuration(opts) + + + +delete collection of ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_validating_webhook_configuration(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->delete_collection_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_mutating_webhook_configuration** +> V1Status delete_mutating_webhook_configuration(name, , opts) + + + +delete a MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the MutatingWebhookConfiguration + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_mutating_webhook_configuration(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->delete_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the MutatingWebhookConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_validating_webhook_configuration** +> V1Status delete_validating_webhook_configuration(name, , opts) + + + +delete a ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the ValidatingWebhookConfiguration + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_validating_webhook_configuration(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->delete_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ValidatingWebhookConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_mutating_webhook_configuration** +> V1beta1MutatingWebhookConfigurationList list_mutating_webhook_configuration(opts) + + + +list or watch objects of kind MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_mutating_webhook_configuration(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->list_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1MutatingWebhookConfigurationList**](V1beta1MutatingWebhookConfigurationList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_validating_webhook_configuration** +> V1beta1ValidatingWebhookConfigurationList list_validating_webhook_configuration(opts) + + + +list or watch objects of kind ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_validating_webhook_configuration(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->list_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1ValidatingWebhookConfigurationList**](V1beta1ValidatingWebhookConfigurationList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_mutating_webhook_configuration** +> V1beta1MutatingWebhookConfiguration patch_mutating_webhook_configuration(name, body, opts) + + + +partially update the specified MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the MutatingWebhookConfiguration + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_mutating_webhook_configuration(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->patch_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the MutatingWebhookConfiguration | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_validating_webhook_configuration** +> V1beta1ValidatingWebhookConfiguration patch_validating_webhook_configuration(name, body, opts) + + + +partially update the specified ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the ValidatingWebhookConfiguration + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_validating_webhook_configuration(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->patch_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ValidatingWebhookConfiguration | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_mutating_webhook_configuration** +> V1beta1MutatingWebhookConfiguration read_mutating_webhook_configuration(name, , opts) + + + +read the specified MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the MutatingWebhookConfiguration + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_mutating_webhook_configuration(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->read_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the MutatingWebhookConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_validating_webhook_configuration** +> V1beta1ValidatingWebhookConfiguration read_validating_webhook_configuration(name, , opts) + + + +read the specified ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the ValidatingWebhookConfiguration + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_validating_webhook_configuration(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->read_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ValidatingWebhookConfiguration | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_mutating_webhook_configuration** +> V1beta1MutatingWebhookConfiguration replace_mutating_webhook_configuration(name, body, opts) + + + +replace the specified MutatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the MutatingWebhookConfiguration + +body = Kubernetes::V1beta1MutatingWebhookConfiguration.new # V1beta1MutatingWebhookConfiguration | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_mutating_webhook_configuration(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->replace_mutating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the MutatingWebhookConfiguration | + **body** | [**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1MutatingWebhookConfiguration**](V1beta1MutatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_validating_webhook_configuration** +> V1beta1ValidatingWebhookConfiguration replace_validating_webhook_configuration(name, body, opts) + + + +replace the specified ValidatingWebhookConfiguration + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AdmissionregistrationV1beta1Api.new + +name = "name_example" # String | name of the ValidatingWebhookConfiguration + +body = Kubernetes::V1beta1ValidatingWebhookConfiguration.new # V1beta1ValidatingWebhookConfiguration | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_validating_webhook_configuration(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AdmissionregistrationV1beta1Api->replace_validating_webhook_configuration: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ValidatingWebhookConfiguration | + **body** | [**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1ValidatingWebhookConfiguration**](V1beta1ValidatingWebhookConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/AdmissionregistrationV1beta1ServiceReference.md b/kubernetes/docs/AdmissionregistrationV1beta1ServiceReference.md new file mode 100644 index 00000000..924e9870 --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationV1beta1ServiceReference.md @@ -0,0 +1,10 @@ +# Kubernetes::AdmissionregistrationV1beta1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | `name` is the name of the service. Required | +**namespace** | **String** | `namespace` is the namespace of the service. Required | +**path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] + + diff --git a/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md b/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md new file mode 100644 index 00000000..8d360345 --- /dev/null +++ b/kubernetes/docs/AdmissionregistrationV1beta1WebhookClientConfig.md @@ -0,0 +1,10 @@ +# Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **String** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**AdmissionregistrationV1beta1ServiceReference**](AdmissionregistrationV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **String** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + + diff --git a/kubernetes/docs/ApiextensionsV1beta1Api.md b/kubernetes/docs/ApiextensionsV1beta1Api.md index 1624cf69..38ccc554 100644 --- a/kubernetes/docs/ApiextensionsV1beta1Api.md +++ b/kubernetes/docs/ApiextensionsV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](ApiextensionsV1beta1Api.md#get_api_resources) | **GET** /apis/apiextensions.k8s.io/v1beta1/ | [**list_custom_resource_definition**](ApiextensionsV1beta1Api.md#list_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions | [**patch_custom_resource_definition**](ApiextensionsV1beta1Api.md#patch_custom_resource_definition) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**patch_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#patch_custom_resource_definition_status) | **PATCH** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | [**read_custom_resource_definition**](ApiextensionsV1beta1Api.md#read_custom_resource_definition) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | +[**read_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#read_custom_resource_definition_status) | **GET** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | [**replace_custom_resource_definition**](ApiextensionsV1beta1Api.md#replace_custom_resource_definition) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name} | [**replace_custom_resource_definition_status**](ApiextensionsV1beta1Api.md#replace_custom_resource_definition_status) | **PUT** /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status | @@ -39,7 +41,9 @@ api_instance = Kubernetes::ApiextensionsV1beta1Api.new body = Kubernetes::V1beta1CustomResourceDefinition.new # V1beta1CustomResourceDefinition | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -55,7 +59,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -94,14 +100,14 @@ end api_instance = Kubernetes::ApiextensionsV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -117,14 +123,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -143,7 +149,7 @@ Name | Type | Description | Notes # **delete_custom_resource_definition** -> V1Status delete_custom_resource_definition(name, body, opts) +> V1Status delete_custom_resource_definition(name, , opts) @@ -165,17 +171,17 @@ api_instance = Kubernetes::ApiextensionsV1beta1Api.new name = "name_example" # String | name of the CustomResourceDefinition -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_custom_resource_definition(name, body, opts) + result = api_instance.delete_custom_resource_definition(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ApiextensionsV1beta1Api->delete_custom_resource_definition: #{e}" @@ -187,11 +193,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CustomResourceDefinition | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -277,14 +284,14 @@ end api_instance = Kubernetes::ApiextensionsV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -300,14 +307,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -351,7 +358,8 @@ name = "name_example" # String | name of the CustomResourceDefinition body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -369,6 +377,69 @@ Name | Type | Description | Notes **name** | **String**| name of the CustomResourceDefinition | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_custom_resource_definition_status** +> V1beta1CustomResourceDefinition patch_custom_resource_definition_status(name, body, opts) + + + +partially update status of the specified CustomResourceDefinition + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiextensionsV1beta1Api.new + +name = "name_example" # String | name of the CustomResourceDefinition + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_custom_resource_definition_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiextensionsV1beta1Api->patch_custom_resource_definition_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -409,7 +480,7 @@ api_instance = Kubernetes::ApiextensionsV1beta1Api.new name = "name_example" # String | name of the CustomResourceDefinition opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -446,6 +517,63 @@ Name | Type | Description | Notes +# **read_custom_resource_definition_status** +> V1beta1CustomResourceDefinition read_custom_resource_definition_status(name, , opts) + + + +read status of the specified CustomResourceDefinition + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiextensionsV1beta1Api.new + +name = "name_example" # String | name of the CustomResourceDefinition + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_custom_resource_definition_status(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiextensionsV1beta1Api->read_custom_resource_definition_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CustomResourceDefinition | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **replace_custom_resource_definition** > V1beta1CustomResourceDefinition replace_custom_resource_definition(name, body, opts) @@ -472,7 +600,8 @@ name = "name_example" # String | name of the CustomResourceDefinition body = Kubernetes::V1beta1CustomResourceDefinition.new # V1beta1CustomResourceDefinition | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -490,6 +619,7 @@ Name | Type | Description | Notes **name** | **String**| name of the CustomResourceDefinition | **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -532,7 +662,8 @@ name = "name_example" # String | name of the CustomResourceDefinition body = Kubernetes::V1beta1CustomResourceDefinition.new # V1beta1CustomResourceDefinition | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -550,6 +681,7 @@ Name | Type | Description | Notes **name** | **String**| name of the CustomResourceDefinition | **body** | [**V1beta1CustomResourceDefinition**](V1beta1CustomResourceDefinition.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md b/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md new file mode 100644 index 00000000..29d7f055 --- /dev/null +++ b/kubernetes/docs/ApiextensionsV1beta1ServiceReference.md @@ -0,0 +1,10 @@ +# Kubernetes::ApiextensionsV1beta1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | `name` is the name of the service. Required | +**namespace** | **String** | `namespace` is the namespace of the service. Required | +**path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] + + diff --git a/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md b/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md new file mode 100644 index 00000000..9a1deab1 --- /dev/null +++ b/kubernetes/docs/ApiextensionsV1beta1WebhookClientConfig.md @@ -0,0 +1,10 @@ +# Kubernetes::ApiextensionsV1beta1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **String** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**ApiextensionsV1beta1ServiceReference**](ApiextensionsV1beta1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **String** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + + diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md new file mode 100644 index 00000000..75b89a5a --- /dev/null +++ b/kubernetes/docs/ApiregistrationV1Api.md @@ -0,0 +1,700 @@ +# Kubernetes::ApiregistrationV1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_api_service**](ApiregistrationV1Api.md#create_api_service) | **POST** /apis/apiregistration.k8s.io/v1/apiservices | +[**delete_api_service**](ApiregistrationV1Api.md#delete_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**delete_collection_api_service**](ApiregistrationV1Api.md#delete_collection_api_service) | **DELETE** /apis/apiregistration.k8s.io/v1/apiservices | +[**get_api_resources**](ApiregistrationV1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1/ | +[**list_api_service**](ApiregistrationV1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices | +[**patch_api_service**](ApiregistrationV1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**patch_api_service_status**](ApiregistrationV1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | +[**read_api_service**](ApiregistrationV1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**read_api_service_status**](ApiregistrationV1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | +[**replace_api_service**](ApiregistrationV1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name} | +[**replace_api_service_status**](ApiregistrationV1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1/apiservices/{name}/status | + + +# **create_api_service** +> V1APIService create_api_service(body, opts) + + + +create an APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +body = Kubernetes::V1APIService.new # V1APIService | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_api_service(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->create_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1APIService**](V1APIService.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_api_service** +> V1Status delete_api_service(name, , opts) + + + +delete an APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_api_service(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->delete_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_api_service** +> V1Status delete_collection_api_service(opts) + + + +delete collection of APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_api_service(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->delete_collection_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_api_service** +> V1APIServiceList list_api_service(opts) + + + +list or watch objects of kind APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_api_service(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->list_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1APIServiceList**](V1APIServiceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_api_service** +> V1APIService patch_api_service(name, body, opts) + + + +partially update the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_api_service(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->patch_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_api_service_status** +> V1APIService patch_api_service_status(name, body, opts) + + + +partially update status of the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_api_service_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->patch_api_service_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_api_service** +> V1APIService read_api_service(name, , opts) + + + +read the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_api_service(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->read_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_api_service_status** +> V1APIService read_api_service_status(name, , opts) + + + +read status of the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_api_service_status(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->read_api_service_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_api_service** +> V1APIService replace_api_service(name, body, opts) + + + +replace the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +body = Kubernetes::V1APIService.new # V1APIService | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_api_service(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->replace_api_service: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | [**V1APIService**](V1APIService.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_api_service_status** +> V1APIService replace_api_service_status(name, body, opts) + + + +replace status of the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1Api.new + +name = "name_example" # String | name of the APIService + +body = Kubernetes::V1APIService.new # V1APIService | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_api_service_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1Api->replace_api_service_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | [**V1APIService**](V1APIService.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1APIService**](V1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/ApiregistrationV1beta1Api.md b/kubernetes/docs/ApiregistrationV1beta1Api.md index b3801529..5caa3c96 100644 --- a/kubernetes/docs/ApiregistrationV1beta1Api.md +++ b/kubernetes/docs/ApiregistrationV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](ApiregistrationV1beta1Api.md#get_api_resources) | **GET** /apis/apiregistration.k8s.io/v1beta1/ | [**list_api_service**](ApiregistrationV1beta1Api.md#list_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices | [**patch_api_service**](ApiregistrationV1beta1Api.md#patch_api_service) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**patch_api_service_status**](ApiregistrationV1beta1Api.md#patch_api_service_status) | **PATCH** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | [**read_api_service**](ApiregistrationV1beta1Api.md#read_api_service) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | +[**read_api_service_status**](ApiregistrationV1beta1Api.md#read_api_service_status) | **GET** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | [**replace_api_service**](ApiregistrationV1beta1Api.md#replace_api_service) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name} | [**replace_api_service_status**](ApiregistrationV1beta1Api.md#replace_api_service_status) | **PUT** /apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status | @@ -39,7 +41,9 @@ api_instance = Kubernetes::ApiregistrationV1beta1Api.new body = Kubernetes::V1beta1APIService.new # V1beta1APIService | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -55,7 +59,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1APIService**](V1beta1APIService.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -73,7 +79,7 @@ Name | Type | Description | Notes # **delete_api_service** -> V1Status delete_api_service(name, body, opts) +> V1Status delete_api_service(name, , opts) @@ -95,17 +101,17 @@ api_instance = Kubernetes::ApiregistrationV1beta1Api.new name = "name_example" # String | name of the APIService -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_api_service(name, body, opts) + result = api_instance.delete_api_service(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ApiregistrationV1beta1Api->delete_api_service: #{e}" @@ -117,11 +123,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the APIService | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -160,14 +167,14 @@ end api_instance = Kubernetes::ApiregistrationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -183,14 +190,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -277,14 +284,14 @@ end api_instance = Kubernetes::ApiregistrationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -300,14 +307,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -351,7 +358,8 @@ name = "name_example" # String | name of the APIService body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -369,6 +377,69 @@ Name | Type | Description | Notes **name** | **String**| name of the APIService | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_api_service_status** +> V1beta1APIService patch_api_service_status(name, body, opts) + + + +partially update status of the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1beta1Api.new + +name = "name_example" # String | name of the APIService + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_api_service_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1beta1Api->patch_api_service_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -409,7 +480,7 @@ api_instance = Kubernetes::ApiregistrationV1beta1Api.new name = "name_example" # String | name of the APIService opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -446,6 +517,63 @@ Name | Type | Description | Notes +# **read_api_service_status** +> V1beta1APIService read_api_service_status(name, , opts) + + + +read status of the specified APIService + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::ApiregistrationV1beta1Api.new + +name = "name_example" # String | name of the APIService + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_api_service_status(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling ApiregistrationV1beta1Api->read_api_service_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the APIService | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1APIService**](V1beta1APIService.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **replace_api_service** > V1beta1APIService replace_api_service(name, body, opts) @@ -472,7 +600,8 @@ name = "name_example" # String | name of the APIService body = Kubernetes::V1beta1APIService.new # V1beta1APIService | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -490,6 +619,7 @@ Name | Type | Description | Notes **name** | **String**| name of the APIService | **body** | [**V1beta1APIService**](V1beta1APIService.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -532,7 +662,8 @@ name = "name_example" # String | name of the APIService body = Kubernetes::V1beta1APIService.new # V1beta1APIService | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -550,6 +681,7 @@ Name | Type | Description | Notes **name** | **String**| name of the APIService | **body** | [**V1beta1APIService**](V1beta1APIService.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/ApiregistrationV1beta1ServiceReference.md b/kubernetes/docs/ApiregistrationV1beta1ServiceReference.md new file mode 100644 index 00000000..5b99e581 --- /dev/null +++ b/kubernetes/docs/ApiregistrationV1beta1ServiceReference.md @@ -0,0 +1,9 @@ +# Kubernetes::ApiregistrationV1beta1ServiceReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name is the name of the service | [optional] +**namespace** | **String** | Namespace is the namespace of the service | [optional] + + diff --git a/kubernetes/docs/AppsV1Api.md b/kubernetes/docs/AppsV1Api.md new file mode 100644 index 00000000..bcd1d47d --- /dev/null +++ b/kubernetes/docs/AppsV1Api.md @@ -0,0 +1,4167 @@ +# Kubernetes::AppsV1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_namespaced_controller_revision**](AppsV1Api.md#create_namespaced_controller_revision) | **POST** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +[**create_namespaced_daemon_set**](AppsV1Api.md#create_namespaced_daemon_set) | **POST** /apis/apps/v1/namespaces/{namespace}/daemonsets | +[**create_namespaced_deployment**](AppsV1Api.md#create_namespaced_deployment) | **POST** /apis/apps/v1/namespaces/{namespace}/deployments | +[**create_namespaced_replica_set**](AppsV1Api.md#create_namespaced_replica_set) | **POST** /apis/apps/v1/namespaces/{namespace}/replicasets | +[**create_namespaced_stateful_set**](AppsV1Api.md#create_namespaced_stateful_set) | **POST** /apis/apps/v1/namespaces/{namespace}/statefulsets | +[**delete_collection_namespaced_controller_revision**](AppsV1Api.md#delete_collection_namespaced_controller_revision) | **DELETE** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +[**delete_collection_namespaced_daemon_set**](AppsV1Api.md#delete_collection_namespaced_daemon_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/daemonsets | +[**delete_collection_namespaced_deployment**](AppsV1Api.md#delete_collection_namespaced_deployment) | **DELETE** /apis/apps/v1/namespaces/{namespace}/deployments | +[**delete_collection_namespaced_replica_set**](AppsV1Api.md#delete_collection_namespaced_replica_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/replicasets | +[**delete_collection_namespaced_stateful_set**](AppsV1Api.md#delete_collection_namespaced_stateful_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/statefulsets | +[**delete_namespaced_controller_revision**](AppsV1Api.md#delete_namespaced_controller_revision) | **DELETE** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +[**delete_namespaced_daemon_set**](AppsV1Api.md#delete_namespaced_daemon_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +[**delete_namespaced_deployment**](AppsV1Api.md#delete_namespaced_deployment) | **DELETE** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +[**delete_namespaced_replica_set**](AppsV1Api.md#delete_namespaced_replica_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +[**delete_namespaced_stateful_set**](AppsV1Api.md#delete_namespaced_stateful_set) | **DELETE** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +[**get_api_resources**](AppsV1Api.md#get_api_resources) | **GET** /apis/apps/v1/ | +[**list_controller_revision_for_all_namespaces**](AppsV1Api.md#list_controller_revision_for_all_namespaces) | **GET** /apis/apps/v1/controllerrevisions | +[**list_daemon_set_for_all_namespaces**](AppsV1Api.md#list_daemon_set_for_all_namespaces) | **GET** /apis/apps/v1/daemonsets | +[**list_deployment_for_all_namespaces**](AppsV1Api.md#list_deployment_for_all_namespaces) | **GET** /apis/apps/v1/deployments | +[**list_namespaced_controller_revision**](AppsV1Api.md#list_namespaced_controller_revision) | **GET** /apis/apps/v1/namespaces/{namespace}/controllerrevisions | +[**list_namespaced_daemon_set**](AppsV1Api.md#list_namespaced_daemon_set) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets | +[**list_namespaced_deployment**](AppsV1Api.md#list_namespaced_deployment) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments | +[**list_namespaced_replica_set**](AppsV1Api.md#list_namespaced_replica_set) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets | +[**list_namespaced_stateful_set**](AppsV1Api.md#list_namespaced_stateful_set) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets | +[**list_replica_set_for_all_namespaces**](AppsV1Api.md#list_replica_set_for_all_namespaces) | **GET** /apis/apps/v1/replicasets | +[**list_stateful_set_for_all_namespaces**](AppsV1Api.md#list_stateful_set_for_all_namespaces) | **GET** /apis/apps/v1/statefulsets | +[**patch_namespaced_controller_revision**](AppsV1Api.md#patch_namespaced_controller_revision) | **PATCH** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +[**patch_namespaced_daemon_set**](AppsV1Api.md#patch_namespaced_daemon_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +[**patch_namespaced_daemon_set_status**](AppsV1Api.md#patch_namespaced_daemon_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +[**patch_namespaced_deployment**](AppsV1Api.md#patch_namespaced_deployment) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +[**patch_namespaced_deployment_scale**](AppsV1Api.md#patch_namespaced_deployment_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +[**patch_namespaced_deployment_status**](AppsV1Api.md#patch_namespaced_deployment_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +[**patch_namespaced_replica_set**](AppsV1Api.md#patch_namespaced_replica_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +[**patch_namespaced_replica_set_scale**](AppsV1Api.md#patch_namespaced_replica_set_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +[**patch_namespaced_replica_set_status**](AppsV1Api.md#patch_namespaced_replica_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +[**patch_namespaced_stateful_set**](AppsV1Api.md#patch_namespaced_stateful_set) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +[**patch_namespaced_stateful_set_scale**](AppsV1Api.md#patch_namespaced_stateful_set_scale) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +[**patch_namespaced_stateful_set_status**](AppsV1Api.md#patch_namespaced_stateful_set_status) | **PATCH** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | +[**read_namespaced_controller_revision**](AppsV1Api.md#read_namespaced_controller_revision) | **GET** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +[**read_namespaced_daemon_set**](AppsV1Api.md#read_namespaced_daemon_set) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +[**read_namespaced_daemon_set_status**](AppsV1Api.md#read_namespaced_daemon_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +[**read_namespaced_deployment**](AppsV1Api.md#read_namespaced_deployment) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +[**read_namespaced_deployment_scale**](AppsV1Api.md#read_namespaced_deployment_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +[**read_namespaced_deployment_status**](AppsV1Api.md#read_namespaced_deployment_status) | **GET** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +[**read_namespaced_replica_set**](AppsV1Api.md#read_namespaced_replica_set) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +[**read_namespaced_replica_set_scale**](AppsV1Api.md#read_namespaced_replica_set_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +[**read_namespaced_replica_set_status**](AppsV1Api.md#read_namespaced_replica_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +[**read_namespaced_stateful_set**](AppsV1Api.md#read_namespaced_stateful_set) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +[**read_namespaced_stateful_set_scale**](AppsV1Api.md#read_namespaced_stateful_set_scale) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +[**read_namespaced_stateful_set_status**](AppsV1Api.md#read_namespaced_stateful_set_status) | **GET** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | +[**replace_namespaced_controller_revision**](AppsV1Api.md#replace_namespaced_controller_revision) | **PUT** /apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name} | +[**replace_namespaced_daemon_set**](AppsV1Api.md#replace_namespaced_daemon_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name} | +[**replace_namespaced_daemon_set_status**](AppsV1Api.md#replace_namespaced_daemon_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status | +[**replace_namespaced_deployment**](AppsV1Api.md#replace_namespaced_deployment) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name} | +[**replace_namespaced_deployment_scale**](AppsV1Api.md#replace_namespaced_deployment_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale | +[**replace_namespaced_deployment_status**](AppsV1Api.md#replace_namespaced_deployment_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/deployments/{name}/status | +[**replace_namespaced_replica_set**](AppsV1Api.md#replace_namespaced_replica_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name} | +[**replace_namespaced_replica_set_scale**](AppsV1Api.md#replace_namespaced_replica_set_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale | +[**replace_namespaced_replica_set_status**](AppsV1Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status | +[**replace_namespaced_stateful_set**](AppsV1Api.md#replace_namespaced_stateful_set) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name} | +[**replace_namespaced_stateful_set_scale**](AppsV1Api.md#replace_namespaced_stateful_set_scale) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale | +[**replace_namespaced_stateful_set_status**](AppsV1Api.md#replace_namespaced_stateful_set_status) | **PUT** /apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status | + + +# **create_namespaced_controller_revision** +> V1ControllerRevision create_namespaced_controller_revision(namespacebody, opts) + + + +create a ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1ControllerRevision.new # V1ControllerRevision | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_controller_revision(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->create_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1ControllerRevision**](V1ControllerRevision.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ControllerRevision**](V1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **create_namespaced_daemon_set** +> V1DaemonSet create_namespaced_daemon_set(namespacebody, opts) + + + +create a DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1DaemonSet.new # V1DaemonSet | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_daemon_set(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->create_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DaemonSet**](V1DaemonSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **create_namespaced_deployment** +> V1Deployment create_namespaced_deployment(namespacebody, opts) + + + +create a Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Deployment.new # V1Deployment | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_deployment(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->create_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Deployment**](V1Deployment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **create_namespaced_replica_set** +> V1ReplicaSet create_namespaced_replica_set(namespacebody, opts) + + + +create a ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1ReplicaSet.new # V1ReplicaSet | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_replica_set(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->create_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1ReplicaSet**](V1ReplicaSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **create_namespaced_stateful_set** +> V1StatefulSet create_namespaced_stateful_set(namespacebody, opts) + + + +create a StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1StatefulSet.new # V1StatefulSet | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_stateful_set(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->create_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1StatefulSet**](V1StatefulSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_controller_revision** +> V1Status delete_collection_namespaced_controller_revision(namespace, opts) + + + +delete collection of ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_controller_revision(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_collection_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_daemon_set** +> V1Status delete_collection_namespaced_daemon_set(namespace, opts) + + + +delete collection of DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_daemon_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_collection_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_deployment** +> V1Status delete_collection_namespaced_deployment(namespace, opts) + + + +delete collection of Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_deployment(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_collection_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_replica_set** +> V1Status delete_collection_namespaced_replica_set(namespace, opts) + + + +delete collection of ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_replica_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_collection_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_stateful_set** +> V1Status delete_collection_namespaced_stateful_set(namespace, opts) + + + +delete collection of StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_stateful_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_collection_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_controller_revision** +> V1Status delete_namespaced_controller_revision(name, namespace, , opts) + + + +delete a ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ControllerRevision + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_controller_revision(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_daemon_set** +> V1Status delete_namespaced_daemon_set(name, namespace, , opts) + + + +delete a DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_daemon_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_deployment** +> V1Status delete_namespaced_deployment(name, namespace, , opts) + + + +delete a Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_deployment(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_replica_set** +> V1Status delete_namespaced_replica_set(name, namespace, , opts) + + + +delete a ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_replica_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_stateful_set** +> V1Status delete_namespaced_stateful_set(name, namespace, , opts) + + + +delete a StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_stateful_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->delete_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_controller_revision_for_all_namespaces** +> V1ControllerRevisionList list_controller_revision_for_all_namespaces(opts) + + + +list or watch objects of kind ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_controller_revision_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_controller_revision_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ControllerRevisionList**](V1ControllerRevisionList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_daemon_set_for_all_namespaces** +> V1DaemonSetList list_daemon_set_for_all_namespaces(opts) + + + +list or watch objects of kind DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_daemon_set_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_daemon_set_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1DaemonSetList**](V1DaemonSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_deployment_for_all_namespaces** +> V1DeploymentList list_deployment_for_all_namespaces(opts) + + + +list or watch objects of kind Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_deployment_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_deployment_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1DeploymentList**](V1DeploymentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_controller_revision** +> V1ControllerRevisionList list_namespaced_controller_revision(namespace, opts) + + + +list or watch objects of kind ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_controller_revision(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ControllerRevisionList**](V1ControllerRevisionList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_daemon_set** +> V1DaemonSetList list_namespaced_daemon_set(namespace, opts) + + + +list or watch objects of kind DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_daemon_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1DaemonSetList**](V1DaemonSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_deployment** +> V1DeploymentList list_namespaced_deployment(namespace, opts) + + + +list or watch objects of kind Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_deployment(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1DeploymentList**](V1DeploymentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_replica_set** +> V1ReplicaSetList list_namespaced_replica_set(namespace, opts) + + + +list or watch objects of kind ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_replica_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ReplicaSetList**](V1ReplicaSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_stateful_set** +> V1StatefulSetList list_namespaced_stateful_set(namespace, opts) + + + +list or watch objects of kind StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_stateful_set(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1StatefulSetList**](V1StatefulSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_replica_set_for_all_namespaces** +> V1ReplicaSetList list_replica_set_for_all_namespaces(opts) + + + +list or watch objects of kind ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_replica_set_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_replica_set_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1ReplicaSetList**](V1ReplicaSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_stateful_set_for_all_namespaces** +> V1StatefulSetList list_stateful_set_for_all_namespaces(opts) + + + +list or watch objects of kind StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_stateful_set_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->list_stateful_set_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1StatefulSetList**](V1StatefulSetList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_namespaced_controller_revision** +> V1ControllerRevision patch_namespaced_controller_revision(name, namespace, body, opts) + + + +partially update the specified ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ControllerRevision + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_controller_revision(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ControllerRevision**](V1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_daemon_set** +> V1DaemonSet patch_namespaced_daemon_set(name, namespace, body, opts) + + + +partially update the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_daemon_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_daemon_set_status** +> V1DaemonSet patch_namespaced_daemon_set_status(name, namespace, body, opts) + + + +partially update status of the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_daemon_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_daemon_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_deployment** +> V1Deployment patch_namespaced_deployment(name, namespace, body, opts) + + + +partially update the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_deployment(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_deployment_scale** +> V1Scale patch_namespaced_deployment_scale(name, namespace, body, opts) + + + +partially update scale of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_deployment_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_deployment_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_deployment_status** +> V1Deployment patch_namespaced_deployment_status(name, namespace, body, opts) + + + +partially update status of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_deployment_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_deployment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_replica_set** +> V1ReplicaSet patch_namespaced_replica_set(name, namespace, body, opts) + + + +partially update the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_replica_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_replica_set_scale** +> V1Scale patch_namespaced_replica_set_scale(name, namespace, body, opts) + + + +partially update scale of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_replica_set_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_replica_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_replica_set_status** +> V1ReplicaSet patch_namespaced_replica_set_status(name, namespace, body, opts) + + + +partially update status of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_replica_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_replica_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_stateful_set** +> V1StatefulSet patch_namespaced_stateful_set(name, namespace, body, opts) + + + +partially update the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_stateful_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_stateful_set_scale** +> V1Scale patch_namespaced_stateful_set_scale(name, namespace, body, opts) + + + +partially update scale of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_stateful_set_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_stateful_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_stateful_set_status** +> V1StatefulSet patch_namespaced_stateful_set_status(name, namespace, body, opts) + + + +partially update status of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_stateful_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->patch_namespaced_stateful_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_controller_revision** +> V1ControllerRevision read_namespaced_controller_revision(name, namespace, , opts) + + + +read the specified ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ControllerRevision + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_controller_revision(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1ControllerRevision**](V1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_daemon_set** +> V1DaemonSet read_namespaced_daemon_set(name, namespace, , opts) + + + +read the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_daemon_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_daemon_set_status** +> V1DaemonSet read_namespaced_daemon_set_status(name, namespace, , opts) + + + +read status of the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_daemon_set_status(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_daemon_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_deployment** +> V1Deployment read_namespaced_deployment(name, namespace, , opts) + + + +read the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_deployment(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_deployment_scale** +> V1Scale read_namespaced_deployment_scale(name, namespace, , opts) + + + +read scale of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_deployment_scale(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_deployment_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_deployment_status** +> V1Deployment read_namespaced_deployment_status(name, namespace, , opts) + + + +read status of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_deployment_status(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_deployment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_replica_set** +> V1ReplicaSet read_namespaced_replica_set(name, namespace, , opts) + + + +read the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_replica_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_replica_set_scale** +> V1Scale read_namespaced_replica_set_scale(name, namespace, , opts) + + + +read scale of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_replica_set_scale(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_replica_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_replica_set_status** +> V1ReplicaSet read_namespaced_replica_set_status(name, namespace, , opts) + + + +read status of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_replica_set_status(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_replica_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_stateful_set** +> V1StatefulSet read_namespaced_stateful_set(name, namespace, , opts) + + + +read the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_stateful_set(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_stateful_set_scale** +> V1Scale read_namespaced_stateful_set_scale(name, namespace, , opts) + + + +read scale of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_stateful_set_scale(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_stateful_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_stateful_set_status** +> V1StatefulSet read_namespaced_stateful_set_status(name, namespace, , opts) + + + +read status of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_stateful_set_status(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->read_namespaced_stateful_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_controller_revision** +> V1ControllerRevision replace_namespaced_controller_revision(name, namespace, body, opts) + + + +replace the specified ControllerRevision + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ControllerRevision + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1ControllerRevision.new # V1ControllerRevision | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_controller_revision(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_controller_revision: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ControllerRevision | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1ControllerRevision**](V1ControllerRevision.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ControllerRevision**](V1ControllerRevision.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_daemon_set** +> V1DaemonSet replace_namespaced_daemon_set(name, namespace, body, opts) + + + +replace the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1DaemonSet.new # V1DaemonSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_daemon_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_daemon_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DaemonSet**](V1DaemonSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_daemon_set_status** +> V1DaemonSet replace_namespaced_daemon_set_status(name, namespace, body, opts) + + + +replace status of the specified DaemonSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the DaemonSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1DaemonSet.new # V1DaemonSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_daemon_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_daemon_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the DaemonSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1DaemonSet**](V1DaemonSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1DaemonSet**](V1DaemonSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_deployment** +> V1Deployment replace_namespaced_deployment(name, namespace, body, opts) + + + +replace the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Deployment.new # V1Deployment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_deployment(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_deployment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Deployment**](V1Deployment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_deployment_scale** +> V1Scale replace_namespaced_deployment_scale(name, namespace, body, opts) + + + +replace scale of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Scale.new # V1Scale | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_deployment_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_deployment_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Scale**](V1Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_deployment_status** +> V1Deployment replace_namespaced_deployment_status(name, namespace, body, opts) + + + +replace status of the specified Deployment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Deployment + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Deployment.new # V1Deployment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_deployment_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_deployment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Deployment | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Deployment**](V1Deployment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Deployment**](V1Deployment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_replica_set** +> V1ReplicaSet replace_namespaced_replica_set(name, namespace, body, opts) + + + +replace the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1ReplicaSet.new # V1ReplicaSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_replica_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_replica_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1ReplicaSet**](V1ReplicaSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_replica_set_scale** +> V1Scale replace_namespaced_replica_set_scale(name, namespace, body, opts) + + + +replace scale of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Scale.new # V1Scale | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_replica_set_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_replica_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Scale**](V1Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_replica_set_status** +> V1ReplicaSet replace_namespaced_replica_set_status(name, namespace, body, opts) + + + +replace status of the specified ReplicaSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the ReplicaSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1ReplicaSet.new # V1ReplicaSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_replica_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_replica_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the ReplicaSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1ReplicaSet**](V1ReplicaSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1ReplicaSet**](V1ReplicaSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_stateful_set** +> V1StatefulSet replace_namespaced_stateful_set(name, namespace, body, opts) + + + +replace the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1StatefulSet.new # V1StatefulSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_stateful_set(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_stateful_set: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1StatefulSet**](V1StatefulSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_stateful_set_scale** +> V1Scale replace_namespaced_stateful_set_scale(name, namespace, body, opts) + + + +replace scale of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the Scale + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1Scale.new # V1Scale | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_stateful_set_scale(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_stateful_set_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Scale | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1Scale**](V1Scale.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1Scale**](V1Scale.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_stateful_set_status** +> V1StatefulSet replace_namespaced_stateful_set_status(name, namespace, body, opts) + + + +replace status of the specified StatefulSet + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AppsV1Api.new + +name = "name_example" # String | name of the StatefulSet + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1StatefulSet.new # V1StatefulSet | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_stateful_set_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AppsV1Api->replace_namespaced_stateful_set_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StatefulSet | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1StatefulSet**](V1StatefulSet.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StatefulSet**](V1StatefulSet.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/AppsV1beta1Api.md b/kubernetes/docs/AppsV1beta1Api.md index f4155924..5f8b5f84 100644 --- a/kubernetes/docs/AppsV1beta1Api.md +++ b/kubernetes/docs/AppsV1beta1Api.md @@ -70,7 +70,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1ControllerRevision.new # V1beta1ControllerRevision | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -87,7 +89,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1ControllerRevision**](V1beta1ControllerRevision.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -130,7 +134,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1Deployment.new # AppsV1beta1Deployment | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -147,7 +153,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -165,7 +173,7 @@ Name | Type | Description | Notes # **create_namespaced_deployment_rollback** -> AppsV1beta1DeploymentRollback create_namespaced_deployment_rollback(name, namespace, body, opts) +> V1Status create_namespaced_deployment_rollback(name, namespace, body, opts) @@ -192,6 +200,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1DeploymentRollback.new # AppsV1beta1DeploymentRollback | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -210,11 +220,13 @@ Name | Type | Description | Notes **name** | **String**| name of the DeploymentRollback | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1DeploymentRollback**](AppsV1beta1DeploymentRollback.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**AppsV1beta1DeploymentRollback**](AppsV1beta1DeploymentRollback.md) +[**V1Status**](V1Status.md) ### Authorization @@ -253,7 +265,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1StatefulSet.new # V1beta1StatefulSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -270,7 +284,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -311,14 +327,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -335,14 +351,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -384,14 +400,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -408,14 +424,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -457,14 +473,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -481,14 +497,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -507,7 +523,7 @@ Name | Type | Description | Notes # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, body, opts) +> V1Status delete_namespaced_controller_revision(name, namespace, , opts) @@ -531,17 +547,17 @@ name = "name_example" # String | name of the ControllerRevision namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_controller_revision(name, namespace, body, opts) + result = api_instance.delete_namespaced_controller_revision(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta1Api->delete_namespaced_controller_revision: #{e}" @@ -554,11 +570,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ControllerRevision | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -576,7 +593,7 @@ Name | Type | Description | Notes # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, opts) +> V1Status delete_namespaced_deployment(name, namespace, , opts) @@ -600,17 +617,17 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_deployment(name, namespace, body, opts) + result = api_instance.delete_namespaced_deployment(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta1Api->delete_namespaced_deployment: #{e}" @@ -623,11 +640,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -645,7 +663,7 @@ Name | Type | Description | Notes # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, body, opts) +> V1Status delete_namespaced_stateful_set(name, namespace, , opts) @@ -669,17 +687,17 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_stateful_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_stateful_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta1Api->delete_namespaced_stateful_set: #{e}" @@ -692,11 +710,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the StatefulSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -782,14 +801,14 @@ end api_instance = Kubernetes::AppsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -805,14 +824,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -852,14 +871,14 @@ end api_instance = Kubernetes::AppsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -875,14 +894,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -924,14 +943,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -948,14 +967,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -997,14 +1016,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1021,14 +1040,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1070,14 +1089,14 @@ api_instance = Kubernetes::AppsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1094,14 +1113,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1141,14 +1160,14 @@ end api_instance = Kubernetes::AppsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1164,14 +1183,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1217,7 +1236,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1236,6 +1256,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1280,7 +1301,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1299,6 +1321,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1343,7 +1366,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1362,6 +1386,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1406,7 +1431,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1425,6 +1451,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1469,7 +1496,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1488,6 +1516,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1532,7 +1561,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1551,6 +1581,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1595,7 +1626,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1614,6 +1646,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1656,7 +1689,7 @@ name = "name_example" # String | name of the ControllerRevision namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -1720,7 +1753,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -1784,7 +1817,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1844,7 +1877,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1904,7 +1937,7 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -1968,7 +2001,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -2028,7 +2061,7 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -2090,7 +2123,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1ControllerRevision.new # V1beta1ControllerRevision | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2109,6 +2143,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1ControllerRevision**](V1beta1ControllerRevision.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2153,7 +2188,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1Deployment.new # AppsV1beta1Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2172,6 +2208,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2216,7 +2253,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1Scale.new # AppsV1beta1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2235,6 +2273,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2279,7 +2318,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1Deployment.new # AppsV1beta1Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2298,6 +2338,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1Deployment**](AppsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2342,7 +2383,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1StatefulSet.new # V1beta1StatefulSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2361,6 +2403,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2405,7 +2448,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::AppsV1beta1Scale.new # AppsV1beta1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2424,6 +2468,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**AppsV1beta1Scale**](AppsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2468,7 +2513,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1StatefulSet.new # V1beta1StatefulSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2487,6 +2533,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1StatefulSet**](V1beta1StatefulSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md b/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md index 54cfd6a8..673c835b 100644 --- a/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md +++ b/kubernetes/docs/AppsV1beta1RollingUpdateDeployment.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] -**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] +**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] +**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] diff --git a/kubernetes/docs/AppsV1beta2Api.md b/kubernetes/docs/AppsV1beta2Api.md index 15008971..80a4719f 100644 --- a/kubernetes/docs/AppsV1beta2Api.md +++ b/kubernetes/docs/AppsV1beta2Api.md @@ -94,7 +94,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2ControllerRevision.new # V1beta2ControllerRevision | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -111,7 +113,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -154,7 +158,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -171,7 +177,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -214,7 +222,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -231,7 +241,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -274,7 +286,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -291,7 +305,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -334,7 +350,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -351,7 +369,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -392,14 +412,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -416,14 +436,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -465,14 +485,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -489,14 +509,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -538,14 +558,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -562,14 +582,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -611,14 +631,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -635,14 +655,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -684,14 +704,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -708,14 +728,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -734,7 +754,7 @@ Name | Type | Description | Notes # **delete_namespaced_controller_revision** -> V1Status delete_namespaced_controller_revision(name, namespace, body, opts) +> V1Status delete_namespaced_controller_revision(name, namespace, , opts) @@ -758,17 +778,17 @@ name = "name_example" # String | name of the ControllerRevision namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_controller_revision(name, namespace, body, opts) + result = api_instance.delete_namespaced_controller_revision(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta2Api->delete_namespaced_controller_revision: #{e}" @@ -781,11 +801,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ControllerRevision | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -803,7 +824,7 @@ Name | Type | Description | Notes # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, body, opts) +> V1Status delete_namespaced_daemon_set(name, namespace, , opts) @@ -827,17 +848,17 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_daemon_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_daemon_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta2Api->delete_namespaced_daemon_set: #{e}" @@ -850,11 +871,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the DaemonSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -872,7 +894,7 @@ Name | Type | Description | Notes # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, opts) +> V1Status delete_namespaced_deployment(name, namespace, , opts) @@ -896,17 +918,17 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_deployment(name, namespace, body, opts) + result = api_instance.delete_namespaced_deployment(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta2Api->delete_namespaced_deployment: #{e}" @@ -919,11 +941,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -941,7 +964,7 @@ Name | Type | Description | Notes # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, body, opts) +> V1Status delete_namespaced_replica_set(name, namespace, , opts) @@ -965,17 +988,17 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_replica_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_replica_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta2Api->delete_namespaced_replica_set: #{e}" @@ -988,11 +1011,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ReplicaSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1010,7 +1034,7 @@ Name | Type | Description | Notes # **delete_namespaced_stateful_set** -> V1Status delete_namespaced_stateful_set(name, namespace, body, opts) +> V1Status delete_namespaced_stateful_set(name, namespace, , opts) @@ -1034,17 +1058,17 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_stateful_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_stateful_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AppsV1beta2Api->delete_namespaced_stateful_set: #{e}" @@ -1057,11 +1081,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the StatefulSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1147,14 +1172,14 @@ end api_instance = Kubernetes::AppsV1beta2Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1170,14 +1195,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1217,14 +1242,14 @@ end api_instance = Kubernetes::AppsV1beta2Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1240,14 +1265,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1287,14 +1312,14 @@ end api_instance = Kubernetes::AppsV1beta2Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1310,14 +1335,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1359,14 +1384,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1383,14 +1408,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1432,14 +1457,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1456,14 +1481,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1505,14 +1530,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1529,14 +1554,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1578,14 +1603,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1602,14 +1627,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1651,14 +1676,14 @@ api_instance = Kubernetes::AppsV1beta2Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1675,14 +1700,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1722,14 +1747,14 @@ end api_instance = Kubernetes::AppsV1beta2Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1745,14 +1770,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1792,14 +1817,14 @@ end api_instance = Kubernetes::AppsV1beta2Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1815,14 +1840,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1868,7 +1893,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1887,6 +1913,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1931,7 +1958,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1950,6 +1978,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1994,7 +2023,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2013,6 +2043,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2057,7 +2088,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2076,6 +2108,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2120,7 +2153,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2139,6 +2173,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2183,7 +2218,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2202,6 +2238,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2246,7 +2283,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2265,6 +2303,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2309,7 +2348,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2328,6 +2368,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2372,7 +2413,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2391,6 +2433,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2435,7 +2478,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2454,6 +2498,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2498,7 +2543,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2517,6 +2563,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2561,7 +2608,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2580,6 +2628,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2622,7 +2671,7 @@ name = "name_example" # String | name of the ControllerRevision namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -2686,7 +2735,7 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -2750,7 +2799,7 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -2810,7 +2859,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -2874,7 +2923,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -2934,7 +2983,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -2994,7 +3043,7 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3058,7 +3107,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3118,7 +3167,7 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3178,7 +3227,7 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3242,7 +3291,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3302,7 +3351,7 @@ name = "name_example" # String | name of the StatefulSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3364,7 +3413,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2ControllerRevision.new # V1beta2ControllerRevision | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3383,6 +3433,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2ControllerRevision**](V1beta2ControllerRevision.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3427,7 +3478,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3446,6 +3498,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3490,7 +3543,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2DaemonSet.new # V1beta2DaemonSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3509,6 +3563,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2DaemonSet**](V1beta2DaemonSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3553,7 +3608,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3572,6 +3628,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3616,7 +3673,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Scale.new # V1beta2Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3635,6 +3693,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Scale**](V1beta2Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3679,7 +3738,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Deployment.new # V1beta2Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3698,6 +3758,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Deployment**](V1beta2Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3742,7 +3803,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3761,6 +3823,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3805,7 +3868,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Scale.new # V1beta2Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3824,6 +3888,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Scale**](V1beta2Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3868,7 +3933,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2ReplicaSet.new # V1beta2ReplicaSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3887,6 +3953,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2ReplicaSet**](V1beta2ReplicaSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3931,7 +3998,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3950,6 +4018,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3994,7 +4063,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2Scale.new # V1beta2Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4013,6 +4083,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2Scale**](V1beta2Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4057,7 +4128,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta2StatefulSet.new # V1beta2StatefulSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4076,6 +4148,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta2StatefulSet**](V1beta2StatefulSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/AuditregistrationApi.md b/kubernetes/docs/AuditregistrationApi.md new file mode 100644 index 00000000..81a62abc --- /dev/null +++ b/kubernetes/docs/AuditregistrationApi.md @@ -0,0 +1,56 @@ +# Kubernetes::AuditregistrationApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api_group**](AuditregistrationApi.md#get_api_group) | **GET** /apis/auditregistration.k8s.io/ | + + +# **get_api_group** +> V1APIGroup get_api_group + + + +get information of a group + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationApi.new + +begin + result = api_instance.get_api_group + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationApi->get_api_group: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/AuditregistrationV1alpha1Api.md b/kubernetes/docs/AuditregistrationV1alpha1Api.md new file mode 100644 index 00000000..92057a59 --- /dev/null +++ b/kubernetes/docs/AuditregistrationV1alpha1Api.md @@ -0,0 +1,516 @@ +# Kubernetes::AuditregistrationV1alpha1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_audit_sink**](AuditregistrationV1alpha1Api.md#create_audit_sink) | **POST** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**delete_audit_sink**](AuditregistrationV1alpha1Api.md#delete_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**delete_collection_audit_sink**](AuditregistrationV1alpha1Api.md#delete_collection_audit_sink) | **DELETE** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**get_api_resources**](AuditregistrationV1alpha1Api.md#get_api_resources) | **GET** /apis/auditregistration.k8s.io/v1alpha1/ | +[**list_audit_sink**](AuditregistrationV1alpha1Api.md#list_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks | +[**patch_audit_sink**](AuditregistrationV1alpha1Api.md#patch_audit_sink) | **PATCH** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**read_audit_sink**](AuditregistrationV1alpha1Api.md#read_audit_sink) | **GET** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | +[**replace_audit_sink**](AuditregistrationV1alpha1Api.md#replace_audit_sink) | **PUT** /apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name} | + + +# **create_audit_sink** +> V1alpha1AuditSink create_audit_sink(body, opts) + + + +create an AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +body = Kubernetes::V1alpha1AuditSink.new # V1alpha1AuditSink | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_audit_sink(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->create_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1AuditSink**](V1alpha1AuditSink.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_audit_sink** +> V1Status delete_audit_sink(name, , opts) + + + +delete an AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +name = "name_example" # String | name of the AuditSink + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_audit_sink(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->delete_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the AuditSink | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_audit_sink** +> V1Status delete_collection_audit_sink(opts) + + + +delete collection of AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_audit_sink(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->delete_collection_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_audit_sink** +> V1alpha1AuditSinkList list_audit_sink(opts) + + + +list or watch objects of kind AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_audit_sink(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->list_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1AuditSinkList**](V1alpha1AuditSinkList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_audit_sink** +> V1alpha1AuditSink patch_audit_sink(name, body, opts) + + + +partially update the specified AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +name = "name_example" # String | name of the AuditSink + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_audit_sink(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->patch_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the AuditSink | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_audit_sink** +> V1alpha1AuditSink read_audit_sink(name, , opts) + + + +read the specified AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +name = "name_example" # String | name of the AuditSink + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_audit_sink(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->read_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the AuditSink | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_audit_sink** +> V1alpha1AuditSink replace_audit_sink(name, body, opts) + + + +replace the specified AuditSink + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AuditregistrationV1alpha1Api.new + +name = "name_example" # String | name of the AuditSink + +body = Kubernetes::V1alpha1AuditSink.new # V1alpha1AuditSink | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_audit_sink(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AuditregistrationV1alpha1Api->replace_audit_sink: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the AuditSink | + **body** | [**V1alpha1AuditSink**](V1alpha1AuditSink.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1AuditSink**](V1alpha1AuditSink.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/AuthenticationV1Api.md b/kubernetes/docs/AuthenticationV1Api.md index bd8985f3..d270e844 100644 --- a/kubernetes/docs/AuthenticationV1Api.md +++ b/kubernetes/docs/AuthenticationV1Api.md @@ -32,6 +32,8 @@ api_instance = Kubernetes::AuthenticationV1Api.new body = Kubernetes::V1TokenReview.new # V1TokenReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -48,6 +50,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1TokenReview**](V1TokenReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type diff --git a/kubernetes/docs/AuthenticationV1beta1Api.md b/kubernetes/docs/AuthenticationV1beta1Api.md index 12336632..3f9ee539 100644 --- a/kubernetes/docs/AuthenticationV1beta1Api.md +++ b/kubernetes/docs/AuthenticationV1beta1Api.md @@ -32,6 +32,8 @@ api_instance = Kubernetes::AuthenticationV1beta1Api.new body = Kubernetes::V1beta1TokenReview.new # V1beta1TokenReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -48,6 +50,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1TokenReview**](V1beta1TokenReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type diff --git a/kubernetes/docs/AuthorizationV1Api.md b/kubernetes/docs/AuthorizationV1Api.md index 1972e411..815db0d4 100644 --- a/kubernetes/docs/AuthorizationV1Api.md +++ b/kubernetes/docs/AuthorizationV1Api.md @@ -37,6 +37,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1LocalSubjectAccessReview.new # V1LocalSubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -54,6 +56,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1LocalSubjectAccessReview**](V1LocalSubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -95,6 +99,8 @@ api_instance = Kubernetes::AuthorizationV1Api.new body = Kubernetes::V1SelfSubjectAccessReview.new # V1SelfSubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -111,6 +117,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1SelfSubjectAccessReview**](V1SelfSubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -152,6 +160,8 @@ api_instance = Kubernetes::AuthorizationV1Api.new body = Kubernetes::V1SelfSubjectRulesReview.new # V1SelfSubjectRulesReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -168,6 +178,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1SelfSubjectRulesReview**](V1SelfSubjectRulesReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -209,6 +221,8 @@ api_instance = Kubernetes::AuthorizationV1Api.new body = Kubernetes::V1SubjectAccessReview.new # V1SubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -225,6 +239,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1SubjectAccessReview**](V1SubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type diff --git a/kubernetes/docs/AuthorizationV1beta1Api.md b/kubernetes/docs/AuthorizationV1beta1Api.md index 4a3c24ad..818186be 100644 --- a/kubernetes/docs/AuthorizationV1beta1Api.md +++ b/kubernetes/docs/AuthorizationV1beta1Api.md @@ -37,6 +37,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1LocalSubjectAccessReview.new # V1beta1LocalSubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -54,6 +56,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1LocalSubjectAccessReview**](V1beta1LocalSubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -95,6 +99,8 @@ api_instance = Kubernetes::AuthorizationV1beta1Api.new body = Kubernetes::V1beta1SelfSubjectAccessReview.new # V1beta1SelfSubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -111,6 +117,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1SelfSubjectAccessReview**](V1beta1SelfSubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -152,6 +160,8 @@ api_instance = Kubernetes::AuthorizationV1beta1Api.new body = Kubernetes::V1beta1SelfSubjectRulesReview.new # V1beta1SelfSubjectRulesReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -168,6 +178,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1SelfSubjectRulesReview**](V1beta1SelfSubjectRulesReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -209,6 +221,8 @@ api_instance = Kubernetes::AuthorizationV1beta1Api.new body = Kubernetes::V1beta1SubjectAccessReview.new # V1beta1SubjectAccessReview | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -225,6 +239,8 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1SubjectAccessReview**](V1beta1SubjectAccessReview.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index df706dd2..83211f1e 100644 --- a/kubernetes/docs/AutoscalingV1Api.md +++ b/kubernetes/docs/AutoscalingV1Api.md @@ -44,7 +44,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1HorizontalPodAutoscaler.new # V1HorizontalPodAutoscaler | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +63,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -102,14 +106,14 @@ api_instance = Kubernetes::AutoscalingV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +130,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +156,7 @@ Name | Type | Description | Notes # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) @@ -176,17 +180,17 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + result = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AutoscalingV1Api->delete_namespaced_horizontal_pod_autoscaler: #{e}" @@ -199,11 +203,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the HorizontalPodAutoscaler | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -289,14 +294,14 @@ end api_instance = Kubernetes::AutoscalingV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -361,14 +366,14 @@ api_instance = Kubernetes::AutoscalingV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +390,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -438,7 +443,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +463,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +508,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +528,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -562,7 +571,7 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +635,7 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -688,7 +697,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1HorizontalPodAutoscaler.new # V1HorizontalPodAutoscaler | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +717,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +762,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1HorizontalPodAutoscaler.new # V1HorizontalPodAutoscaler | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +782,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1HorizontalPodAutoscaler**](V1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/AutoscalingV2beta1Api.md b/kubernetes/docs/AutoscalingV2beta1Api.md index 9f02a588..8371637e 100644 --- a/kubernetes/docs/AutoscalingV2beta1Api.md +++ b/kubernetes/docs/AutoscalingV2beta1Api.md @@ -44,7 +44,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2beta1HorizontalPodAutoscaler.new # V2beta1HorizontalPodAutoscaler | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +63,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -102,14 +106,14 @@ api_instance = Kubernetes::AutoscalingV2beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +130,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +156,7 @@ Name | Type | Description | Notes # **delete_namespaced_horizontal_pod_autoscaler** -> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) @@ -176,17 +180,17 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + result = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling AutoscalingV2beta1Api->delete_namespaced_horizontal_pod_autoscaler: #{e}" @@ -199,11 +203,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the HorizontalPodAutoscaler | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -289,14 +294,14 @@ end api_instance = Kubernetes::AutoscalingV2beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -361,14 +366,14 @@ api_instance = Kubernetes::AutoscalingV2beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +390,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -438,7 +443,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +463,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +508,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +528,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -562,7 +571,7 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +635,7 @@ name = "name_example" # String | name of the HorizontalPodAutoscaler namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -688,7 +697,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2beta1HorizontalPodAutoscaler.new # V2beta1HorizontalPodAutoscaler | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +717,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +762,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2beta1HorizontalPodAutoscaler.new # V2beta1HorizontalPodAutoscaler | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +782,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2beta1HorizontalPodAutoscaler**](V2beta1HorizontalPodAutoscaler.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/AutoscalingV2beta2Api.md b/kubernetes/docs/AutoscalingV2beta2Api.md new file mode 100644 index 00000000..ea5971e5 --- /dev/null +++ b/kubernetes/docs/AutoscalingV2beta2Api.md @@ -0,0 +1,801 @@ +# Kubernetes::AutoscalingV2beta2Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +[**delete_collection_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +[**delete_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**get_api_resources**](AutoscalingV2beta2Api.md#get_api_resources) | **GET** /apis/autoscaling/v2beta2/ | +[**list_horizontal_pod_autoscaler_for_all_namespaces**](AutoscalingV2beta2Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/autoscaling/v2beta2/horizontalpodautoscalers | +[**list_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers | +[**patch_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**patch_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV2beta2Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +[**read_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**read_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV2beta2Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +[**replace_namespaced_horizontal_pod_autoscaler**](AutoscalingV2beta2Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +[**replace_namespaced_horizontal_pod_autoscaler_status**](AutoscalingV2beta2Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | + + +# **create_namespaced_horizontal_pod_autoscaler** +> V2beta2HorizontalPodAutoscaler create_namespaced_horizontal_pod_autoscaler(namespacebody, opts) + + + +create a HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V2beta2HorizontalPodAutoscaler.new # V2beta2HorizontalPodAutoscaler | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_horizontal_pod_autoscaler(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->create_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_horizontal_pod_autoscaler** +> V1Status delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts) + + + +delete collection of HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->delete_collection_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_horizontal_pod_autoscaler** +> V1Status delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) + + + +delete a HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->delete_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_horizontal_pod_autoscaler_for_all_namespaces** +> V2beta2HorizontalPodAutoscalerList list_horizontal_pod_autoscaler_for_all_namespaces(opts) + + + +list or watch objects of kind HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_horizontal_pod_autoscaler_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->list_horizontal_pod_autoscaler_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscalerList**](V2beta2HorizontalPodAutoscalerList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_horizontal_pod_autoscaler** +> V2beta2HorizontalPodAutoscalerList list_namespaced_horizontal_pod_autoscaler(namespace, opts) + + + +list or watch objects of kind HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_horizontal_pod_autoscaler(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->list_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscalerList**](V2beta2HorizontalPodAutoscalerList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_namespaced_horizontal_pod_autoscaler** +> V2beta2HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + + + +partially update the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->patch_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_horizontal_pod_autoscaler_status** +> V2beta2HorizontalPodAutoscaler patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts) + + + +partially update status of the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->patch_namespaced_horizontal_pod_autoscaler_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_horizontal_pod_autoscaler** +> V2beta2HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) + + + +read the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_horizontal_pod_autoscaler(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->read_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_horizontal_pod_autoscaler_status** +> V2beta2HorizontalPodAutoscaler read_namespaced_horizontal_pod_autoscaler_status(name, namespace, , opts) + + + +read status of the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_namespaced_horizontal_pod_autoscaler_status(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->read_namespaced_horizontal_pod_autoscaler_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_horizontal_pod_autoscaler** +> V2beta2HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + + + +replace the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V2beta2HorizontalPodAutoscaler.new # V2beta2HorizontalPodAutoscaler | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->replace_namespaced_horizontal_pod_autoscaler: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_horizontal_pod_autoscaler_status** +> V2beta2HorizontalPodAutoscaler replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts) + + + +replace status of the specified HorizontalPodAutoscaler + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::AutoscalingV2beta2Api.new + +name = "name_example" # String | name of the HorizontalPodAutoscaler + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V2beta2HorizontalPodAutoscaler.new # V2beta2HorizontalPodAutoscaler | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling AutoscalingV2beta2Api->replace_namespaced_horizontal_pod_autoscaler_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the HorizontalPodAutoscaler | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V2beta2HorizontalPodAutoscaler**](V2beta2HorizontalPodAutoscaler.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index f9928e2b..24c582fe 100644 --- a/kubernetes/docs/BatchV1Api.md +++ b/kubernetes/docs/BatchV1Api.md @@ -44,7 +44,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Job.new # V1Job | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +63,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Job**](V1Job.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -102,14 +106,14 @@ api_instance = Kubernetes::BatchV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +130,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +156,7 @@ Name | Type | Description | Notes # **delete_namespaced_job** -> V1Status delete_namespaced_job(name, namespace, body, opts) +> V1Status delete_namespaced_job(name, namespace, , opts) @@ -176,17 +180,17 @@ name = "name_example" # String | name of the Job namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_job(name, namespace, body, opts) + result = api_instance.delete_namespaced_job(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling BatchV1Api->delete_namespaced_job: #{e}" @@ -199,11 +203,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Job | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -289,14 +294,14 @@ end api_instance = Kubernetes::BatchV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -361,14 +366,14 @@ api_instance = Kubernetes::BatchV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +390,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -438,7 +443,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +463,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +508,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +528,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -562,7 +571,7 @@ name = "name_example" # String | name of the Job namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +635,7 @@ name = "name_example" # String | name of the Job namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -688,7 +697,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Job.new # V1Job | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +717,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Job**](V1Job.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +762,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Job.new # V1Job | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +782,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Job**](V1Job.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/BatchV1beta1Api.md b/kubernetes/docs/BatchV1beta1Api.md index ab1b3b03..d40f0ce9 100644 --- a/kubernetes/docs/BatchV1beta1Api.md +++ b/kubernetes/docs/BatchV1beta1Api.md @@ -44,7 +44,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1CronJob.new # V1beta1CronJob | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +63,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -102,14 +106,14 @@ api_instance = Kubernetes::BatchV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +130,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +156,7 @@ Name | Type | Description | Notes # **delete_namespaced_cron_job** -> V1Status delete_namespaced_cron_job(name, namespace, body, opts) +> V1Status delete_namespaced_cron_job(name, namespace, , opts) @@ -176,17 +180,17 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_cron_job(name, namespace, body, opts) + result = api_instance.delete_namespaced_cron_job(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling BatchV1beta1Api->delete_namespaced_cron_job: #{e}" @@ -199,11 +203,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -289,14 +294,14 @@ end api_instance = Kubernetes::BatchV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -361,14 +366,14 @@ api_instance = Kubernetes::BatchV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +390,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -438,7 +443,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +463,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +508,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +528,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -562,7 +571,7 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +635,7 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -688,7 +697,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1CronJob.new # V1beta1CronJob | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +717,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +762,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1CronJob.new # V1beta1CronJob | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +782,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1CronJob**](V1beta1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/BatchV2alpha1Api.md b/kubernetes/docs/BatchV2alpha1Api.md index a2371ec6..1903afd7 100644 --- a/kubernetes/docs/BatchV2alpha1Api.md +++ b/kubernetes/docs/BatchV2alpha1Api.md @@ -44,7 +44,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2alpha1CronJob.new # V2alpha1CronJob | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +63,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -102,14 +106,14 @@ api_instance = Kubernetes::BatchV2alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +130,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +156,7 @@ Name | Type | Description | Notes # **delete_namespaced_cron_job** -> V1Status delete_namespaced_cron_job(name, namespace, body, opts) +> V1Status delete_namespaced_cron_job(name, namespace, , opts) @@ -176,17 +180,17 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_cron_job(name, namespace, body, opts) + result = api_instance.delete_namespaced_cron_job(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling BatchV2alpha1Api->delete_namespaced_cron_job: #{e}" @@ -199,11 +203,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CronJob | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -289,14 +294,14 @@ end api_instance = Kubernetes::BatchV2alpha1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -361,14 +366,14 @@ api_instance = Kubernetes::BatchV2alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +390,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -438,7 +443,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +463,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +508,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +528,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -562,7 +571,7 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +635,7 @@ name = "name_example" # String | name of the CronJob namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -688,7 +697,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2alpha1CronJob.new # V2alpha1CronJob | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +717,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +762,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V2alpha1CronJob.new # V2alpha1CronJob | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +782,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V2alpha1CronJob**](V2alpha1CronJob.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index 57a04e56..8db93a8f 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -10,7 +10,9 @@ Method | HTTP request | Description [**get_api_resources**](CertificatesV1beta1Api.md#get_api_resources) | **GET** /apis/certificates.k8s.io/v1beta1/ | [**list_certificate_signing_request**](CertificatesV1beta1Api.md#list_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests | [**patch_certificate_signing_request**](CertificatesV1beta1Api.md#patch_certificate_signing_request) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +[**patch_certificate_signing_request_status**](CertificatesV1beta1Api.md#patch_certificate_signing_request_status) | **PATCH** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | [**read_certificate_signing_request**](CertificatesV1beta1Api.md#read_certificate_signing_request) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | +[**read_certificate_signing_request_status**](CertificatesV1beta1Api.md#read_certificate_signing_request_status) | **GET** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | [**replace_certificate_signing_request**](CertificatesV1beta1Api.md#replace_certificate_signing_request) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name} | [**replace_certificate_signing_request_approval**](CertificatesV1beta1Api.md#replace_certificate_signing_request_approval) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval | [**replace_certificate_signing_request_status**](CertificatesV1beta1Api.md#replace_certificate_signing_request_status) | **PUT** /apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status | @@ -40,7 +42,9 @@ api_instance = Kubernetes::CertificatesV1beta1Api.new body = Kubernetes::V1beta1CertificateSigningRequest.new # V1beta1CertificateSigningRequest | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -56,7 +60,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -74,7 +80,7 @@ Name | Type | Description | Notes # **delete_certificate_signing_request** -> V1Status delete_certificate_signing_request(name, body, opts) +> V1Status delete_certificate_signing_request(name, , opts) @@ -96,17 +102,17 @@ api_instance = Kubernetes::CertificatesV1beta1Api.new name = "name_example" # String | name of the CertificateSigningRequest -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_certificate_signing_request(name, body, opts) + result = api_instance.delete_certificate_signing_request(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CertificatesV1beta1Api->delete_certificate_signing_request: #{e}" @@ -118,11 +124,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CertificateSigningRequest | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -161,14 +168,14 @@ end api_instance = Kubernetes::CertificatesV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -184,14 +191,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -278,14 +285,14 @@ end api_instance = Kubernetes::CertificatesV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -301,14 +308,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -352,7 +359,8 @@ name = "name_example" # String | name of the CertificateSigningRequest body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -370,6 +378,69 @@ Name | Type | Description | Notes **name** | **String**| name of the CertificateSigningRequest | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_certificate_signing_request_status** +> V1beta1CertificateSigningRequest patch_certificate_signing_request_status(name, body, opts) + + + +partially update status of the specified CertificateSigningRequest + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CertificatesV1beta1Api.new + +name = "name_example" # String | name of the CertificateSigningRequest + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_certificate_signing_request_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CertificatesV1beta1Api->patch_certificate_signing_request_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CertificateSigningRequest | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -410,7 +481,7 @@ api_instance = Kubernetes::CertificatesV1beta1Api.new name = "name_example" # String | name of the CertificateSigningRequest opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -447,6 +518,63 @@ Name | Type | Description | Notes +# **read_certificate_signing_request_status** +> V1beta1CertificateSigningRequest read_certificate_signing_request_status(name, , opts) + + + +read status of the specified CertificateSigningRequest + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CertificatesV1beta1Api.new + +name = "name_example" # String | name of the CertificateSigningRequest + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_certificate_signing_request_status(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CertificatesV1beta1Api->read_certificate_signing_request_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the CertificateSigningRequest | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **replace_certificate_signing_request** > V1beta1CertificateSigningRequest replace_certificate_signing_request(name, body, opts) @@ -473,7 +601,8 @@ name = "name_example" # String | name of the CertificateSigningRequest body = Kubernetes::V1beta1CertificateSigningRequest.new # V1beta1CertificateSigningRequest | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -491,6 +620,7 @@ Name | Type | Description | Notes **name** | **String**| name of the CertificateSigningRequest | **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -533,6 +663,7 @@ name = "name_example" # String | name of the CertificateSigningRequest body = Kubernetes::V1beta1CertificateSigningRequest.new # V1beta1CertificateSigningRequest | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -550,6 +681,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the CertificateSigningRequest | **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -593,7 +725,8 @@ name = "name_example" # String | name of the CertificateSigningRequest body = Kubernetes::V1beta1CertificateSigningRequest.new # V1beta1CertificateSigningRequest | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -611,6 +744,7 @@ Name | Type | Description | Notes **name** | **String**| name of the CertificateSigningRequest | **body** | [**V1beta1CertificateSigningRequest**](V1beta1CertificateSigningRequest.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/CoordinationApi.md b/kubernetes/docs/CoordinationApi.md new file mode 100644 index 00000000..e48d3964 --- /dev/null +++ b/kubernetes/docs/CoordinationApi.md @@ -0,0 +1,56 @@ +# Kubernetes::CoordinationApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api_group**](CoordinationApi.md#get_api_group) | **GET** /apis/coordination.k8s.io/ | + + +# **get_api_group** +> V1APIGroup get_api_group + + + +get information of a group + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationApi.new + +begin + result = api_instance.get_api_group + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationApi->get_api_group: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/CoordinationV1beta1Api.md b/kubernetes/docs/CoordinationV1beta1Api.md new file mode 100644 index 00000000..d668cdf1 --- /dev/null +++ b/kubernetes/docs/CoordinationV1beta1Api.md @@ -0,0 +1,608 @@ +# Kubernetes::CoordinationV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_namespaced_lease**](CoordinationV1beta1Api.md#create_namespaced_lease) | **POST** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +[**delete_collection_namespaced_lease**](CoordinationV1beta1Api.md#delete_collection_namespaced_lease) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +[**delete_namespaced_lease**](CoordinationV1beta1Api.md#delete_namespaced_lease) | **DELETE** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +[**get_api_resources**](CoordinationV1beta1Api.md#get_api_resources) | **GET** /apis/coordination.k8s.io/v1beta1/ | +[**list_lease_for_all_namespaces**](CoordinationV1beta1Api.md#list_lease_for_all_namespaces) | **GET** /apis/coordination.k8s.io/v1beta1/leases | +[**list_namespaced_lease**](CoordinationV1beta1Api.md#list_namespaced_lease) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases | +[**patch_namespaced_lease**](CoordinationV1beta1Api.md#patch_namespaced_lease) | **PATCH** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +[**read_namespaced_lease**](CoordinationV1beta1Api.md#read_namespaced_lease) | **GET** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | +[**replace_namespaced_lease**](CoordinationV1beta1Api.md#replace_namespaced_lease) | **PUT** /apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name} | + + +# **create_namespaced_lease** +> V1beta1Lease create_namespaced_lease(namespacebody, opts) + + + +create a Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1beta1Lease.new # V1beta1Lease | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_lease(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->create_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1Lease**](V1beta1Lease.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Lease**](V1beta1Lease.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_lease** +> V1Status delete_collection_namespaced_lease(namespace, opts) + + + +delete collection of Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_lease(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->delete_collection_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_lease** +> V1Status delete_namespaced_lease(name, namespace, , opts) + + + +delete a Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +name = "name_example" # String | name of the Lease + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_lease(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->delete_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Lease | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_lease_for_all_namespaces** +> V1beta1LeaseList list_lease_for_all_namespaces(opts) + + + +list or watch objects of kind Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_lease_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->list_lease_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1LeaseList**](V1beta1LeaseList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_lease** +> V1beta1LeaseList list_namespaced_lease(namespace, opts) + + + +list or watch objects of kind Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_lease(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->list_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1LeaseList**](V1beta1LeaseList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_namespaced_lease** +> V1beta1Lease patch_namespaced_lease(name, namespace, body, opts) + + + +partially update the specified Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +name = "name_example" # String | name of the Lease + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_lease(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->patch_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Lease | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Lease**](V1beta1Lease.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_lease** +> V1beta1Lease read_namespaced_lease(name, namespace, , opts) + + + +read the specified Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +name = "name_example" # String | name of the Lease + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_lease(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->read_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Lease | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1Lease**](V1beta1Lease.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_lease** +> V1beta1Lease replace_namespaced_lease(name, namespace, body, opts) + + + +replace the specified Lease + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CoordinationV1beta1Api.new + +name = "name_example" # String | name of the Lease + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1beta1Lease.new # V1beta1Lease | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_lease(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CoordinationV1beta1Api->replace_namespaced_lease: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Lease | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1Lease**](V1beta1Lease.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Lease**](V1beta1Lease.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index 240c89ae..32f893d6 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -151,48 +151,6 @@ Method | HTTP request | Description [**patch_node_status**](CoreV1Api.md#patch_node_status) | **PATCH** /api/v1/nodes/{name}/status | [**patch_persistent_volume**](CoreV1Api.md#patch_persistent_volume) | **PATCH** /api/v1/persistentvolumes/{name} | [**patch_persistent_volume_status**](CoreV1Api.md#patch_persistent_volume_status) | **PATCH** /api/v1/persistentvolumes/{name}/status | -[**proxy_delete_namespaced_pod**](CoreV1Api.md#proxy_delete_namespaced_pod) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_delete_namespaced_pod_with_path**](CoreV1Api.md#proxy_delete_namespaced_pod_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_delete_namespaced_service**](CoreV1Api.md#proxy_delete_namespaced_service) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_delete_namespaced_service_with_path**](CoreV1Api.md#proxy_delete_namespaced_service_with_path) | **DELETE** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_delete_node**](CoreV1Api.md#proxy_delete_node) | **DELETE** /api/v1/proxy/nodes/{name} | -[**proxy_delete_node_with_path**](CoreV1Api.md#proxy_delete_node_with_path) | **DELETE** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_get_namespaced_pod**](CoreV1Api.md#proxy_get_namespaced_pod) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_get_namespaced_pod_with_path**](CoreV1Api.md#proxy_get_namespaced_pod_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_get_namespaced_service**](CoreV1Api.md#proxy_get_namespaced_service) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_get_namespaced_service_with_path**](CoreV1Api.md#proxy_get_namespaced_service_with_path) | **GET** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_get_node**](CoreV1Api.md#proxy_get_node) | **GET** /api/v1/proxy/nodes/{name} | -[**proxy_get_node_with_path**](CoreV1Api.md#proxy_get_node_with_path) | **GET** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_head_namespaced_pod**](CoreV1Api.md#proxy_head_namespaced_pod) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_head_namespaced_pod_with_path**](CoreV1Api.md#proxy_head_namespaced_pod_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_head_namespaced_service**](CoreV1Api.md#proxy_head_namespaced_service) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_head_namespaced_service_with_path**](CoreV1Api.md#proxy_head_namespaced_service_with_path) | **HEAD** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_head_node**](CoreV1Api.md#proxy_head_node) | **HEAD** /api/v1/proxy/nodes/{name} | -[**proxy_head_node_with_path**](CoreV1Api.md#proxy_head_node_with_path) | **HEAD** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_options_namespaced_pod**](CoreV1Api.md#proxy_options_namespaced_pod) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_options_namespaced_pod_with_path**](CoreV1Api.md#proxy_options_namespaced_pod_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_options_namespaced_service**](CoreV1Api.md#proxy_options_namespaced_service) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_options_namespaced_service_with_path**](CoreV1Api.md#proxy_options_namespaced_service_with_path) | **OPTIONS** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_options_node**](CoreV1Api.md#proxy_options_node) | **OPTIONS** /api/v1/proxy/nodes/{name} | -[**proxy_options_node_with_path**](CoreV1Api.md#proxy_options_node_with_path) | **OPTIONS** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_patch_namespaced_pod**](CoreV1Api.md#proxy_patch_namespaced_pod) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_patch_namespaced_pod_with_path**](CoreV1Api.md#proxy_patch_namespaced_pod_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_patch_namespaced_service**](CoreV1Api.md#proxy_patch_namespaced_service) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_patch_namespaced_service_with_path**](CoreV1Api.md#proxy_patch_namespaced_service_with_path) | **PATCH** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_patch_node**](CoreV1Api.md#proxy_patch_node) | **PATCH** /api/v1/proxy/nodes/{name} | -[**proxy_patch_node_with_path**](CoreV1Api.md#proxy_patch_node_with_path) | **PATCH** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_post_namespaced_pod**](CoreV1Api.md#proxy_post_namespaced_pod) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_post_namespaced_pod_with_path**](CoreV1Api.md#proxy_post_namespaced_pod_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_post_namespaced_service**](CoreV1Api.md#proxy_post_namespaced_service) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_post_namespaced_service_with_path**](CoreV1Api.md#proxy_post_namespaced_service_with_path) | **POST** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_post_node**](CoreV1Api.md#proxy_post_node) | **POST** /api/v1/proxy/nodes/{name} | -[**proxy_post_node_with_path**](CoreV1Api.md#proxy_post_node_with_path) | **POST** /api/v1/proxy/nodes/{name}/{path} | -[**proxy_put_namespaced_pod**](CoreV1Api.md#proxy_put_namespaced_pod) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name} | -[**proxy_put_namespaced_pod_with_path**](CoreV1Api.md#proxy_put_namespaced_pod_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/pods/{name}/{path} | -[**proxy_put_namespaced_service**](CoreV1Api.md#proxy_put_namespaced_service) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name} | -[**proxy_put_namespaced_service_with_path**](CoreV1Api.md#proxy_put_namespaced_service_with_path) | **PUT** /api/v1/proxy/namespaces/{namespace}/services/{name}/{path} | -[**proxy_put_node**](CoreV1Api.md#proxy_put_node) | **PUT** /api/v1/proxy/nodes/{name} | -[**proxy_put_node_with_path**](CoreV1Api.md#proxy_put_node_with_path) | **PUT** /api/v1/proxy/nodes/{name}/{path} | [**read_component_status**](CoreV1Api.md#read_component_status) | **GET** /api/v1/componentstatuses/{name} | [**read_namespace**](CoreV1Api.md#read_namespace) | **GET** /api/v1/namespaces/{name} | [**read_namespace_status**](CoreV1Api.md#read_namespace_status) | **GET** /api/v1/namespaces/{name}/status | @@ -267,7 +225,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -287,7 +245,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -327,7 +285,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -349,7 +307,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -390,7 +348,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -410,7 +368,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -450,7 +408,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -472,7 +430,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -513,7 +471,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -531,7 +489,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -570,7 +528,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -590,7 +548,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -630,7 +588,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodAttachOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -654,7 +612,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodAttachOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **container** | **String**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] **stderr** | **BOOLEAN**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] @@ -698,7 +656,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodExecOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -723,7 +681,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodExecOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **command** | **String**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional] **container** | **String**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] @@ -768,7 +726,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodPortForwardOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -788,7 +746,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodPortForwardOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **ports** | **Integer**| List of ports to forward Required when using WebSockets | [optional] @@ -828,7 +786,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -848,7 +806,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -888,7 +846,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -910,7 +868,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -951,7 +909,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -971,7 +929,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1011,7 +969,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1033,7 +991,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1074,7 +1032,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -1092,7 +1050,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -1131,7 +1089,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -1151,7 +1109,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -1191,7 +1149,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1211,7 +1169,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -1251,7 +1209,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1273,7 +1231,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -1314,7 +1272,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1334,7 +1292,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1374,7 +1332,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1396,7 +1354,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1437,7 +1395,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -1455,7 +1413,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -1494,7 +1452,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -1514,7 +1472,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -1554,7 +1512,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1574,7 +1532,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -1614,7 +1572,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1636,7 +1594,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -1677,7 +1635,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1697,7 +1655,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1737,7 +1695,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1759,7 +1717,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -1800,7 +1758,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -1818,7 +1776,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -1857,7 +1815,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -1877,7 +1835,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -1917,7 +1875,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1937,7 +1895,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -1977,7 +1935,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -1999,7 +1957,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -2040,7 +1998,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2060,7 +2018,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -2100,7 +2058,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2122,7 +2080,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -2163,7 +2121,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -2181,7 +2139,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -2220,7 +2178,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -2240,7 +2198,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -2280,7 +2238,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodAttachOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2304,7 +2262,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodAttachOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **container** | **String**| The container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] **stderr** | **BOOLEAN**| Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. | [optional] @@ -2348,7 +2306,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodExecOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2373,7 +2331,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodExecOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **command** | **String**| Command is the remote command to execute. argv array. Not executed within a shell. | [optional] **container** | **String**| Container in which to execute the command. Defaults to only container if there is only one container in the pod. | [optional] @@ -2418,7 +2376,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodPortForwardOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2438,7 +2396,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodPortForwardOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **ports** | **Integer**| List of ports to forward Required when using WebSockets | [optional] @@ -2478,7 +2436,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2498,7 +2456,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -2538,7 +2496,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2560,7 +2518,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -2601,7 +2559,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2621,7 +2579,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -2661,7 +2619,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2683,7 +2641,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -2724,7 +2682,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -2742,7 +2700,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -2781,7 +2739,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -2801,7 +2759,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -2841,7 +2799,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2861,7 +2819,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -2901,7 +2859,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the PodProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2923,7 +2881,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the PodProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to pod. | [optional] @@ -2964,7 +2922,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -2984,7 +2942,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -3024,7 +2982,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the ServiceProxyOptions namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects @@ -3046,7 +3004,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | + **name** | **String**| name of the ServiceProxyOptions | **namespace** | **String**| object name and auth scope, such as for teams and projects | **path** | **String**| path to the resource | **path2** | **String**| Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. | [optional] @@ -3087,7 +3045,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions opts = { path: "path_example" # String | Path is the URL path to use for the current proxy request to node. @@ -3105,7 +3063,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] ### Return type @@ -3144,7 +3102,7 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the NodeProxyOptions path = "path_example" # String | path to the resource @@ -3164,7 +3122,7 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the NodeProxyOptions | **path** | **String**| path to the resource | **path2** | **String**| Path is the URL path to use for the current proxy request to node. | [optional] @@ -3207,7 +3165,9 @@ api_instance = Kubernetes::CoreV1Api.new body = Kubernetes::V1Namespace.new # V1Namespace | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3223,7 +3183,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1Namespace**](V1Namespace.md)| | + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3266,6 +3228,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Binding.new # V1Binding | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -3283,6 +3247,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Binding**](V1Binding.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3326,7 +3292,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ConfigMap.new # V1ConfigMap | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3343,7 +3311,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ConfigMap**](V1ConfigMap.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3386,7 +3356,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Endpoints.new # V1Endpoints | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3403,7 +3375,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Endpoints**](V1Endpoints.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3446,7 +3420,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Event.new # V1Event | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3463,7 +3439,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Event**](V1Event.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3506,7 +3484,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1LimitRange.new # V1LimitRange | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3523,7 +3503,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1LimitRange**](V1LimitRange.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3566,7 +3548,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1PersistentVolumeClaim.new # V1PersistentVolumeClaim | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3583,7 +3567,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3626,7 +3612,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Pod.new # V1Pod | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3643,7 +3631,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Pod**](V1Pod.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3688,6 +3678,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Binding.new # V1Binding | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -3706,6 +3698,8 @@ Name | Type | Description | Notes **name** | **String**| name of the Binding | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Binding**](V1Binding.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3751,6 +3745,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Eviction.new # V1beta1Eviction | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -3769,6 +3765,8 @@ Name | Type | Description | Notes **name** | **String**| name of the Eviction | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Eviction**](V1beta1Eviction.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -3812,7 +3810,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1PodTemplate.new # V1PodTemplate | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3829,7 +3829,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1PodTemplate**](V1PodTemplate.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3872,7 +3874,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ReplicationController.new # V1ReplicationController | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3889,7 +3893,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ReplicationController**](V1ReplicationController.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3932,7 +3938,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ResourceQuota.new # V1ResourceQuota | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3949,7 +3957,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3992,7 +4002,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Secret.new # V1Secret | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4009,7 +4021,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Secret**](V1Secret.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4052,7 +4066,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Service.new # V1Service | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4069,7 +4085,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Service**](V1Service.md)| | + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4112,7 +4130,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ServiceAccount.new # V1ServiceAccount | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4129,7 +4149,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4170,7 +4192,9 @@ api_instance = Kubernetes::CoreV1Api.new body = Kubernetes::V1Node.new # V1Node | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4186,7 +4210,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1Node**](V1Node.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4227,7 +4253,9 @@ api_instance = Kubernetes::CoreV1Api.new body = Kubernetes::V1PersistentVolume.new # V1PersistentVolume | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4243,7 +4271,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4284,14 +4314,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4308,14 +4338,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4357,14 +4387,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4381,14 +4411,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4430,14 +4460,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4454,14 +4484,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4503,14 +4533,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4527,14 +4557,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4576,14 +4606,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4600,14 +4630,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4649,14 +4679,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4673,14 +4703,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4722,14 +4752,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4746,14 +4776,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4795,14 +4825,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4819,14 +4849,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4868,14 +4898,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4892,14 +4922,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -4941,14 +4971,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -4965,14 +4995,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -5014,14 +5044,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -5038,14 +5068,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -5085,14 +5115,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -5108,14 +5138,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -5155,14 +5185,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -5178,14 +5208,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -5204,7 +5234,7 @@ Name | Type | Description | Notes # **delete_namespace** -> V1Status delete_namespace(name, body, opts) +> V1Status delete_namespace(name, , opts) @@ -5226,17 +5256,17 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Namespace -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespace(name, body, opts) + result = api_instance.delete_namespace(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespace: #{e}" @@ -5248,11 +5278,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Namespace | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5270,7 +5301,7 @@ Name | Type | Description | Notes # **delete_namespaced_config_map** -> V1Status delete_namespaced_config_map(name, namespace, body, opts) +> V1Status delete_namespaced_config_map(name, namespace, , opts) @@ -5294,17 +5325,17 @@ name = "name_example" # String | name of the ConfigMap namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_config_map(name, namespace, body, opts) + result = api_instance.delete_namespaced_config_map(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_config_map: #{e}" @@ -5317,11 +5348,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ConfigMap | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5339,7 +5371,7 @@ Name | Type | Description | Notes # **delete_namespaced_endpoints** -> V1Status delete_namespaced_endpoints(name, namespace, body, opts) +> V1Status delete_namespaced_endpoints(name, namespace, , opts) @@ -5363,17 +5395,17 @@ name = "name_example" # String | name of the Endpoints namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_endpoints(name, namespace, body, opts) + result = api_instance.delete_namespaced_endpoints(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_endpoints: #{e}" @@ -5386,11 +5418,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Endpoints | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5408,7 +5441,7 @@ Name | Type | Description | Notes # **delete_namespaced_event** -> V1Status delete_namespaced_event(name, namespace, body, opts) +> V1Status delete_namespaced_event(name, namespace, , opts) @@ -5432,17 +5465,17 @@ name = "name_example" # String | name of the Event namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_event(name, namespace, body, opts) + result = api_instance.delete_namespaced_event(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_event: #{e}" @@ -5455,11 +5488,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Event | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5477,7 +5511,7 @@ Name | Type | Description | Notes # **delete_namespaced_limit_range** -> V1Status delete_namespaced_limit_range(name, namespace, body, opts) +> V1Status delete_namespaced_limit_range(name, namespace, , opts) @@ -5501,17 +5535,17 @@ name = "name_example" # String | name of the LimitRange namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_limit_range(name, namespace, body, opts) + result = api_instance.delete_namespaced_limit_range(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_limit_range: #{e}" @@ -5524,11 +5558,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the LimitRange | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5546,7 +5581,7 @@ Name | Type | Description | Notes # **delete_namespaced_persistent_volume_claim** -> V1Status delete_namespaced_persistent_volume_claim(name, namespace, body, opts) +> V1Status delete_namespaced_persistent_volume_claim(name, namespace, , opts) @@ -5570,17 +5605,17 @@ name = "name_example" # String | name of the PersistentVolumeClaim namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, body, opts) + result = api_instance.delete_namespaced_persistent_volume_claim(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_persistent_volume_claim: #{e}" @@ -5593,11 +5628,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PersistentVolumeClaim | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5615,7 +5651,7 @@ Name | Type | Description | Notes # **delete_namespaced_pod** -> V1Status delete_namespaced_pod(name, namespace, body, opts) +> V1Status delete_namespaced_pod(name, namespace, , opts) @@ -5639,17 +5675,17 @@ name = "name_example" # String | name of the Pod namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_pod(name, namespace, body, opts) + result = api_instance.delete_namespaced_pod(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_pod: #{e}" @@ -5662,11 +5698,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Pod | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5684,7 +5721,7 @@ Name | Type | Description | Notes # **delete_namespaced_pod_template** -> V1Status delete_namespaced_pod_template(name, namespace, body, opts) +> V1Status delete_namespaced_pod_template(name, namespace, , opts) @@ -5708,17 +5745,17 @@ name = "name_example" # String | name of the PodTemplate namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_pod_template(name, namespace, body, opts) + result = api_instance.delete_namespaced_pod_template(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_pod_template: #{e}" @@ -5731,11 +5768,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PodTemplate | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5753,7 +5791,7 @@ Name | Type | Description | Notes # **delete_namespaced_replication_controller** -> V1Status delete_namespaced_replication_controller(name, namespace, body, opts) +> V1Status delete_namespaced_replication_controller(name, namespace, , opts) @@ -5777,17 +5815,17 @@ name = "name_example" # String | name of the ReplicationController namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_replication_controller(name, namespace, body, opts) + result = api_instance.delete_namespaced_replication_controller(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_replication_controller: #{e}" @@ -5800,11 +5838,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ReplicationController | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5822,7 +5861,7 @@ Name | Type | Description | Notes # **delete_namespaced_resource_quota** -> V1Status delete_namespaced_resource_quota(name, namespace, body, opts) +> V1Status delete_namespaced_resource_quota(name, namespace, , opts) @@ -5846,17 +5885,17 @@ name = "name_example" # String | name of the ResourceQuota namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_resource_quota(name, namespace, body, opts) + result = api_instance.delete_namespaced_resource_quota(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_resource_quota: #{e}" @@ -5869,11 +5908,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ResourceQuota | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5891,7 +5931,7 @@ Name | Type | Description | Notes # **delete_namespaced_secret** -> V1Status delete_namespaced_secret(name, namespace, body, opts) +> V1Status delete_namespaced_secret(name, namespace, , opts) @@ -5915,17 +5955,17 @@ name = "name_example" # String | name of the Secret namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_secret(name, namespace, body, opts) + result = api_instance.delete_namespaced_secret(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_secret: #{e}" @@ -5938,11 +5978,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Secret | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -5985,7 +6026,12 @@ name = "name_example" # String | name of the Service namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin @@ -6003,6 +6049,11 @@ Name | Type | Description | Notes **name** | **String**| name of the Service | **namespace** | **String**| object name and auth scope, such as for teams and projects | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -6020,7 +6071,7 @@ Name | Type | Description | Notes # **delete_namespaced_service_account** -> V1Status delete_namespaced_service_account(name, namespace, body, opts) +> V1Status delete_namespaced_service_account(name, namespace, , opts) @@ -6044,17 +6095,17 @@ name = "name_example" # String | name of the ServiceAccount namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_service_account(name, namespace, body, opts) + result = api_instance.delete_namespaced_service_account(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_namespaced_service_account: #{e}" @@ -6067,11 +6118,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ServiceAccount | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -6089,7 +6141,7 @@ Name | Type | Description | Notes # **delete_node** -> V1Status delete_node(name, body, opts) +> V1Status delete_node(name, , opts) @@ -6111,17 +6163,17 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Node -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_node(name, body, opts) + result = api_instance.delete_node(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_node: #{e}" @@ -6133,11 +6185,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Node | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -6155,7 +6208,7 @@ Name | Type | Description | Notes # **delete_persistent_volume** -> V1Status delete_persistent_volume(name, body, opts) +> V1Status delete_persistent_volume(name, , opts) @@ -6177,17 +6230,17 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the PersistentVolume -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_persistent_volume(name, body, opts) + result = api_instance.delete_persistent_volume(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling CoreV1Api->delete_persistent_volume: #{e}" @@ -6199,11 +6252,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PersistentVolume | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -6289,14 +6343,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6312,14 +6366,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6359,14 +6413,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6382,14 +6436,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6429,14 +6483,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6452,14 +6506,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6499,14 +6553,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6522,14 +6576,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6569,14 +6623,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6592,14 +6646,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6639,14 +6693,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6662,14 +6716,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6711,14 +6765,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6735,14 +6789,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6784,14 +6838,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6808,14 +6862,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6857,14 +6911,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6881,14 +6935,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -6930,14 +6984,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -6954,14 +7008,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7003,14 +7057,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7027,14 +7081,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7076,14 +7130,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7100,14 +7154,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7149,14 +7203,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7173,14 +7227,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7222,14 +7276,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7246,14 +7300,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7295,14 +7349,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7319,14 +7373,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7368,14 +7422,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7392,14 +7446,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7441,14 +7495,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7465,14 +7519,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7514,14 +7568,14 @@ api_instance = Kubernetes::CoreV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7538,14 +7592,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7585,14 +7639,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7608,14 +7662,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7655,14 +7709,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7678,14 +7732,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7725,14 +7779,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7748,14 +7802,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7795,14 +7849,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7818,14 +7872,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7865,14 +7919,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7888,14 +7942,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -7935,14 +7989,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -7958,14 +8012,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -8005,14 +8059,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -8028,14 +8082,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -8075,14 +8129,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -8098,14 +8152,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -8145,14 +8199,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -8168,14 +8222,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -8215,14 +8269,14 @@ end api_instance = Kubernetes::CoreV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -8238,14 +8292,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -8289,7 +8343,8 @@ name = "name_example" # String | name of the Namespace body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8307,6 +8362,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Namespace | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8349,7 +8405,8 @@ name = "name_example" # String | name of the Namespace body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8367,6 +8424,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Namespace | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8411,7 +8469,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8430,6 +8489,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8474,7 +8534,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8493,6 +8554,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8537,7 +8599,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8556,6 +8619,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8600,7 +8664,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8619,6 +8684,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8663,7 +8729,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8682,6 +8749,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8726,7 +8794,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8745,6 +8814,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8789,7 +8859,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8808,6 +8879,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8852,7 +8924,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8871,6 +8944,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8915,7 +8989,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8934,6 +9009,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -8978,7 +9054,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -8997,6 +9074,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9041,7 +9119,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -9060,6 +9139,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9104,7 +9184,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -9123,6 +9204,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9167,7 +9249,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -9186,6 +9269,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9230,7 +9314,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -9249,6 +9334,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9293,7 +9379,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -9312,6 +9399,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -9351,2421 +9439,20 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Service -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_namespaced_service(name, namespace, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_namespaced_service_account** -> V1ServiceAccount patch_namespaced_service_account(name, namespace, body, opts) - - - -partially update the specified ServiceAccount - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the ServiceAccount - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_namespaced_service_account(name, namespace, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_namespaced_service_account: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the ServiceAccount | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1ServiceAccount**](V1ServiceAccount.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_namespaced_service_status** -> V1Service patch_namespaced_service_status(name, namespace, body, opts) - - - -partially update status of the specified Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_namespaced_service_status(name, namespace, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_namespaced_service_status: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Service**](V1Service.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_node** -> V1Node patch_node(name, body, opts) - - - -partially update the specified Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_node(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_node_status** -> V1Node patch_node_status(name, body, opts) - - - -partially update status of the specified Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_node_status(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_node_status: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1Node**](V1Node.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_persistent_volume** -> V1PersistentVolume patch_persistent_volume(name, body, opts) - - - -partially update the specified PersistentVolume - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the PersistentVolume - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_persistent_volume(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_persistent_volume: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the PersistentVolume | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **patch_persistent_volume_status** -> V1PersistentVolume patch_persistent_volume_status(name, body, opts) - - - -partially update status of the specified PersistentVolume - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the PersistentVolume - -body = nil # Object | - -opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. -} - -begin - result = api_instance.patch_persistent_volume_status(name, body, opts) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->patch_persistent_volume_status: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the PersistentVolume | - **body** | **Object**| | - **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - -### Return type - -[**V1PersistentVolume**](V1PersistentVolume.md) - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf - - - -# **proxy_delete_namespaced_pod** -> String proxy_delete_namespaced_pod(name, namespace) - - - -proxy DELETE requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_delete_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_delete_namespaced_pod_with_path** -> String proxy_delete_namespaced_pod_with_path(name, namespace, path) - - - -proxy DELETE requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_delete_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_delete_namespaced_service** -> String proxy_delete_namespaced_service(name, namespace) - - - -proxy DELETE requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_delete_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_delete_namespaced_service_with_path** -> String proxy_delete_namespaced_service_with_path(name, namespace, path) - - - -proxy DELETE requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_delete_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_delete_node** -> String proxy_delete_node(name) - - - -proxy DELETE requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_delete_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_delete_node_with_path** -> String proxy_delete_node_with_path(name, path) - - - -proxy DELETE requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_delete_node_with_path(name, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_delete_node_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_namespaced_pod** -> String proxy_get_namespaced_pod(name, namespace) - - - -proxy GET requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_get_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_namespaced_pod_with_path** -> String proxy_get_namespaced_pod_with_path(name, namespace, path) - - - -proxy GET requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_get_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_namespaced_service** -> String proxy_get_namespaced_service(name, namespace) - - - -proxy GET requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_get_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_namespaced_service_with_path** -> String proxy_get_namespaced_service_with_path(name, namespace, path) - - - -proxy GET requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_get_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_node** -> String proxy_get_node(name) - - - -proxy GET requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_get_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_get_node_with_path** -> String proxy_get_node_with_path(name, path) - - - -proxy GET requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_get_node_with_path(name, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_get_node_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_namespaced_pod** -> String proxy_head_namespaced_pod(name, namespace) - - - -proxy HEAD requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_head_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_namespaced_pod_with_path** -> String proxy_head_namespaced_pod_with_path(name, namespace, path) - - - -proxy HEAD requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_head_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_namespaced_service** -> String proxy_head_namespaced_service(name, namespace) - - - -proxy HEAD requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_head_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_namespaced_service_with_path** -> String proxy_head_namespaced_service_with_path(name, namespace, path) - - - -proxy HEAD requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_head_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_node** -> String proxy_head_node(name) - - - -proxy HEAD requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_head_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_head_node_with_path** -> String proxy_head_node_with_path(name, path) - - - -proxy HEAD requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_head_node_with_path(name, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_head_node_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_namespaced_pod** -> String proxy_options_namespaced_pod(name, namespace) - - - -proxy OPTIONS requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_options_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_namespaced_pod_with_path** -> String proxy_options_namespaced_pod_with_path(name, namespace, path) - - - -proxy OPTIONS requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_options_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_namespaced_service** -> String proxy_options_namespaced_service(name, namespace) - - - -proxy OPTIONS requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_options_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_namespaced_service_with_path** -> String proxy_options_namespaced_service_with_path(name, namespace, path) - - - -proxy OPTIONS requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_options_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_node** -> String proxy_options_node(name) - - - -proxy OPTIONS requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_options_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_options_node_with_path** -> String proxy_options_node_with_path(name, path) - - - -proxy OPTIONS requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_options_node_with_path(name, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_options_node_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_namespaced_pod** -> String proxy_patch_namespaced_pod(name, namespace) - - - -proxy PATCH requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_patch_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_namespaced_pod_with_path** -> String proxy_patch_namespaced_pod_with_path(name, namespace, path) - - - -proxy PATCH requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_patch_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_namespaced_service** -> String proxy_patch_namespaced_service(name, namespace) - - - -proxy PATCH requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_patch_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_namespaced_service_with_path** -> String proxy_patch_namespaced_service_with_path(name, namespace, path) - - - -proxy PATCH requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_patch_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_node** -> String proxy_patch_node(name) - - - -proxy PATCH requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_patch_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_patch_node_with_path** -> String proxy_patch_node_with_path(name, path) - - - -proxy PATCH requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_patch_node_with_path(name, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_patch_node_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_namespaced_pod** -> String proxy_post_namespaced_pod(name, namespace) - - - -proxy POST requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_post_namespaced_pod(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_namespaced_pod: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_namespaced_pod_with_path** -> String proxy_post_namespaced_pod_with_path(name, namespace, path) - - - -proxy POST requests to Pod - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Pod - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_post_namespaced_pod_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_namespaced_pod_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_namespaced_service** -> String proxy_post_namespaced_service(name, namespace) - - - -proxy POST requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - - -begin - result = api_instance.proxy_post_namespaced_service(name, namespace) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_namespaced_service: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_namespaced_service_with_path** -> String proxy_post_namespaced_service_with_path(name, namespace, path) - - - -proxy POST requests to Service - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects - -path = "path_example" # String | path to the resource - - -begin - result = api_instance.proxy_post_namespaced_service_with_path(name, namespace, path) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_namespaced_service_with_path: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_node** -> String proxy_post_node(name) - - - -proxy POST requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node - - -begin - result = api_instance.proxy_post_node(name) - p result -rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_node: #{e}" -end -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - -### Return type - -**String** - -### Authorization - -[BearerToken](../README.md#BearerToken) - -### HTTP request headers - - - **Content-Type**: */* - - **Accept**: */* - - - -# **proxy_post_node_with_path** -> String proxy_post_node_with_path(name, path) - - - -proxy POST requests to Node - -### Example -```ruby -# load the gem -require 'kubernetes' -# setup authorization -Kubernetes.configure do |config| - # Configure API key authorization: BearerToken - config.api_key['authorization'] = 'YOUR API KEY' - # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) - #config.api_key_prefix['authorization'] = 'Bearer' -end - -api_instance = Kubernetes::CoreV1Api.new - -name = "name_example" # String | name of the Node +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -path = "path_example" # String | path to the resource +body = nil # Object | +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_post_node_with_path(name, path) + result = api_instance.patch_namespaced_service(name, namespace, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_post_node_with_path: #{e}" + puts "Exception when calling CoreV1Api->patch_namespaced_service: #{e}" end ``` @@ -11773,12 +9460,15 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | + **name** | **String**| name of the Service | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1Service**](V1Service.md) ### Authorization @@ -11786,17 +9476,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_namespaced_pod** -> String proxy_put_namespaced_pod(name, namespace) +# **patch_namespaced_service_account** +> V1ServiceAccount patch_namespaced_service_account(name, namespace, body, opts) -proxy PUT requests to Pod +partially update the specified ServiceAccount ### Example ```ruby @@ -11812,16 +9502,22 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the ServiceAccount namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_namespaced_pod(name, namespace) + result = api_instance.patch_namespaced_service_account(name, namespace, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_namespaced_pod: #{e}" + puts "Exception when calling CoreV1Api->patch_namespaced_service_account: #{e}" end ``` @@ -11829,12 +9525,15 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the ServiceAccount | **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1ServiceAccount**](V1ServiceAccount.md) ### Authorization @@ -11842,17 +9541,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_namespaced_pod_with_path** -> String proxy_put_namespaced_pod_with_path(name, namespace, path) +# **patch_namespaced_service_status** +> V1Service patch_namespaced_service_status(name, namespace, body, opts) -proxy PUT requests to Pod +partially update status of the specified Service ### Example ```ruby @@ -11868,18 +9567,22 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Pod +name = "name_example" # String | name of the Service namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -path = "path_example" # String | path to the resource +body = nil # Object | +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_namespaced_pod_with_path(name, namespace, path) + result = api_instance.patch_namespaced_service_status(name, namespace, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_namespaced_pod_with_path: #{e}" + puts "Exception when calling CoreV1Api->patch_namespaced_service_status: #{e}" end ``` @@ -11887,13 +9590,15 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Pod | + **name** | **String**| name of the Service | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1Service**](V1Service.md) ### Authorization @@ -11901,17 +9606,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_namespaced_service** -> String proxy_put_namespaced_service(name, namespace) +# **patch_node** +> V1Node patch_node(name, body, opts) -proxy PUT requests to Service +partially update the specified Node ### Example ```ruby @@ -11927,16 +9632,20 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service +name = "name_example" # String | name of the Node -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects +body = nil # Object | +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_namespaced_service(name, namespace) + result = api_instance.patch_node(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_namespaced_service: #{e}" + puts "Exception when calling CoreV1Api->patch_node: #{e}" end ``` @@ -11944,12 +9653,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | + **name** | **String**| name of the Node | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1Node**](V1Node.md) ### Authorization @@ -11957,17 +9668,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_namespaced_service_with_path** -> String proxy_put_namespaced_service_with_path(name, namespace, path) +# **patch_node_status** +> V1Node patch_node_status(name, body, opts) -proxy PUT requests to Service +partially update status of the specified Node ### Example ```ruby @@ -11983,18 +9694,20 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Service - -namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects +name = "name_example" # String | name of the Node -path = "path_example" # String | path to the resource +body = nil # Object | +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_namespaced_service_with_path(name, namespace, path) + result = api_instance.patch_node_status(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_namespaced_service_with_path: #{e}" + puts "Exception when calling CoreV1Api->patch_node_status: #{e}" end ``` @@ -12002,13 +9715,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Service | - **namespace** | **String**| object name and auth scope, such as for teams and projects | - **path** | **String**| path to the resource | + **name** | **String**| name of the Node | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1Node**](V1Node.md) ### Authorization @@ -12016,17 +9730,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_node** -> String proxy_put_node(name) +# **patch_persistent_volume** +> V1PersistentVolume patch_persistent_volume(name, body, opts) -proxy PUT requests to Node +partially update the specified PersistentVolume ### Example ```ruby @@ -12042,14 +9756,20 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the PersistentVolume +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_node(name) + result = api_instance.patch_persistent_volume(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_node: #{e}" + puts "Exception when calling CoreV1Api->patch_persistent_volume: #{e}" end ``` @@ -12057,11 +9777,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | + **name** | **String**| name of the PersistentVolume | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1PersistentVolume**](V1PersistentVolume.md) ### Authorization @@ -12069,17 +9792,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **proxy_put_node_with_path** -> String proxy_put_node_with_path(name, path) +# **patch_persistent_volume_status** +> V1PersistentVolume patch_persistent_volume_status(name, body, opts) -proxy PUT requests to Node +partially update status of the specified PersistentVolume ### Example ```ruby @@ -12095,16 +9818,20 @@ end api_instance = Kubernetes::CoreV1Api.new -name = "name_example" # String | name of the Node +name = "name_example" # String | name of the PersistentVolume -path = "path_example" # String | path to the resource +body = nil # Object | +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} begin - result = api_instance.proxy_put_node_with_path(name, path) + result = api_instance.patch_persistent_volume_status(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CoreV1Api->proxy_put_node_with_path: #{e}" + puts "Exception when calling CoreV1Api->patch_persistent_volume_status: #{e}" end ``` @@ -12112,12 +9839,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the Node | - **path** | **String**| path to the resource | + **name** | **String**| name of the PersistentVolume | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -**String** +[**V1PersistentVolume**](V1PersistentVolume.md) ### Authorization @@ -12125,8 +9854,8 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf @@ -12211,7 +9940,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Namespace opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12272,7 +10001,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Namespace opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -12331,7 +10060,7 @@ name = "name_example" # String | name of the ConfigMap namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12395,7 +10124,7 @@ name = "name_example" # String | name of the Endpoints namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12459,7 +10188,7 @@ name = "name_example" # String | name of the Event namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12523,7 +10252,7 @@ name = "name_example" # String | name of the LimitRange namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12587,7 +10316,7 @@ name = "name_example" # String | name of the PersistentVolumeClaim namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12651,7 +10380,7 @@ name = "name_example" # String | name of the PersistentVolumeClaim namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -12711,7 +10440,7 @@ name = "name_example" # String | name of the Pod namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12849,7 +10578,7 @@ name = "name_example" # String | name of the Pod namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -12909,7 +10638,7 @@ name = "name_example" # String | name of the PodTemplate namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -12973,7 +10702,7 @@ name = "name_example" # String | name of the ReplicationController namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13037,7 +10766,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13097,7 +10826,7 @@ name = "name_example" # String | name of the ReplicationController namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13157,7 +10886,7 @@ name = "name_example" # String | name of the ResourceQuota namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13221,7 +10950,7 @@ name = "name_example" # String | name of the ResourceQuota namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13281,7 +11010,7 @@ name = "name_example" # String | name of the Secret namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13345,7 +11074,7 @@ name = "name_example" # String | name of the Service namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13409,7 +11138,7 @@ name = "name_example" # String | name of the ServiceAccount namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13473,7 +11202,7 @@ name = "name_example" # String | name of the Service namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13531,7 +11260,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Node opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13592,7 +11321,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the Node opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13649,7 +11378,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the PersistentVolume opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -13710,7 +11439,7 @@ api_instance = Kubernetes::CoreV1Api.new name = "name_example" # String | name of the PersistentVolume opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -13769,7 +11498,8 @@ name = "name_example" # String | name of the Namespace body = Kubernetes::V1Namespace.new # V1Namespace | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -13787,6 +11517,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Namespace | **body** | [**V1Namespace**](V1Namespace.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -13829,6 +11560,7 @@ name = "name_example" # String | name of the Namespace body = Kubernetes::V1Namespace.new # V1Namespace | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -13846,6 +11578,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Namespace | **body** | [**V1Namespace**](V1Namespace.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type @@ -13889,7 +11622,8 @@ name = "name_example" # String | name of the Namespace body = Kubernetes::V1Namespace.new # V1Namespace | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -13907,6 +11641,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Namespace | **body** | [**V1Namespace**](V1Namespace.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -13951,7 +11686,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ConfigMap.new # V1ConfigMap | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -13970,6 +11706,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ConfigMap**](V1ConfigMap.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14014,7 +11751,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Endpoints.new # V1Endpoints | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14033,6 +11771,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Endpoints**](V1Endpoints.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14077,7 +11816,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Event.new # V1Event | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14096,6 +11836,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Event**](V1Event.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14140,7 +11881,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1LimitRange.new # V1LimitRange | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14159,6 +11901,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1LimitRange**](V1LimitRange.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14203,7 +11946,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1PersistentVolumeClaim.new # V1PersistentVolumeClaim | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14222,6 +11966,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14266,7 +12011,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1PersistentVolumeClaim.new # V1PersistentVolumeClaim | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14285,6 +12031,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1PersistentVolumeClaim**](V1PersistentVolumeClaim.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14329,7 +12076,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Pod.new # V1Pod | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14348,6 +12096,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Pod**](V1Pod.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14392,7 +12141,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Pod.new # V1Pod | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14411,6 +12161,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Pod**](V1Pod.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14455,7 +12206,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1PodTemplate.new # V1PodTemplate | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14474,6 +12226,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1PodTemplate**](V1PodTemplate.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14518,7 +12271,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ReplicationController.new # V1ReplicationController | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14537,6 +12291,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ReplicationController**](V1ReplicationController.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14581,7 +12336,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Scale.new # V1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14600,6 +12356,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Scale**](V1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14644,7 +12401,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ReplicationController.new # V1ReplicationController | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14663,6 +12421,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ReplicationController**](V1ReplicationController.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14707,7 +12466,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ResourceQuota.new # V1ResourceQuota | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14726,6 +12486,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14770,7 +12531,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ResourceQuota.new # V1ResourceQuota | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14789,6 +12551,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ResourceQuota**](V1ResourceQuota.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14833,7 +12596,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Secret.new # V1Secret | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14852,6 +12616,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Secret**](V1Secret.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14896,7 +12661,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Service.new # V1Service | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14915,6 +12681,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Service**](V1Service.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -14959,7 +12726,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1ServiceAccount.new # V1ServiceAccount | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -14978,6 +12746,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1ServiceAccount**](V1ServiceAccount.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -15022,7 +12791,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Service.new # V1Service | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -15041,6 +12811,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Service**](V1Service.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -15083,7 +12854,8 @@ name = "name_example" # String | name of the Node body = Kubernetes::V1Node.new # V1Node | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -15101,6 +12873,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Node | **body** | [**V1Node**](V1Node.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -15143,7 +12916,8 @@ name = "name_example" # String | name of the Node body = Kubernetes::V1Node.new # V1Node | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -15161,6 +12935,7 @@ Name | Type | Description | Notes **name** | **String**| name of the Node | **body** | [**V1Node**](V1Node.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -15203,7 +12978,8 @@ name = "name_example" # String | name of the PersistentVolume body = Kubernetes::V1PersistentVolume.new # V1PersistentVolume | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -15221,6 +12997,7 @@ Name | Type | Description | Notes **name** | **String**| name of the PersistentVolume | **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -15263,7 +13040,8 @@ name = "name_example" # String | name of the PersistentVolume body = Kubernetes::V1PersistentVolume.new # V1PersistentVolume | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -15281,6 +13059,7 @@ Name | Type | Description | Notes **name** | **String**| name of the PersistentVolume | **body** | [**V1PersistentVolume**](V1PersistentVolume.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/CustomObjectsApi.md b/kubernetes/docs/CustomObjectsApi.md index ae2f18bb..79ef73c5 100644 --- a/kubernetes/docs/CustomObjectsApi.md +++ b/kubernetes/docs/CustomObjectsApi.md @@ -9,11 +9,25 @@ Method | HTTP request | Description [**delete_cluster_custom_object**](CustomObjectsApi.md#delete_cluster_custom_object) | **DELETE** /apis/{group}/{version}/{plural}/{name} | [**delete_namespaced_custom_object**](CustomObjectsApi.md#delete_namespaced_custom_object) | **DELETE** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | [**get_cluster_custom_object**](CustomObjectsApi.md#get_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural}/{name} | +[**get_cluster_custom_object_scale**](CustomObjectsApi.md#get_cluster_custom_object_scale) | **GET** /apis/{group}/{version}/{plural}/{name}/scale | +[**get_cluster_custom_object_status**](CustomObjectsApi.md#get_cluster_custom_object_status) | **GET** /apis/{group}/{version}/{plural}/{name}/status | [**get_namespaced_custom_object**](CustomObjectsApi.md#get_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +[**get_namespaced_custom_object_scale**](CustomObjectsApi.md#get_namespaced_custom_object_scale) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +[**get_namespaced_custom_object_status**](CustomObjectsApi.md#get_namespaced_custom_object_status) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | [**list_cluster_custom_object**](CustomObjectsApi.md#list_cluster_custom_object) | **GET** /apis/{group}/{version}/{plural} | [**list_namespaced_custom_object**](CustomObjectsApi.md#list_namespaced_custom_object) | **GET** /apis/{group}/{version}/namespaces/{namespace}/{plural} | +[**patch_cluster_custom_object**](CustomObjectsApi.md#patch_cluster_custom_object) | **PATCH** /apis/{group}/{version}/{plural}/{name} | +[**patch_cluster_custom_object_scale**](CustomObjectsApi.md#patch_cluster_custom_object_scale) | **PATCH** /apis/{group}/{version}/{plural}/{name}/scale | +[**patch_cluster_custom_object_status**](CustomObjectsApi.md#patch_cluster_custom_object_status) | **PATCH** /apis/{group}/{version}/{plural}/{name}/status | +[**patch_namespaced_custom_object**](CustomObjectsApi.md#patch_namespaced_custom_object) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +[**patch_namespaced_custom_object_scale**](CustomObjectsApi.md#patch_namespaced_custom_object_scale) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +[**patch_namespaced_custom_object_status**](CustomObjectsApi.md#patch_namespaced_custom_object_status) | **PATCH** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | [**replace_cluster_custom_object**](CustomObjectsApi.md#replace_cluster_custom_object) | **PUT** /apis/{group}/{version}/{plural}/{name} | +[**replace_cluster_custom_object_scale**](CustomObjectsApi.md#replace_cluster_custom_object_scale) | **PUT** /apis/{group}/{version}/{plural}/{name}/scale | +[**replace_cluster_custom_object_status**](CustomObjectsApi.md#replace_cluster_custom_object_status) | **PUT** /apis/{group}/{version}/{plural}/{name}/status | [**replace_namespaced_custom_object**](CustomObjectsApi.md#replace_namespaced_custom_object) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name} | +[**replace_namespaced_custom_object_scale**](CustomObjectsApi.md#replace_namespaced_custom_object_scale) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | +[**replace_namespaced_custom_object_status**](CustomObjectsApi.md#replace_namespaced_custom_object_status) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | # **create_cluster_custom_object** @@ -362,6 +376,130 @@ Name | Type | Description | Notes +# **get_cluster_custom_object_scale** +> Object get_cluster_custom_object_scale(group, version, plural, name, ) + + + +read scale of the specified custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + + +begin + result = api_instance.get_cluster_custom_object_scale(group, version, plural, name, ) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->get_cluster_custom_object_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_cluster_custom_object_status** +> Object get_cluster_custom_object_status(group, version, plural, name, ) + + + +read status of the specified cluster scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + + +begin + result = api_instance.get_cluster_custom_object_status(group, version, plural, name, ) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->get_cluster_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **get_namespaced_custom_object** > Object get_namespaced_custom_object(group, version, namespace, plural, name, ) @@ -427,6 +565,136 @@ Name | Type | Description | Notes +# **get_namespaced_custom_object_scale** +> Object get_namespaced_custom_object_scale(group, version, namespace, plural, name, ) + + + +read scale of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + + +begin + result = api_instance.get_namespaced_custom_object_scale(group, version, namespace, plural, name, ) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->get_namespaced_custom_object_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_namespaced_custom_object_status** +> Object get_namespaced_custom_object_status(group, version, namespace, plural, name, ) + + + +read status of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + + +begin + result = api_instance.get_namespaced_custom_object_status(group, version, namespace, plural, name, ) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->get_namespaced_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **list_cluster_custom_object** > Object list_cluster_custom_object(group, version, plural, , opts) @@ -458,6 +726,7 @@ opts = { pretty: "pretty_example" # String | If 'true', then the output is pretty printed. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. } @@ -479,6 +748,7 @@ Name | Type | Description | Notes **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] ### Return type @@ -529,6 +799,7 @@ opts = { pretty: "pretty_example" # String | If 'true', then the output is pretty printed. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. } @@ -551,6 +822,7 @@ Name | Type | Description | Notes **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. | [optional] ### Return type @@ -568,12 +840,12 @@ Name | Type | Description | Notes -# **replace_cluster_custom_object** -> Object replace_cluster_custom_object(group, version, plural, name, body) +# **patch_cluster_custom_object** +> Object patch_cluster_custom_object(group, version, plural, name, body) -replace the specified cluster scoped custom object +patch the specified cluster scoped custom object ### Example ```ruby @@ -597,14 +869,14 @@ plural = "plural_example" # String | the custom object's plural name. For TPRs t name = "name_example" # String | the custom object's name -body = nil # Object | The JSON schema of the Resource to replace. +body = nil # Object | The JSON schema of the Resource to patch. begin - result = api_instance.replace_cluster_custom_object(group, version, plural, name, body) + result = api_instance.patch_cluster_custom_object(group, version, plural, name, body) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CustomObjectsApi->replace_cluster_custom_object: #{e}" + puts "Exception when calling CustomObjectsApi->patch_cluster_custom_object: #{e}" end ``` @@ -616,7 +888,7 @@ Name | Type | Description | Notes **version** | **String**| the custom resource's version | **plural** | **String**| the custom object's plural name. For TPRs this would be lowercase plural kind. | **name** | **String**| the custom object's name | - **body** | **Object**| The JSON schema of the Resource to replace. | + **body** | **Object**| The JSON schema of the Resource to patch. | ### Return type @@ -628,17 +900,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/merge-patch+json - **Accept**: application/json -# **replace_namespaced_custom_object** -> Object replace_namespaced_custom_object(group, version, namespace, plural, name, body) +# **patch_cluster_custom_object_scale** +> Object patch_cluster_custom_object_scale(group, version, plural, name, body) -replace the specified namespace scoped custom object +partially update scale of the specified cluster scoped custom object ### Example ```ruby @@ -658,20 +930,18 @@ group = "group_example" # String | the custom resource's group version = "version_example" # String | the custom resource's version -namespace = "namespace_example" # String | The custom resource's namespace - plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. name = "name_example" # String | the custom object's name -body = nil # Object | The JSON schema of the Resource to replace. +body = nil # Object | begin - result = api_instance.replace_namespaced_custom_object(group, version, namespace, plural, name, body) + result = api_instance.patch_cluster_custom_object_scale(group, version, plural, name, body) p result rescue Kubernetes::ApiError => e - puts "Exception when calling CustomObjectsApi->replace_namespaced_custom_object: #{e}" + puts "Exception when calling CustomObjectsApi->patch_cluster_custom_object_scale: #{e}" end ``` @@ -681,10 +951,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **group** | **String**| the custom resource's group | **version** | **String**| the custom resource's version | - **namespace** | **String**| The custom resource's namespace | **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | **name** | **String**| the custom object's name | - **body** | **Object**| The JSON schema of the Resource to replace. | + **body** | **Object**| | ### Return type @@ -696,8 +965,676 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* - - **Accept**: application/json + - **Content-Type**: application/merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_cluster_custom_object_status** +> Object patch_cluster_custom_object_status(group, version, plural, name, body) + + + +partially update status of the specified cluster scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.patch_cluster_custom_object_status(group, version, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->patch_cluster_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_custom_object** +> Object patch_namespaced_custom_object(group, version, namespace, plural, name, body) + + + +patch the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | The JSON schema of the Resource to patch. + + +begin + result = api_instance.patch_namespaced_custom_object(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->patch_namespaced_custom_object: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| The JSON schema of the Resource to patch. | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/merge-patch+json + - **Accept**: application/json + + + +# **patch_namespaced_custom_object_scale** +> Object patch_namespaced_custom_object_scale(group, version, namespace, plural, name, body) + + + +partially update scale of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.patch_namespaced_custom_object_scale(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->patch_namespaced_custom_object_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_namespaced_custom_object_status** +> Object patch_namespaced_custom_object_status(group, version, namespace, plural, name, body) + + + +partially update status of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.patch_namespaced_custom_object_status(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->patch_namespaced_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_cluster_custom_object** +> Object replace_cluster_custom_object(group, version, plural, name, body) + + + +replace the specified cluster scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom object's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | The JSON schema of the Resource to replace. + + +begin + result = api_instance.replace_cluster_custom_object(group, version, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_cluster_custom_object: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom object's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| The JSON schema of the Resource to replace. | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json + + + +# **replace_cluster_custom_object_scale** +> Object replace_cluster_custom_object_scale(group, version, plural, name, body) + + + +replace scale of the specified cluster scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.replace_cluster_custom_object_scale(group, version, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_cluster_custom_object_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_cluster_custom_object_status** +> Object replace_cluster_custom_object_status(group, version, plural, name, body) + + + +replace status of the cluster scoped specified custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.replace_cluster_custom_object_status(group, version, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_cluster_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_custom_object** +> Object replace_namespaced_custom_object(group, version, namespace, plural, name, body) + + + +replace the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | The JSON schema of the Resource to replace. + + +begin + result = api_instance.replace_namespaced_custom_object(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_namespaced_custom_object: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| The JSON schema of the Resource to replace. | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json + + + +# **replace_namespaced_custom_object_scale** +> Object replace_namespaced_custom_object_scale(group, version, namespace, plural, name, body) + + + +replace scale of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.replace_namespaced_custom_object_scale(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_namespaced_custom_object_scale: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_custom_object_status** +> Object replace_namespaced_custom_object_status(group, version, namespace, plural, name, body) + + + +replace status of the specified namespace scoped custom object + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::CustomObjectsApi.new + +group = "group_example" # String | the custom resource's group + +version = "version_example" # String | the custom resource's version + +namespace = "namespace_example" # String | The custom resource's namespace + +plural = "plural_example" # String | the custom resource's plural name. For TPRs this would be lowercase plural kind. + +name = "name_example" # String | the custom object's name + +body = nil # Object | + + +begin + result = api_instance.replace_namespaced_custom_object_status(group, version, namespace, plural, name, body) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling CustomObjectsApi->replace_namespaced_custom_object_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **group** | **String**| the custom resource's group | + **version** | **String**| the custom resource's version | + **namespace** | **String**| The custom resource's namespace | + **plural** | **String**| the custom resource's plural name. For TPRs this would be lowercase plural kind. | + **name** | **String**| the custom object's name | + **body** | **Object**| | + +### Return type + +**Object** + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf diff --git a/kubernetes/docs/EventsApi.md b/kubernetes/docs/EventsApi.md new file mode 100644 index 00000000..c0ff8ce3 --- /dev/null +++ b/kubernetes/docs/EventsApi.md @@ -0,0 +1,56 @@ +# Kubernetes::EventsApi + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api_group**](EventsApi.md#get_api_group) | **GET** /apis/events.k8s.io/ | + + +# **get_api_group** +> V1APIGroup get_api_group + + + +get information of a group + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsApi.new + +begin + result = api_instance.get_api_group + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsApi->get_api_group: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/EventsV1beta1Api.md b/kubernetes/docs/EventsV1beta1Api.md new file mode 100644 index 00000000..bd2264fd --- /dev/null +++ b/kubernetes/docs/EventsV1beta1Api.md @@ -0,0 +1,608 @@ +# Kubernetes::EventsV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_namespaced_event**](EventsV1beta1Api.md#create_namespaced_event) | **POST** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +[**delete_collection_namespaced_event**](EventsV1beta1Api.md#delete_collection_namespaced_event) | **DELETE** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +[**delete_namespaced_event**](EventsV1beta1Api.md#delete_namespaced_event) | **DELETE** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +[**get_api_resources**](EventsV1beta1Api.md#get_api_resources) | **GET** /apis/events.k8s.io/v1beta1/ | +[**list_event_for_all_namespaces**](EventsV1beta1Api.md#list_event_for_all_namespaces) | **GET** /apis/events.k8s.io/v1beta1/events | +[**list_namespaced_event**](EventsV1beta1Api.md#list_namespaced_event) | **GET** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | +[**patch_namespaced_event**](EventsV1beta1Api.md#patch_namespaced_event) | **PATCH** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +[**read_namespaced_event**](EventsV1beta1Api.md#read_namespaced_event) | **GET** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | +[**replace_namespaced_event**](EventsV1beta1Api.md#replace_namespaced_event) | **PUT** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name} | + + +# **create_namespaced_event** +> V1beta1Event create_namespaced_event(namespacebody, opts) + + + +create an Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1beta1Event.new # V1beta1Event | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_namespaced_event(namespacebody, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->create_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1Event**](V1beta1Event.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Event**](V1beta1Event.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_namespaced_event** +> V1Status delete_collection_namespaced_event(namespace, opts) + + + +delete collection of Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_namespaced_event(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->delete_collection_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_namespaced_event** +> V1Status delete_namespaced_event(name, namespace, , opts) + + + +delete an Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +name = "name_example" # String | name of the Event + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_namespaced_event(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->delete_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Event | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_event_for_all_namespaces** +> V1beta1EventList list_event_for_all_namespaces(opts) + + + +list or watch objects of kind Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +opts = { + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_event_for_all_namespaces(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->list_event_for_all_namespaces: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1EventList**](V1beta1EventList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **list_namespaced_event** +> V1beta1EventList list_namespaced_event(namespace, opts) + + + +list or watch objects of kind Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_namespaced_event(namespace, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->list_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1EventList**](V1beta1EventList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_namespaced_event** +> V1beta1Event patch_namespaced_event(name, namespace, body, opts) + + + +partially update the specified Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +name = "name_example" # String | name of the Event + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_namespaced_event(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->patch_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Event | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Event**](V1beta1Event.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_namespaced_event** +> V1beta1Event read_namespaced_event(name, namespace, , opts) + + + +read the specified Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +name = "name_example" # String | name of the Event + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_namespaced_event(name, namespace, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->read_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Event | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1Event**](V1beta1Event.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_namespaced_event** +> V1beta1Event replace_namespaced_event(name, namespace, body, opts) + + + +replace the specified Event + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::EventsV1beta1Api.new + +name = "name_example" # String | name of the Event + +namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects + +body = Kubernetes::V1beta1Event.new # V1beta1Event | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_namespaced_event(name, namespace, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling EventsV1beta1Api->replace_namespaced_event: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the Event | + **namespace** | **String**| object name and auth scope, such as for teams and projects | + **body** | [**V1beta1Event**](V1beta1Event.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1Event**](V1beta1Event.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md b/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md new file mode 100644 index 00000000..68e59883 --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1AllowedFlexVolume.md @@ -0,0 +1,8 @@ +# Kubernetes::ExtensionsV1beta1AllowedFlexVolume + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**driver** | **String** | driver is the name of the Flexvolume driver. | + + diff --git a/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md b/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md new file mode 100644 index 00000000..86c5262a --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1AllowedHostPath.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1AllowedHostPath + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path_prefix** | **String** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**read_only** | **BOOLEAN** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1Api.md b/kubernetes/docs/ExtensionsV1beta1Api.md index aaa58fa1..c1a3601e 100644 --- a/kubernetes/docs/ExtensionsV1beta1Api.md +++ b/kubernetes/docs/ExtensionsV1beta1Api.md @@ -102,7 +102,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1DaemonSet.new # V1beta1DaemonSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -119,7 +121,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -162,7 +166,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Deployment.new # ExtensionsV1beta1Deployment | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -179,7 +185,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -197,7 +205,7 @@ Name | Type | Description | Notes # **create_namespaced_deployment_rollback** -> ExtensionsV1beta1DeploymentRollback create_namespaced_deployment_rollback(name, namespace, body, opts) +> V1Status create_namespaced_deployment_rollback(name, namespace, body, opts) @@ -224,6 +232,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1DeploymentRollback.new # ExtensionsV1beta1DeploymentRollback | opts = { + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + include_uninitialized: true, # BOOLEAN | If IncludeUninitialized is specified, the object may be returned without completing initialization. pretty: "pretty_example" # String | If 'true', then the output is pretty printed. } @@ -242,11 +252,13 @@ Name | Type | Description | Notes **name** | **String**| name of the DeploymentRollback | **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1DeploymentRollback**](ExtensionsV1beta1DeploymentRollback.md)| | + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **include_uninitialized** | **BOOLEAN**| If IncludeUninitialized is specified, the object may be returned without completing initialization. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] ### Return type -[**ExtensionsV1beta1DeploymentRollback**](ExtensionsV1beta1DeploymentRollback.md) +[**V1Status**](V1Status.md) ### Authorization @@ -285,7 +297,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Ingress.new # V1beta1Ingress | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -302,7 +316,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -345,7 +361,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1NetworkPolicy.new # V1beta1NetworkPolicy | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -362,7 +380,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -405,7 +425,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1ReplicaSet.new # V1beta1ReplicaSet | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -422,7 +444,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -440,7 +464,7 @@ Name | Type | Description | Notes # **create_pod_security_policy** -> V1beta1PodSecurityPolicy create_pod_security_policy(body, opts) +> ExtensionsV1beta1PodSecurityPolicy create_pod_security_policy(body, opts) @@ -460,10 +484,12 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new -body = Kubernetes::V1beta1PodSecurityPolicy.new # V1beta1PodSecurityPolicy | +body = Kubernetes::ExtensionsV1beta1PodSecurityPolicy.new # ExtensionsV1beta1PodSecurityPolicy | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -478,12 +504,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| | + **body** | [**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) +[**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md) ### Authorization @@ -520,14 +548,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -544,14 +572,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -593,14 +621,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -617,14 +645,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -666,14 +694,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -690,14 +718,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -739,14 +767,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -763,14 +791,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -812,14 +840,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -836,14 +864,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -883,14 +911,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -906,14 +934,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -932,7 +960,7 @@ Name | Type | Description | Notes # **delete_namespaced_daemon_set** -> V1Status delete_namespaced_daemon_set(name, namespace, body, opts) +> V1Status delete_namespaced_daemon_set(name, namespace, , opts) @@ -956,17 +984,17 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_daemon_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_daemon_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_namespaced_daemon_set: #{e}" @@ -979,11 +1007,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the DaemonSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1001,7 +1030,7 @@ Name | Type | Description | Notes # **delete_namespaced_deployment** -> V1Status delete_namespaced_deployment(name, namespace, body, opts) +> V1Status delete_namespaced_deployment(name, namespace, , opts) @@ -1025,17 +1054,17 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_deployment(name, namespace, body, opts) + result = api_instance.delete_namespaced_deployment(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_namespaced_deployment: #{e}" @@ -1048,11 +1077,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Deployment | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1070,7 +1100,7 @@ Name | Type | Description | Notes # **delete_namespaced_ingress** -> V1Status delete_namespaced_ingress(name, namespace, body, opts) +> V1Status delete_namespaced_ingress(name, namespace, , opts) @@ -1094,17 +1124,17 @@ name = "name_example" # String | name of the Ingress namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_ingress(name, namespace, body, opts) + result = api_instance.delete_namespaced_ingress(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_namespaced_ingress: #{e}" @@ -1117,11 +1147,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Ingress | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1139,7 +1170,7 @@ Name | Type | Description | Notes # **delete_namespaced_network_policy** -> V1Status delete_namespaced_network_policy(name, namespace, body, opts) +> V1Status delete_namespaced_network_policy(name, namespace, , opts) @@ -1163,17 +1194,17 @@ name = "name_example" # String | name of the NetworkPolicy namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_network_policy(name, namespace, body, opts) + result = api_instance.delete_namespaced_network_policy(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_namespaced_network_policy: #{e}" @@ -1186,11 +1217,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the NetworkPolicy | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1208,7 +1240,7 @@ Name | Type | Description | Notes # **delete_namespaced_replica_set** -> V1Status delete_namespaced_replica_set(name, namespace, body, opts) +> V1Status delete_namespaced_replica_set(name, namespace, , opts) @@ -1232,17 +1264,17 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_replica_set(name, namespace, body, opts) + result = api_instance.delete_namespaced_replica_set(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_namespaced_replica_set: #{e}" @@ -1255,11 +1287,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ReplicaSet | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1277,7 +1310,7 @@ Name | Type | Description | Notes # **delete_pod_security_policy** -> V1Status delete_pod_security_policy(name, body, opts) +> V1Status delete_pod_security_policy(name, , opts) @@ -1299,17 +1332,17 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new name = "name_example" # String | name of the PodSecurityPolicy -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_pod_security_policy(name, body, opts) + result = api_instance.delete_pod_security_policy(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling ExtensionsV1beta1Api->delete_pod_security_policy: #{e}" @@ -1321,11 +1354,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PodSecurityPolicy | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -1411,14 +1445,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1434,14 +1468,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1481,14 +1515,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1504,14 +1538,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1551,14 +1585,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1574,14 +1608,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1623,14 +1657,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1647,14 +1681,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1696,14 +1730,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1720,14 +1754,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1769,14 +1803,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1793,14 +1827,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1842,14 +1876,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1866,14 +1900,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1915,14 +1949,14 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1939,14 +1973,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1986,14 +2020,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -2009,14 +2043,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -2035,7 +2069,7 @@ Name | Type | Description | Notes # **list_pod_security_policy** -> V1beta1PodSecurityPolicyList list_pod_security_policy(opts) +> ExtensionsV1beta1PodSecurityPolicyList list_pod_security_policy(opts) @@ -2056,14 +2090,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -2079,19 +2113,19 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1beta1PodSecurityPolicyList**](V1beta1PodSecurityPolicyList.md) +[**ExtensionsV1beta1PodSecurityPolicyList**](ExtensionsV1beta1PodSecurityPolicyList.md) ### Authorization @@ -2126,14 +2160,14 @@ end api_instance = Kubernetes::ExtensionsV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -2149,14 +2183,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -2202,7 +2236,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2221,6 +2256,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2265,7 +2301,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2284,6 +2321,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2328,7 +2366,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2347,6 +2386,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2391,7 +2431,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2410,6 +2451,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2454,7 +2496,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2473,6 +2516,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2517,7 +2561,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2536,6 +2581,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2580,7 +2626,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2599,6 +2646,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2643,7 +2691,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2662,6 +2711,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2706,7 +2756,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2725,6 +2776,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2769,7 +2821,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2788,6 +2841,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2832,7 +2886,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2851,6 +2906,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2895,7 +2951,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2914,6 +2971,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -2931,7 +2989,7 @@ Name | Type | Description | Notes # **patch_pod_security_policy** -> V1beta1PodSecurityPolicy patch_pod_security_policy(name, body, opts) +> ExtensionsV1beta1PodSecurityPolicy patch_pod_security_policy(name, body, opts) @@ -2956,7 +3014,8 @@ name = "name_example" # String | name of the PodSecurityPolicy body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2974,10 +3033,11 @@ Name | Type | Description | Notes **name** | **String**| name of the PodSecurityPolicy | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) +[**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md) ### Authorization @@ -3016,7 +3076,7 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3080,7 +3140,7 @@ name = "name_example" # String | name of the DaemonSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3140,7 +3200,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3204,7 +3264,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3264,7 +3324,7 @@ name = "name_example" # String | name of the Deployment namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3324,7 +3384,7 @@ name = "name_example" # String | name of the Ingress namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3388,7 +3448,7 @@ name = "name_example" # String | name of the Ingress namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3448,7 +3508,7 @@ name = "name_example" # String | name of the NetworkPolicy namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3512,7 +3572,7 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3576,7 +3636,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3636,7 +3696,7 @@ name = "name_example" # String | name of the ReplicaSet namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3696,7 +3756,7 @@ name = "name_example" # String | name of the Scale namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -3731,7 +3791,7 @@ Name | Type | Description | Notes # **read_pod_security_policy** -> V1beta1PodSecurityPolicy read_pod_security_policy(name, , opts) +> ExtensionsV1beta1PodSecurityPolicy read_pod_security_policy(name, , opts) @@ -3754,7 +3814,7 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new name = "name_example" # String | name of the PodSecurityPolicy opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -3778,7 +3838,7 @@ Name | Type | Description | Notes ### Return type -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) +[**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md) ### Authorization @@ -3819,7 +3879,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1DaemonSet.new # V1beta1DaemonSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3838,6 +3899,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3882,7 +3944,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1DaemonSet.new # V1beta1DaemonSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3901,6 +3964,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1DaemonSet**](V1beta1DaemonSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -3945,7 +4009,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Deployment.new # ExtensionsV1beta1Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -3964,6 +4029,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4008,7 +4074,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Scale.new # ExtensionsV1beta1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4027,6 +4094,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4071,7 +4139,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Deployment.new # ExtensionsV1beta1Deployment | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4090,6 +4159,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Deployment**](ExtensionsV1beta1Deployment.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4134,7 +4204,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Ingress.new # V1beta1Ingress | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4153,6 +4224,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4197,7 +4269,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Ingress.new # V1beta1Ingress | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4216,6 +4289,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Ingress**](V1beta1Ingress.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4260,7 +4334,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1NetworkPolicy.new # V1beta1NetworkPolicy | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4279,6 +4354,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1NetworkPolicy**](V1beta1NetworkPolicy.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4323,7 +4399,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1ReplicaSet.new # V1beta1ReplicaSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4342,6 +4419,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4386,7 +4464,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Scale.new # ExtensionsV1beta1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4405,6 +4484,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4449,7 +4529,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1ReplicaSet.new # V1beta1ReplicaSet | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4468,6 +4549,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1ReplicaSet**](V1beta1ReplicaSet.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4512,7 +4594,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::ExtensionsV1beta1Scale.new # ExtensionsV1beta1Scale | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4531,6 +4614,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**ExtensionsV1beta1Scale**](ExtensionsV1beta1Scale.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -4548,7 +4632,7 @@ Name | Type | Description | Notes # **replace_pod_security_policy** -> V1beta1PodSecurityPolicy replace_pod_security_policy(name, body, opts) +> ExtensionsV1beta1PodSecurityPolicy replace_pod_security_policy(name, body, opts) @@ -4570,10 +4654,11 @@ api_instance = Kubernetes::ExtensionsV1beta1Api.new name = "name_example" # String | name of the PodSecurityPolicy -body = Kubernetes::V1beta1PodSecurityPolicy.new # V1beta1PodSecurityPolicy | +body = Kubernetes::ExtensionsV1beta1PodSecurityPolicy.new # ExtensionsV1beta1PodSecurityPolicy | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -4589,12 +4674,13 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PodSecurityPolicy | - **body** | [**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md)| | + **body** | [**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -[**V1beta1PodSecurityPolicy**](V1beta1PodSecurityPolicy.md) +[**ExtensionsV1beta1PodSecurityPolicy**](ExtensionsV1beta1PodSecurityPolicy.md) ### Authorization diff --git a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md index 65cec9b2..aa6fccbc 100644 --- a/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md +++ b/kubernetes/docs/ExtensionsV1beta1DeploymentSpec.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_ready_seconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] **paused** | **BOOLEAN** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional] -**progress_deadline_seconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional] +**progress_deadline_seconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\". | [optional] **replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] -**revision_history_limit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional] +**revision_history_limit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". | [optional] **rollback_to** | [**ExtensionsV1beta1RollbackConfig**](ExtensionsV1beta1RollbackConfig.md) | DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] **strategy** | [**ExtensionsV1beta1DeploymentStrategy**](ExtensionsV1beta1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md new file mode 100644 index 00000000..78f5b5aa --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1FSGroupStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1HostPortRange.md b/kubernetes/docs/ExtensionsV1beta1HostPortRange.md new file mode 100644 index 00000000..a864ae70 --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1HostPortRange.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1HostPortRange + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **Integer** | max is the end of the range, inclusive. | +**min** | **Integer** | min is the start of the range, inclusive. | + + diff --git a/kubernetes/docs/ExtensionsV1beta1IDRange.md b/kubernetes/docs/ExtensionsV1beta1IDRange.md new file mode 100644 index 00000000..01a73d8c --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1IDRange.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1IDRange + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **Integer** | max is the end of the range, inclusive. | +**min** | **Integer** | min is the start of the range, inclusive. | + + diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicy.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicy.md new file mode 100644 index 00000000..2a90bd55 --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicy.md @@ -0,0 +1,11 @@ +# Kubernetes::ExtensionsV1beta1PodSecurityPolicy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**ExtensionsV1beta1PodSecurityPolicySpec**](ExtensionsV1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md new file mode 100644 index 00000000..16375630 --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicyList.md @@ -0,0 +1,11 @@ +# Kubernetes::ExtensionsV1beta1PodSecurityPolicyList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<ExtensionsV1beta1PodSecurityPolicy>**](ExtensionsV1beta1PodSecurityPolicy.md) | items is a list of schema objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md new file mode 100644 index 00000000..b517499b --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1PodSecurityPolicySpec.md @@ -0,0 +1,29 @@ +# Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allow_privilege_escalation** | **BOOLEAN** | allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] +**allowed_capabilities** | **Array<String>** | allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. | [optional] +**allowed_flex_volumes** | [**Array<ExtensionsV1beta1AllowedFlexVolume>**](ExtensionsV1beta1AllowedFlexVolume.md) | allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. | [optional] +**allowed_host_paths** | [**Array<ExtensionsV1beta1AllowedHostPath>**](ExtensionsV1beta1AllowedHostPath.md) | allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] +**allowed_proc_mount_types** | **Array<String>** | AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. | [optional] +**allowed_unsafe_sysctls** | **Array<String>** | allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. | [optional] +**default_add_capabilities** | **Array<String>** | defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. | [optional] +**default_allow_privilege_escalation** | **BOOLEAN** | defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] +**forbidden_sysctls** | **Array<String>** | forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. | [optional] +**fs_group** | [**ExtensionsV1beta1FSGroupStrategyOptions**](ExtensionsV1beta1FSGroupStrategyOptions.md) | fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. | +**host_ipc** | **BOOLEAN** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] +**host_network** | **BOOLEAN** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] +**host_pid** | **BOOLEAN** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] +**host_ports** | [**Array<ExtensionsV1beta1HostPortRange>**](ExtensionsV1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] +**privileged** | **BOOLEAN** | privileged determines if a pod can request to be run as privileged. | [optional] +**read_only_root_filesystem** | **BOOLEAN** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] +**required_drop_capabilities** | **Array<String>** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**run_as_group** | [**ExtensionsV1beta1RunAsGroupStrategyOptions**](ExtensionsV1beta1RunAsGroupStrategyOptions.md) | RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. | [optional] +**run_as_user** | [**ExtensionsV1beta1RunAsUserStrategyOptions**](ExtensionsV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | +**se_linux** | [**ExtensionsV1beta1SELinuxStrategyOptions**](ExtensionsV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | +**supplemental_groups** | [**ExtensionsV1beta1SupplementalGroupsStrategyOptions**](ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | +**volumes** | **Array<String>** | volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md new file mode 100644 index 00000000..854b61fc --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1RunAsGroupStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | + + diff --git a/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md new file mode 100644 index 00000000..51c1a39b --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1RunAsUserStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | + + diff --git a/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md new file mode 100644 index 00000000..a9ce212f --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1SELinuxStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rule** | **String** | rule is the strategy that will dictate the allowable labels that may be set. | +**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] + + diff --git a/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md new file mode 100644 index 00000000..d0d9838e --- /dev/null +++ b/kubernetes/docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<ExtensionsV1beta1IDRange>**](ExtensionsV1beta1IDRange.md) | ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] + + diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md index 396acfa3..0483182d 100644 --- a/kubernetes/docs/NetworkingV1Api.md +++ b/kubernetes/docs/NetworkingV1Api.md @@ -41,7 +41,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1NetworkPolicy.new # V1NetworkPolicy | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -58,7 +60,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1NetworkPolicy**](V1NetworkPolicy.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -99,14 +103,14 @@ api_instance = Kubernetes::NetworkingV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -123,14 +127,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -149,7 +153,7 @@ Name | Type | Description | Notes # **delete_namespaced_network_policy** -> V1Status delete_namespaced_network_policy(name, namespace, body, opts) +> V1Status delete_namespaced_network_policy(name, namespace, , opts) @@ -173,17 +177,17 @@ name = "name_example" # String | name of the NetworkPolicy namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_network_policy(name, namespace, body, opts) + result = api_instance.delete_namespaced_network_policy(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling NetworkingV1Api->delete_namespaced_network_policy: #{e}" @@ -196,11 +200,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the NetworkPolicy | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -288,14 +293,14 @@ api_instance = Kubernetes::NetworkingV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -359,14 +364,14 @@ end api_instance = Kubernetes::NetworkingV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -382,14 +387,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -435,7 +440,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -454,6 +460,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -496,7 +503,7 @@ name = "name_example" # String | name of the NetworkPolicy namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -562,7 +569,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1NetworkPolicy.new # V1NetworkPolicy | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -581,6 +589,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1NetworkPolicy**](V1NetworkPolicy.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md b/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md new file mode 100644 index 00000000..297cc644 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1AllowedFlexVolume.md @@ -0,0 +1,8 @@ +# Kubernetes::PolicyV1beta1AllowedFlexVolume + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**driver** | **String** | driver is the name of the Flexvolume driver. | + + diff --git a/kubernetes/docs/PolicyV1beta1AllowedHostPath.md b/kubernetes/docs/PolicyV1beta1AllowedHostPath.md new file mode 100644 index 00000000..390fcc00 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1AllowedHostPath.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1AllowedHostPath + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path_prefix** | **String** | pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] +**read_only** | **BOOLEAN** | when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. | [optional] + + diff --git a/kubernetes/docs/PolicyV1beta1Api.md b/kubernetes/docs/PolicyV1beta1Api.md index 6da7ba8c..9082ef7d 100644 --- a/kubernetes/docs/PolicyV1beta1Api.md +++ b/kubernetes/docs/PolicyV1beta1Api.md @@ -5,17 +5,24 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#create_namespaced_pod_disruption_budget) | **POST** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | +[**create_pod_security_policy**](PolicyV1beta1Api.md#create_pod_security_policy) | **POST** /apis/policy/v1beta1/podsecuritypolicies | [**delete_collection_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#delete_collection_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | +[**delete_collection_pod_security_policy**](PolicyV1beta1Api.md#delete_collection_pod_security_policy) | **DELETE** /apis/policy/v1beta1/podsecuritypolicies | [**delete_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#delete_namespaced_pod_disruption_budget) | **DELETE** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | +[**delete_pod_security_policy**](PolicyV1beta1Api.md#delete_pod_security_policy) | **DELETE** /apis/policy/v1beta1/podsecuritypolicies/{name} | [**get_api_resources**](PolicyV1beta1Api.md#get_api_resources) | **GET** /apis/policy/v1beta1/ | [**list_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#list_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets | [**list_pod_disruption_budget_for_all_namespaces**](PolicyV1beta1Api.md#list_pod_disruption_budget_for_all_namespaces) | **GET** /apis/policy/v1beta1/poddisruptionbudgets | +[**list_pod_security_policy**](PolicyV1beta1Api.md#list_pod_security_policy) | **GET** /apis/policy/v1beta1/podsecuritypolicies | [**patch_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | [**patch_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#patch_namespaced_pod_disruption_budget_status) | **PATCH** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +[**patch_pod_security_policy**](PolicyV1beta1Api.md#patch_pod_security_policy) | **PATCH** /apis/policy/v1beta1/podsecuritypolicies/{name} | [**read_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | [**read_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#read_namespaced_pod_disruption_budget_status) | **GET** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +[**read_pod_security_policy**](PolicyV1beta1Api.md#read_pod_security_policy) | **GET** /apis/policy/v1beta1/podsecuritypolicies/{name} | [**replace_namespaced_pod_disruption_budget**](PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name} | [**replace_namespaced_pod_disruption_budget_status**](PolicyV1beta1Api.md#replace_namespaced_pod_disruption_budget_status) | **PUT** /apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status | +[**replace_pod_security_policy**](PolicyV1beta1Api.md#replace_pod_security_policy) | **PUT** /apis/policy/v1beta1/podsecuritypolicies/{name} | # **create_namespaced_pod_disruption_budget** @@ -44,7 +51,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1PodDisruptionBudget.new # V1beta1PodDisruptionBudget | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -61,7 +70,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -78,6 +89,67 @@ Name | Type | Description | Notes +# **create_pod_security_policy** +> PolicyV1beta1PodSecurityPolicy create_pod_security_policy(body, opts) + + + +create a PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +body = Kubernetes::PolicyV1beta1PodSecurityPolicy.new # PolicyV1beta1PodSecurityPolicy | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_pod_security_policy(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->create_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **delete_collection_namespaced_pod_disruption_budget** > V1Status delete_collection_namespaced_pod_disruption_budget(namespace, opts) @@ -102,14 +174,14 @@ api_instance = Kubernetes::PolicyV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -126,14 +198,84 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_pod_security_policy** +> V1Status delete_collection_pod_security_policy(opts) + + + +delete collection of PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_pod_security_policy(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->delete_collection_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -152,7 +294,7 @@ Name | Type | Description | Notes # **delete_namespaced_pod_disruption_budget** -> V1Status delete_namespaced_pod_disruption_budget(name, namespace, body, opts) +> V1Status delete_namespaced_pod_disruption_budget(name, namespace, , opts) @@ -176,17 +318,17 @@ name = "name_example" # String | name of the PodDisruptionBudget namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, body, opts) + result = api_instance.delete_namespaced_pod_disruption_budget(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling PolicyV1beta1Api->delete_namespaced_pod_disruption_budget: #{e}" @@ -199,11 +341,79 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PodDisruptionBudget | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_pod_security_policy** +> V1Status delete_pod_security_policy(name, , opts) + + + +delete a PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +name = "name_example" # String | name of the PodSecurityPolicy + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_pod_security_policy(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->delete_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PodSecurityPolicy | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -291,14 +501,14 @@ api_instance = Kubernetes::PolicyV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -315,14 +525,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -362,14 +572,14 @@ end api_instance = Kubernetes::PolicyV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -385,14 +595,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -410,6 +620,76 @@ Name | Type | Description | Notes +# **list_pod_security_policy** +> PolicyV1beta1PodSecurityPolicyList list_pod_security_policy(opts) + + + +list or watch objects of kind PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_pod_security_policy(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->list_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**PolicyV1beta1PodSecurityPolicyList**](PolicyV1beta1PodSecurityPolicyList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + # **patch_namespaced_pod_disruption_budget** > V1beta1PodDisruptionBudget patch_namespaced_pod_disruption_budget(name, namespace, body, opts) @@ -438,7 +718,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -457,6 +738,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -501,7 +783,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -520,6 +803,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -536,6 +820,68 @@ Name | Type | Description | Notes +# **patch_pod_security_policy** +> PolicyV1beta1PodSecurityPolicy patch_pod_security_policy(name, body, opts) + + + +partially update the specified PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +name = "name_example" # String | name of the PodSecurityPolicy + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_pod_security_policy(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->patch_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PodSecurityPolicy | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **read_namespaced_pod_disruption_budget** > V1beta1PodDisruptionBudget read_namespaced_pod_disruption_budget(name, namespace, , opts) @@ -562,7 +908,7 @@ name = "name_example" # String | name of the PodDisruptionBudget namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -626,7 +972,7 @@ name = "name_example" # String | name of the PodDisruptionBudget namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -660,6 +1006,67 @@ Name | Type | Description | Notes +# **read_pod_security_policy** +> PolicyV1beta1PodSecurityPolicy read_pod_security_policy(name, , opts) + + + +read the specified PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +name = "name_example" # String | name of the PodSecurityPolicy + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_pod_security_policy(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->read_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PodSecurityPolicy | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **replace_namespaced_pod_disruption_budget** > V1beta1PodDisruptionBudget replace_namespaced_pod_disruption_budget(name, namespace, body, opts) @@ -688,7 +1095,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1PodDisruptionBudget.new # V1beta1PodDisruptionBudget | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -707,6 +1115,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -751,7 +1160,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1PodDisruptionBudget.new # V1beta1PodDisruptionBudget | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -770,6 +1180,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1PodDisruptionBudget**](V1beta1PodDisruptionBudget.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -786,3 +1197,65 @@ Name | Type | Description | Notes +# **replace_pod_security_policy** +> PolicyV1beta1PodSecurityPolicy replace_pod_security_policy(name, body, opts) + + + +replace the specified PodSecurityPolicy + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::PolicyV1beta1Api.new + +name = "name_example" # String | name of the PodSecurityPolicy + +body = Kubernetes::PolicyV1beta1PodSecurityPolicy.new # PolicyV1beta1PodSecurityPolicy | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_pod_security_policy(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling PolicyV1beta1Api->replace_pod_security_policy: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PodSecurityPolicy | + **body** | [**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**PolicyV1beta1PodSecurityPolicy**](PolicyV1beta1PodSecurityPolicy.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md b/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md new file mode 100644 index 00000000..4a9419f6 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1FSGroupStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1FSGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<PolicyV1beta1IDRange>**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] + + diff --git a/kubernetes/docs/PolicyV1beta1HostPortRange.md b/kubernetes/docs/PolicyV1beta1HostPortRange.md new file mode 100644 index 00000000..1971085d --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1HostPortRange.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1HostPortRange + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max** | **Integer** | max is the end of the range, inclusive. | +**min** | **Integer** | min is the start of the range, inclusive. | + + diff --git a/kubernetes/docs/V1beta1HostPortRange.md b/kubernetes/docs/PolicyV1beta1IDRange.md similarity index 87% rename from kubernetes/docs/V1beta1HostPortRange.md rename to kubernetes/docs/PolicyV1beta1IDRange.md index 23b1ae6c..a825a7e2 100644 --- a/kubernetes/docs/V1beta1HostPortRange.md +++ b/kubernetes/docs/PolicyV1beta1IDRange.md @@ -1,4 +1,4 @@ -# Kubernetes::V1beta1HostPortRange +# Kubernetes::PolicyV1beta1IDRange ## Properties Name | Type | Description | Notes diff --git a/kubernetes/docs/V1beta1PodSecurityPolicy.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicy.md similarity index 83% rename from kubernetes/docs/V1beta1PodSecurityPolicy.md rename to kubernetes/docs/PolicyV1beta1PodSecurityPolicy.md index 27675047..8248a308 100644 --- a/kubernetes/docs/V1beta1PodSecurityPolicy.md +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicy.md @@ -1,4 +1,4 @@ -# Kubernetes::V1beta1PodSecurityPolicy +# Kubernetes::PolicyV1beta1PodSecurityPolicy ## Properties Name | Type | Description | Notes @@ -6,6 +6,6 @@ Name | Type | Description | Notes **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] -**spec** | [**V1beta1PodSecurityPolicySpec**](V1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [optional] +**spec** | [**PolicyV1beta1PodSecurityPolicySpec**](PolicyV1beta1PodSecurityPolicySpec.md) | spec defines the policy enforced. | [optional] diff --git a/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md new file mode 100644 index 00000000..ecc5817e --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicyList.md @@ -0,0 +1,11 @@ +# Kubernetes::PolicyV1beta1PodSecurityPolicyList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<PolicyV1beta1PodSecurityPolicy>**](PolicyV1beta1PodSecurityPolicy.md) | items is a list of schema objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md new file mode 100644 index 00000000..44fa8d78 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1PodSecurityPolicySpec.md @@ -0,0 +1,29 @@ +# Kubernetes::PolicyV1beta1PodSecurityPolicySpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allow_privilege_escalation** | **BOOLEAN** | allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] +**allowed_capabilities** | **Array<String>** | allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. | [optional] +**allowed_flex_volumes** | [**Array<PolicyV1beta1AllowedFlexVolume>**](PolicyV1beta1AllowedFlexVolume.md) | allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. | [optional] +**allowed_host_paths** | [**Array<PolicyV1beta1AllowedHostPath>**](PolicyV1beta1AllowedHostPath.md) | allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] +**allowed_proc_mount_types** | **Array<String>** | AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. | [optional] +**allowed_unsafe_sysctls** | **Array<String>** | allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. | [optional] +**default_add_capabilities** | **Array<String>** | defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. | [optional] +**default_allow_privilege_escalation** | **BOOLEAN** | defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] +**forbidden_sysctls** | **Array<String>** | forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. | [optional] +**fs_group** | [**PolicyV1beta1FSGroupStrategyOptions**](PolicyV1beta1FSGroupStrategyOptions.md) | fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. | +**host_ipc** | **BOOLEAN** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] +**host_network** | **BOOLEAN** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] +**host_pid** | **BOOLEAN** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] +**host_ports** | [**Array<PolicyV1beta1HostPortRange>**](PolicyV1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] +**privileged** | **BOOLEAN** | privileged determines if a pod can request to be run as privileged. | [optional] +**read_only_root_filesystem** | **BOOLEAN** | readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] +**required_drop_capabilities** | **Array<String>** | requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] +**run_as_group** | [**PolicyV1beta1RunAsGroupStrategyOptions**](PolicyV1beta1RunAsGroupStrategyOptions.md) | RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. | [optional] +**run_as_user** | [**PolicyV1beta1RunAsUserStrategyOptions**](PolicyV1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | +**se_linux** | [**PolicyV1beta1SELinuxStrategyOptions**](PolicyV1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | +**supplemental_groups** | [**PolicyV1beta1SupplementalGroupsStrategyOptions**](PolicyV1beta1SupplementalGroupsStrategyOptions.md) | supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | +**volumes** | **Array<String>** | volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. | [optional] + + diff --git a/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md b/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md new file mode 100644 index 00000000..6f65061d --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1RunAsGroupStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<PolicyV1beta1IDRange>**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate the allowable RunAsGroup values that may be set. | + + diff --git a/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md new file mode 100644 index 00000000..5017c030 --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1RunAsUserStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1RunAsUserStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<PolicyV1beta1IDRange>**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate the allowable RunAsUser values that may be set. | + + diff --git a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md b/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md similarity index 56% rename from kubernetes/docs/V1beta1SELinuxStrategyOptions.md rename to kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md index 19a5cc22..6d9d6088 100644 --- a/kubernetes/docs/V1beta1SELinuxStrategyOptions.md +++ b/kubernetes/docs/PolicyV1beta1SELinuxStrategyOptions.md @@ -1,9 +1,9 @@ -# Kubernetes::V1beta1SELinuxStrategyOptions +# Kubernetes::PolicyV1beta1SELinuxStrategyOptions ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rule** | **String** | type is the strategy that will dictate the allowable labels that may be set. | -**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md | [optional] +**rule** | **String** | rule is the strategy that will dictate the allowable labels that may be set. | +**se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] diff --git a/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md new file mode 100644 index 00000000..65018cac --- /dev/null +++ b/kubernetes/docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md @@ -0,0 +1,9 @@ +# Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ranges** | [**Array<PolicyV1beta1IDRange>**](PolicyV1beta1IDRange.md) | ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. | [optional] +**rule** | **String** | rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] + + diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md index 57869d09..e983e943 100644 --- a/kubernetes/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1Api.md @@ -61,7 +61,9 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new body = Kubernetes::V1ClusterRole.new # V1ClusterRole | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -77,7 +79,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1ClusterRole**](V1ClusterRole.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -118,7 +122,9 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new body = Kubernetes::V1ClusterRoleBinding.new # V1ClusterRoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -134,7 +140,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -177,7 +185,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Role.new # V1Role | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -194,7 +204,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Role**](V1Role.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -237,7 +249,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1RoleBinding.new # V1RoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -254,7 +268,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1RoleBinding**](V1RoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -272,7 +288,7 @@ Name | Type | Description | Notes # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, opts) +> V1Status delete_cluster_role(name, , opts) @@ -294,17 +310,17 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new name = "name_example" # String | name of the ClusterRole -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role(name, body, opts) + result = api_instance.delete_cluster_role(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1Api->delete_cluster_role: #{e}" @@ -316,11 +332,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -338,7 +355,7 @@ Name | Type | Description | Notes # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, opts) +> V1Status delete_cluster_role_binding(name, , opts) @@ -360,17 +377,17 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new name = "name_example" # String | name of the ClusterRoleBinding -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role_binding(name, body, opts) + result = api_instance.delete_cluster_role_binding(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1Api->delete_cluster_role_binding: #{e}" @@ -382,11 +399,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -425,14 +443,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -448,14 +466,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -495,14 +513,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -518,14 +536,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -567,14 +585,14 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -591,14 +609,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -640,14 +658,14 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -664,14 +682,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -690,7 +708,7 @@ Name | Type | Description | Notes # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, opts) +> V1Status delete_namespaced_role(name, namespace, , opts) @@ -714,17 +732,17 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role(name, namespace, body, opts) + result = api_instance.delete_namespaced_role(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1Api->delete_namespaced_role: #{e}" @@ -737,11 +755,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Role | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -759,7 +778,7 @@ Name | Type | Description | Notes # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, opts) +> V1Status delete_namespaced_role_binding(name, namespace, , opts) @@ -783,17 +802,17 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role_binding(name, namespace, body, opts) + result = api_instance.delete_namespaced_role_binding(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1Api->delete_namespaced_role_binding: #{e}" @@ -806,11 +825,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the RoleBinding | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -896,14 +916,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -919,14 +939,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -966,14 +986,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -989,14 +1009,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1038,14 +1058,14 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1062,14 +1082,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1111,14 +1131,14 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1135,14 +1155,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1182,14 +1202,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1205,14 +1225,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1252,14 +1272,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1275,14 +1295,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1326,7 +1346,8 @@ name = "name_example" # String | name of the ClusterRole body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1344,6 +1365,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1386,7 +1408,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1404,6 +1427,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1448,7 +1472,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1467,6 +1492,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1511,7 +1537,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1530,6 +1557,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1570,7 +1598,7 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new name = "name_example" # String | name of the ClusterRole opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1627,7 +1655,7 @@ api_instance = Kubernetes::RbacAuthorizationV1Api.new name = "name_example" # String | name of the ClusterRoleBinding opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1686,7 +1714,7 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1746,7 +1774,7 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1806,7 +1834,8 @@ name = "name_example" # String | name of the ClusterRole body = Kubernetes::V1ClusterRole.new # V1ClusterRole | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1824,6 +1853,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | [**V1ClusterRole**](V1ClusterRole.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1866,7 +1896,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = Kubernetes::V1ClusterRoleBinding.new # V1ClusterRoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1884,6 +1915,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | [**V1ClusterRoleBinding**](V1ClusterRoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1928,7 +1960,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1Role.new # V1Role | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1947,6 +1980,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1Role**](V1Role.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1991,7 +2025,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1RoleBinding.new # V1RoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2010,6 +2045,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1RoleBinding**](V1RoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md index d25caaed..9871ddcf 100644 --- a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md @@ -61,7 +61,9 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new body = Kubernetes::V1alpha1ClusterRole.new # V1alpha1ClusterRole | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -77,7 +79,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -118,7 +122,9 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new body = Kubernetes::V1alpha1ClusterRoleBinding.new # V1alpha1ClusterRoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -134,7 +140,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -177,7 +185,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1Role.new # V1alpha1Role | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -194,7 +204,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1Role**](V1alpha1Role.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -237,7 +249,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1RoleBinding.new # V1alpha1RoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -254,7 +268,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -272,7 +288,7 @@ Name | Type | Description | Notes # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, opts) +> V1Status delete_cluster_role(name, , opts) @@ -294,17 +310,17 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new name = "name_example" # String | name of the ClusterRole -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role(name, body, opts) + result = api_instance.delete_cluster_role(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1alpha1Api->delete_cluster_role: #{e}" @@ -316,11 +332,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -338,7 +355,7 @@ Name | Type | Description | Notes # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, opts) +> V1Status delete_cluster_role_binding(name, , opts) @@ -360,17 +377,17 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new name = "name_example" # String | name of the ClusterRoleBinding -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role_binding(name, body, opts) + result = api_instance.delete_cluster_role_binding(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1alpha1Api->delete_cluster_role_binding: #{e}" @@ -382,11 +399,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -425,14 +443,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -448,14 +466,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -495,14 +513,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -518,14 +536,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -567,14 +585,14 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -591,14 +609,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -640,14 +658,14 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -664,14 +682,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -690,7 +708,7 @@ Name | Type | Description | Notes # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, opts) +> V1Status delete_namespaced_role(name, namespace, , opts) @@ -714,17 +732,17 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role(name, namespace, body, opts) + result = api_instance.delete_namespaced_role(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1alpha1Api->delete_namespaced_role: #{e}" @@ -737,11 +755,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Role | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -759,7 +778,7 @@ Name | Type | Description | Notes # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, opts) +> V1Status delete_namespaced_role_binding(name, namespace, , opts) @@ -783,17 +802,17 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role_binding(name, namespace, body, opts) + result = api_instance.delete_namespaced_role_binding(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1alpha1Api->delete_namespaced_role_binding: #{e}" @@ -806,11 +825,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the RoleBinding | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -896,14 +916,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -919,14 +939,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -966,14 +986,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -989,14 +1009,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1038,14 +1058,14 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1062,14 +1082,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1111,14 +1131,14 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1135,14 +1155,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1182,14 +1202,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1205,14 +1225,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1252,14 +1272,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1275,14 +1295,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1326,7 +1346,8 @@ name = "name_example" # String | name of the ClusterRole body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1344,6 +1365,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1386,7 +1408,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1404,6 +1427,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1448,7 +1472,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1467,6 +1492,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1511,7 +1537,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1530,6 +1557,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1570,7 +1598,7 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new name = "name_example" # String | name of the ClusterRole opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1627,7 +1655,7 @@ api_instance = Kubernetes::RbacAuthorizationV1alpha1Api.new name = "name_example" # String | name of the ClusterRoleBinding opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1686,7 +1714,7 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1746,7 +1774,7 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1806,7 +1834,8 @@ name = "name_example" # String | name of the ClusterRole body = Kubernetes::V1alpha1ClusterRole.new # V1alpha1ClusterRole | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1824,6 +1853,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | [**V1alpha1ClusterRole**](V1alpha1ClusterRole.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1866,7 +1896,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = Kubernetes::V1alpha1ClusterRoleBinding.new # V1alpha1ClusterRoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1884,6 +1915,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | [**V1alpha1ClusterRoleBinding**](V1alpha1ClusterRoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1928,7 +1960,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1Role.new # V1alpha1Role | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1947,6 +1980,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1Role**](V1alpha1Role.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1991,7 +2025,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1RoleBinding.new # V1alpha1RoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2010,6 +2045,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1RoleBinding**](V1alpha1RoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/RbacAuthorizationV1beta1Api.md b/kubernetes/docs/RbacAuthorizationV1beta1Api.md index 1bb66584..e4a40f2e 100644 --- a/kubernetes/docs/RbacAuthorizationV1beta1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1beta1Api.md @@ -61,7 +61,9 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new body = Kubernetes::V1beta1ClusterRole.new # V1beta1ClusterRole | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -77,7 +79,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1ClusterRole**](V1beta1ClusterRole.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -118,7 +122,9 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new body = Kubernetes::V1beta1ClusterRoleBinding.new # V1beta1ClusterRoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -134,7 +140,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -177,7 +185,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Role.new # V1beta1Role | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -194,7 +204,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Role**](V1beta1Role.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -237,7 +249,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1RoleBinding.new # V1beta1RoleBinding | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -254,7 +268,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1RoleBinding**](V1beta1RoleBinding.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -272,7 +288,7 @@ Name | Type | Description | Notes # **delete_cluster_role** -> V1Status delete_cluster_role(name, body, opts) +> V1Status delete_cluster_role(name, , opts) @@ -294,17 +310,17 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new name = "name_example" # String | name of the ClusterRole -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role(name, body, opts) + result = api_instance.delete_cluster_role(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1beta1Api->delete_cluster_role: #{e}" @@ -316,11 +332,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRole | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -338,7 +355,7 @@ Name | Type | Description | Notes # **delete_cluster_role_binding** -> V1Status delete_cluster_role_binding(name, body, opts) +> V1Status delete_cluster_role_binding(name, , opts) @@ -360,17 +377,17 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new name = "name_example" # String | name of the ClusterRoleBinding -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_cluster_role_binding(name, body, opts) + result = api_instance.delete_cluster_role_binding(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1beta1Api->delete_cluster_role_binding: #{e}" @@ -382,11 +399,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the ClusterRoleBinding | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -425,14 +443,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -448,14 +466,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -495,14 +513,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -518,14 +536,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -567,14 +585,14 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -591,14 +609,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -640,14 +658,14 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -664,14 +682,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -690,7 +708,7 @@ Name | Type | Description | Notes # **delete_namespaced_role** -> V1Status delete_namespaced_role(name, namespace, body, opts) +> V1Status delete_namespaced_role(name, namespace, , opts) @@ -714,17 +732,17 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role(name, namespace, body, opts) + result = api_instance.delete_namespaced_role(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1beta1Api->delete_namespaced_role: #{e}" @@ -737,11 +755,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the Role | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -759,7 +778,7 @@ Name | Type | Description | Notes # **delete_namespaced_role_binding** -> V1Status delete_namespaced_role_binding(name, namespace, body, opts) +> V1Status delete_namespaced_role_binding(name, namespace, , opts) @@ -783,17 +802,17 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_role_binding(name, namespace, body, opts) + result = api_instance.delete_namespaced_role_binding(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling RbacAuthorizationV1beta1Api->delete_namespaced_role_binding: #{e}" @@ -806,11 +825,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the RoleBinding | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -896,14 +916,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -919,14 +939,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -966,14 +986,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -989,14 +1009,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1038,14 +1058,14 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1062,14 +1082,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1111,14 +1131,14 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1135,14 +1155,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1182,14 +1202,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1205,14 +1225,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1252,14 +1272,14 @@ end api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -1275,14 +1295,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -1326,7 +1346,8 @@ name = "name_example" # String | name of the ClusterRole body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1344,6 +1365,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1386,7 +1408,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1404,6 +1427,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1448,7 +1472,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1467,6 +1492,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1511,7 +1537,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1530,6 +1557,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1570,7 +1598,7 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new name = "name_example" # String | name of the ClusterRole opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1627,7 +1655,7 @@ api_instance = Kubernetes::RbacAuthorizationV1beta1Api.new name = "name_example" # String | name of the ClusterRoleBinding opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1686,7 +1714,7 @@ name = "name_example" # String | name of the Role namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1746,7 +1774,7 @@ name = "name_example" # String | name of the RoleBinding namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. } begin @@ -1806,7 +1834,8 @@ name = "name_example" # String | name of the ClusterRole body = Kubernetes::V1beta1ClusterRole.new # V1beta1ClusterRole | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1824,6 +1853,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRole | **body** | [**V1beta1ClusterRole**](V1beta1ClusterRole.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1866,7 +1896,8 @@ name = "name_example" # String | name of the ClusterRoleBinding body = Kubernetes::V1beta1ClusterRoleBinding.new # V1beta1ClusterRoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1884,6 +1915,7 @@ Name | Type | Description | Notes **name** | **String**| name of the ClusterRoleBinding | **body** | [**V1beta1ClusterRoleBinding**](V1beta1ClusterRoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1928,7 +1960,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1Role.new # V1beta1Role | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -1947,6 +1980,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1Role**](V1beta1Role.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -1991,7 +2025,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1beta1RoleBinding.new # V1beta1RoleBinding | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -2010,6 +2045,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1beta1RoleBinding**](V1beta1RoleBinding.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/SchedulingV1alpha1Api.md b/kubernetes/docs/SchedulingV1alpha1Api.md index aaaa0280..befaacc4 100644 --- a/kubernetes/docs/SchedulingV1alpha1Api.md +++ b/kubernetes/docs/SchedulingV1alpha1Api.md @@ -38,7 +38,9 @@ api_instance = Kubernetes::SchedulingV1alpha1Api.new body = Kubernetes::V1alpha1PriorityClass.new # V1alpha1PriorityClass | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -54,7 +56,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1alpha1PriorityClass**](V1alpha1PriorityClass.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -93,14 +97,14 @@ end api_instance = Kubernetes::SchedulingV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -116,14 +120,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -142,7 +146,7 @@ Name | Type | Description | Notes # **delete_priority_class** -> V1Status delete_priority_class(name, body, opts) +> V1Status delete_priority_class(name, , opts) @@ -164,17 +168,17 @@ api_instance = Kubernetes::SchedulingV1alpha1Api.new name = "name_example" # String | name of the PriorityClass -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_priority_class(name, body, opts) + result = api_instance.delete_priority_class(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling SchedulingV1alpha1Api->delete_priority_class: #{e}" @@ -186,11 +190,12 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PriorityClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -276,14 +281,14 @@ end api_instance = Kubernetes::SchedulingV1alpha1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -299,14 +304,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -350,7 +355,8 @@ name = "name_example" # String | name of the PriorityClass body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -368,6 +374,7 @@ Name | Type | Description | Notes **name** | **String**| name of the PriorityClass | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -408,7 +415,7 @@ api_instance = Kubernetes::SchedulingV1alpha1Api.new name = "name_example" # String | name of the PriorityClass opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -471,7 +478,8 @@ name = "name_example" # String | name of the PriorityClass body = Kubernetes::V1alpha1PriorityClass.new # V1alpha1PriorityClass | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -489,6 +497,7 @@ Name | Type | Description | Notes **name** | **String**| name of the PriorityClass | **body** | [**V1alpha1PriorityClass**](V1alpha1PriorityClass.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/SchedulingV1beta1Api.md b/kubernetes/docs/SchedulingV1beta1Api.md new file mode 100644 index 00000000..6e325431 --- /dev/null +++ b/kubernetes/docs/SchedulingV1beta1Api.md @@ -0,0 +1,516 @@ +# Kubernetes::SchedulingV1beta1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_priority_class**](SchedulingV1beta1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**delete_collection_priority_class**](SchedulingV1beta1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**delete_priority_class**](SchedulingV1beta1Api.md#delete_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**get_api_resources**](SchedulingV1beta1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1beta1/ | +[**list_priority_class**](SchedulingV1beta1Api.md#list_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses | +[**patch_priority_class**](SchedulingV1beta1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**read_priority_class**](SchedulingV1beta1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | +[**replace_priority_class**](SchedulingV1beta1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1beta1/priorityclasses/{name} | + + +# **create_priority_class** +> V1beta1PriorityClass create_priority_class(body, opts) + + + +create a PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +body = Kubernetes::V1beta1PriorityClass.new # V1beta1PriorityClass | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_priority_class(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->create_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1PriorityClass**](V1beta1PriorityClass.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_priority_class** +> V1Status delete_collection_priority_class(opts) + + + +delete collection of PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_priority_class(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->delete_collection_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_priority_class** +> V1Status delete_priority_class(name, , opts) + + + +delete a PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +name = "name_example" # String | name of the PriorityClass + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_priority_class(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->delete_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_priority_class** +> V1beta1PriorityClassList list_priority_class(opts) + + + +list or watch objects of kind PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_priority_class(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->list_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1PriorityClassList**](V1beta1PriorityClassList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_priority_class** +> V1beta1PriorityClass patch_priority_class(name, body, opts) + + + +partially update the specified PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +name = "name_example" # String | name of the PriorityClass + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_priority_class(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->patch_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_priority_class** +> V1beta1PriorityClass read_priority_class(name, , opts) + + + +read the specified PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +name = "name_example" # String | name of the PriorityClass + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_priority_class(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->read_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_priority_class** +> V1beta1PriorityClass replace_priority_class(name, body, opts) + + + +replace the specified PriorityClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::SchedulingV1beta1Api.new + +name = "name_example" # String | name of the PriorityClass + +body = Kubernetes::V1beta1PriorityClass.new # V1beta1PriorityClass | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_priority_class(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling SchedulingV1beta1Api->replace_priority_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the PriorityClass | + **body** | [**V1beta1PriorityClass**](V1beta1PriorityClass.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1PriorityClass**](V1beta1PriorityClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/SettingsV1alpha1Api.md b/kubernetes/docs/SettingsV1alpha1Api.md index e633b12b..c4fafc05 100644 --- a/kubernetes/docs/SettingsV1alpha1Api.md +++ b/kubernetes/docs/SettingsV1alpha1Api.md @@ -41,7 +41,9 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1PodPreset.new # V1alpha1PodPreset | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -58,7 +60,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1PodPreset**](V1alpha1PodPreset.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -99,14 +103,14 @@ api_instance = Kubernetes::SettingsV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -123,14 +127,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -149,7 +153,7 @@ Name | Type | Description | Notes # **delete_namespaced_pod_preset** -> V1Status delete_namespaced_pod_preset(name, namespace, body, opts) +> V1Status delete_namespaced_pod_preset(name, namespace, , opts) @@ -173,17 +177,17 @@ name = "name_example" # String | name of the PodPreset namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_namespaced_pod_preset(name, namespace, body, opts) + result = api_instance.delete_namespaced_pod_preset(name, namespace, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling SettingsV1alpha1Api->delete_namespaced_pod_preset: #{e}" @@ -196,11 +200,12 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the PodPreset | **namespace** | **String**| object name and auth scope, such as for teams and projects | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -288,14 +293,14 @@ api_instance = Kubernetes::SettingsV1alpha1Api.new namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -312,14 +317,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **String**| object name and auth scope, such as for teams and projects | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -359,14 +364,14 @@ end api_instance = Kubernetes::SettingsV1alpha1Api.new opts = { - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -382,14 +387,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -435,7 +440,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -454,6 +460,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -496,7 +503,7 @@ name = "name_example" # String | name of the PodPreset namespace = "namespace_example" # String | object name and auth scope, such as for teams and projects opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -562,7 +569,8 @@ namespace = "namespace_example" # String | object name and auth scope, such as f body = Kubernetes::V1alpha1PodPreset.new # V1alpha1PodPreset | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -581,6 +589,7 @@ Name | Type | Description | Notes **namespace** | **String**| object name and auth scope, such as for teams and projects | **body** | [**V1alpha1PodPreset**](V1alpha1PodPreset.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index 1ee0f299..6067ae70 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -5,13 +5,23 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_storage_class**](StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | +[**create_volume_attachment**](StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | [**delete_collection_storage_class**](StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | +[**delete_collection_volume_attachment**](StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | [**delete_storage_class**](StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**delete_volume_attachment**](StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | [**get_api_resources**](StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | [**list_storage_class**](StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | +[**list_volume_attachment**](StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | [**patch_storage_class**](StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**patch_volume_attachment**](StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**patch_volume_attachment_status**](StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | [**read_storage_class**](StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**read_volume_attachment**](StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**read_volume_attachment_status**](StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | [**replace_storage_class**](StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | +[**replace_volume_attachment**](StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | +[**replace_volume_attachment_status**](StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | # **create_storage_class** @@ -38,7 +48,9 @@ api_instance = Kubernetes::StorageV1Api.new body = Kubernetes::V1StorageClass.new # V1StorageClass | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -54,7 +66,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1StorageClass**](V1StorageClass.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -71,6 +85,67 @@ Name | Type | Description | Notes +# **create_volume_attachment** +> V1VolumeAttachment create_volume_attachment(body, opts) + + + +create a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +body = Kubernetes::V1VolumeAttachment.new # V1VolumeAttachment | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_volume_attachment(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->create_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **delete_collection_storage_class** > V1Status delete_collection_storage_class(opts) @@ -93,14 +168,14 @@ end api_instance = Kubernetes::StorageV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -116,14 +191,84 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_volume_attachment** +> V1Status delete_collection_volume_attachment(opts) + + + +delete collection of VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_volume_attachment(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->delete_collection_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -142,7 +287,7 @@ Name | Type | Description | Notes # **delete_storage_class** -> V1Status delete_storage_class(name, body, opts) +> V1Status delete_storage_class(name, , opts) @@ -164,17 +309,17 @@ api_instance = Kubernetes::StorageV1Api.new name = "name_example" # String | name of the StorageClass -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_storage_class(name, body, opts) + result = api_instance.delete_storage_class(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling StorageV1Api->delete_storage_class: #{e}" @@ -186,11 +331,79 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the StorageClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_volume_attachment** +> V1Status delete_volume_attachment(name, , opts) + + + +delete a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->delete_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -276,14 +489,14 @@ end api_instance = Kubernetes::StorageV1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -299,14 +512,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -324,12 +537,12 @@ Name | Type | Description | Notes -# **patch_storage_class** -> V1StorageClass patch_storage_class(name, body, opts) +# **list_volume_attachment** +> V1VolumeAttachmentList list_volume_attachment(opts) -partially update the specified StorageClass +list or watch objects of kind VolumeAttachment ### Example ```ruby @@ -345,19 +558,23 @@ end api_instance = Kubernetes::StorageV1Api.new -name = "name_example" # String | name of the StorageClass - -body = nil # Object | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } begin - result = api_instance.patch_storage_class(name, body, opts) + result = api_instance.list_volume_attachment(opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling StorageV1Api->patch_storage_class: #{e}" + puts "Exception when calling StorageV1Api->list_volume_attachment: #{e}" end ``` @@ -365,13 +582,19 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the StorageClass | - **body** | **Object**| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1VolumeAttachmentList**](V1VolumeAttachmentList.md) ### Authorization @@ -379,17 +602,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch -# **read_storage_class** -> V1StorageClass read_storage_class(name, , opts) +# **patch_storage_class** +> V1StorageClass patch_storage_class(name, body, opts) -read the specified StorageClass +partially update the specified StorageClass ### Example ```ruby @@ -407,17 +630,18 @@ api_instance = Kubernetes::StorageV1Api.new name = "name_example" # String | name of the StorageClass +body = nil # Object | + opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. - exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin - result = api_instance.read_storage_class(name, , opts) + result = api_instance.patch_storage_class(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling StorageV1Api->read_storage_class: #{e}" + puts "Exception when calling StorageV1Api->patch_storage_class: #{e}" end ``` @@ -426,9 +650,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the StorageClass | + **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] - **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -440,17 +664,17 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: */* + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf -# **replace_storage_class** -> V1StorageClass replace_storage_class(name, body, opts) +# **patch_volume_attachment** +> V1VolumeAttachment patch_volume_attachment(name, body, opts) -replace the specified StorageClass +partially update the specified VolumeAttachment ### Example ```ruby @@ -466,19 +690,20 @@ end api_instance = Kubernetes::StorageV1Api.new -name = "name_example" # String | name of the StorageClass +name = "name_example" # String | name of the VolumeAttachment -body = Kubernetes::V1StorageClass.new # V1StorageClass | +body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin - result = api_instance.replace_storage_class(name, body, opts) + result = api_instance.patch_volume_attachment(name, body, opts) p result rescue Kubernetes::ApiError => e - puts "Exception when calling StorageV1Api->replace_storage_class: #{e}" + puts "Exception when calling StorageV1Api->patch_volume_attachment: #{e}" end ``` @@ -486,13 +711,441 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | **String**| name of the StorageClass | - **body** | [**V1StorageClass**](V1StorageClass.md)| | + **name** | **String**| name of the VolumeAttachment | + **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type -[**V1StorageClass**](V1StorageClass.md) +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **patch_volume_attachment_status** +> V1VolumeAttachment patch_volume_attachment_status(name, body, opts) + + + +partially update status of the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_volume_attachment_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->patch_volume_attachment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_storage_class** +> V1StorageClass read_storage_class(name, , opts) + + + +read the specified StorageClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the StorageClass + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_storage_class(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->read_storage_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StorageClass | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1StorageClass**](V1StorageClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_volume_attachment** +> V1VolumeAttachment read_volume_attachment(name, , opts) + + + +read the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->read_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_volume_attachment_status** +> V1VolumeAttachment read_volume_attachment_status(name, , opts) + + + +read status of the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. +} + +begin + result = api_instance.read_volume_attachment_status(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->read_volume_attachment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_storage_class** +> V1StorageClass replace_storage_class(name, body, opts) + + + +replace the specified StorageClass + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the StorageClass + +body = Kubernetes::V1StorageClass.new # V1StorageClass | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_storage_class(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->replace_storage_class: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the StorageClass | + **body** | [**V1StorageClass**](V1StorageClass.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1StorageClass**](V1StorageClass.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_volume_attachment** +> V1VolumeAttachment replace_volume_attachment(name, body, opts) + + + +replace the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = Kubernetes::V1VolumeAttachment.new # V1VolumeAttachment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_volume_attachment(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->replace_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_volume_attachment_status** +> V1VolumeAttachment replace_volume_attachment_status(name, body, opts) + + + +replace status of the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = Kubernetes::V1VolumeAttachment.new # V1VolumeAttachment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_volume_attachment_status(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1Api->replace_volume_attachment_status: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | [**V1VolumeAttachment**](V1VolumeAttachment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1VolumeAttachment**](V1VolumeAttachment.md) ### Authorization diff --git a/kubernetes/docs/StorageV1alpha1Api.md b/kubernetes/docs/StorageV1alpha1Api.md new file mode 100644 index 00000000..3258190f --- /dev/null +++ b/kubernetes/docs/StorageV1alpha1Api.md @@ -0,0 +1,516 @@ +# Kubernetes::StorageV1alpha1Api + +All URIs are relative to *https://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_volume_attachment**](StorageV1alpha1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattachments | +[**delete_collection_volume_attachment**](StorageV1alpha1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments | +[**delete_volume_attachment**](StorageV1alpha1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +[**get_api_resources**](StorageV1alpha1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1alpha1/ | +[**list_volume_attachment**](StorageV1alpha1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments | +[**patch_volume_attachment**](StorageV1alpha1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +[**read_volume_attachment**](StorageV1alpha1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | +[**replace_volume_attachment**](StorageV1alpha1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | + + +# **create_volume_attachment** +> V1alpha1VolumeAttachment create_volume_attachment(body, opts) + + + +create a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +body = Kubernetes::V1alpha1VolumeAttachment.new # V1alpha1VolumeAttachment | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_volume_attachment(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->create_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_volume_attachment** +> V1Status delete_collection_volume_attachment(opts) + + + +delete collection of VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_volume_attachment(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->delete_collection_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_volume_attachment** +> V1Status delete_volume_attachment(name, , opts) + + + +delete a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->delete_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **get_api_resources** +> V1APIResourceList get_api_resources + + + +get available resources + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +begin + result = api_instance.get_api_resources + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->get_api_resources: #{e}" +end +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json, application/yaml, application/vnd.kubernetes.protobuf + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **list_volume_attachment** +> V1alpha1VolumeAttachmentList list_volume_attachment(opts) + + + +list or watch objects of kind VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_volume_attachment(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->list_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1VolumeAttachmentList**](V1alpha1VolumeAttachmentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + +# **patch_volume_attachment** +> V1alpha1VolumeAttachment patch_volume_attachment(name, body, opts) + + + +partially update the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_volume_attachment(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->patch_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **read_volume_attachment** +> V1alpha1VolumeAttachment read_volume_attachment(name, , opts) + + + +read the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->read_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **replace_volume_attachment** +> V1alpha1VolumeAttachment replace_volume_attachment(name, body, opts) + + + +replace the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1alpha1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = Kubernetes::V1alpha1VolumeAttachment.new # V1alpha1VolumeAttachment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_volume_attachment(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1alpha1Api->replace_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | [**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1alpha1VolumeAttachment**](V1alpha1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/StorageV1beta1Api.md b/kubernetes/docs/StorageV1beta1Api.md index a1fcadbf..72178105 100644 --- a/kubernetes/docs/StorageV1beta1Api.md +++ b/kubernetes/docs/StorageV1beta1Api.md @@ -5,13 +5,20 @@ All URIs are relative to *https://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_storage_class**](StorageV1beta1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1beta1/storageclasses | +[**create_volume_attachment**](StorageV1beta1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1beta1/volumeattachments | [**delete_collection_storage_class**](StorageV1beta1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses | +[**delete_collection_volume_attachment**](StorageV1beta1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattachments | [**delete_storage_class**](StorageV1beta1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +[**delete_volume_attachment**](StorageV1beta1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | [**get_api_resources**](StorageV1beta1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1beta1/ | [**list_storage_class**](StorageV1beta1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses | +[**list_volume_attachment**](StorageV1beta1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1beta1/volumeattachments | [**patch_storage_class**](StorageV1beta1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +[**patch_volume_attachment**](StorageV1beta1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | [**read_storage_class**](StorageV1beta1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +[**read_volume_attachment**](StorageV1beta1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | [**replace_storage_class**](StorageV1beta1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1beta1/storageclasses/{name} | +[**replace_volume_attachment**](StorageV1beta1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1beta1/volumeattachments/{name} | # **create_storage_class** @@ -38,7 +45,9 @@ api_instance = Kubernetes::StorageV1beta1Api.new body = Kubernetes::V1beta1StorageClass.new # V1beta1StorageClass | opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -54,7 +63,9 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -71,6 +82,67 @@ Name | Type | Description | Notes +# **create_volume_attachment** +> V1beta1VolumeAttachment create_volume_attachment(body, opts) + + + +create a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +body = Kubernetes::V1beta1VolumeAttachment.new # V1beta1VolumeAttachment | + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.create_volume_attachment(body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->create_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md)| | + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **delete_collection_storage_class** > V1Status delete_collection_storage_class(opts) @@ -93,14 +165,14 @@ end api_instance = Kubernetes::StorageV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -116,14 +188,84 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_collection_volume_attachment** +> V1Status delete_collection_volume_attachment(opts) + + + +delete collection of VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.delete_collection_volume_attachment(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->delete_collection_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -142,7 +284,7 @@ Name | Type | Description | Notes # **delete_storage_class** -> V1Status delete_storage_class(name, body, opts) +> V1Status delete_storage_class(name, , opts) @@ -164,17 +306,17 @@ api_instance = Kubernetes::StorageV1beta1Api.new name = "name_example" # String | name of the StorageClass -body = Kubernetes::V1DeleteOptions.new # V1DeleteOptions | - opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. } begin - result = api_instance.delete_storage_class(name, body, opts) + result = api_instance.delete_storage_class(name, , opts) p result rescue Kubernetes::ApiError => e puts "Exception when calling StorageV1beta1Api->delete_storage_class: #{e}" @@ -186,11 +328,79 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **String**| name of the StorageClass | - **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] + **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + +# **delete_volume_attachment** +> V1Status delete_volume_attachment(name, , opts) + + + +delete a VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + body: Kubernetes::V1DeleteOptions.new, # V1DeleteOptions | + dry_run: "dry_run_example", # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + grace_period_seconds: 56, # Integer | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + orphan_dependents: true, # BOOLEAN | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + propagation_policy: "propagation_policy_example" # String | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. +} + +begin + result = api_instance.delete_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->delete_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **orphan_dependents** | **BOOLEAN**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] - **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] + **propagation_policy** | **String**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] ### Return type @@ -276,14 +486,14 @@ end api_instance = Kubernetes::StorageV1beta1Api.new opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. pretty: "pretty_example", # String | If 'true', then the output is pretty printed. - continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. - include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - timeout_seconds: 56, # Integer | Timeout for the list/watch call. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. } @@ -299,14 +509,14 @@ end Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] - **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] - **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] - **timeout_seconds** | **Integer**| Timeout for the list/watch call. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] ### Return type @@ -324,6 +534,76 @@ Name | Type | Description | Notes +# **list_volume_attachment** +> V1beta1VolumeAttachmentList list_volume_attachment(opts) + + + +list or watch objects of kind VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +opts = { + include_uninitialized: true, # BOOLEAN | If true, partially initialized resources are included in the response. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + continue: "continue_example", # String | The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + field_selector: "field_selector_example", # String | A selector to restrict the list of returned objects by their fields. Defaults to everything. + label_selector: "label_selector_example", # String | A selector to restrict the list of returned objects by their labels. Defaults to everything. + limit: 56, # Integer | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + resource_version: "resource_version_example", # String | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + timeout_seconds: 56, # Integer | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + watch: true # BOOLEAN | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. +} + +begin + result = api_instance.list_volume_attachment(opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->list_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_uninitialized** | **BOOLEAN**| If true, partially initialized resources are included in the response. | [optional] + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **continue** | **String**| The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **field_selector** | **String**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **String**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **Integer**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. | [optional] + **resource_version** | **String**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. | [optional] + **timeout_seconds** | **Integer**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **BOOLEAN**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1beta1VolumeAttachmentList**](V1beta1VolumeAttachmentList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + + + # **patch_storage_class** > V1beta1StorageClass patch_storage_class(name, body, opts) @@ -350,7 +630,8 @@ name = "name_example" # String | name of the StorageClass body = nil # Object | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -368,6 +649,7 @@ Name | Type | Description | Notes **name** | **String**| name of the StorageClass | **body** | **Object**| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -384,6 +666,68 @@ Name | Type | Description | Notes +# **patch_volume_attachment** +> V1beta1VolumeAttachment patch_volume_attachment(name, body, opts) + + + +partially update the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = nil # Object | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.patch_volume_attachment(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->patch_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | **Object**| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **read_storage_class** > V1beta1StorageClass read_storage_class(name, , opts) @@ -408,7 +752,7 @@ api_instance = Kubernetes::StorageV1beta1Api.new name = "name_example" # String | name of the StorageClass opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. } @@ -445,6 +789,67 @@ Name | Type | Description | Notes +# **read_volume_attachment** +> V1beta1VolumeAttachment read_volume_attachment(name, , opts) + + + +read the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + exact: true, # BOOLEAN | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + export: true # BOOLEAN | Should this value be exported. Export strips fields that a user can not specify. +} + +begin + result = api_instance.read_volume_attachment(name, , opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->read_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **exact** | **BOOLEAN**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. | [optional] + **export** | **BOOLEAN**| Should this value be exported. Export strips fields that a user can not specify. | [optional] + +### Return type + +[**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + # **replace_storage_class** > V1beta1StorageClass replace_storage_class(name, body, opts) @@ -471,7 +876,8 @@ name = "name_example" # String | name of the StorageClass body = Kubernetes::V1beta1StorageClass.new # V1beta1StorageClass | opts = { - pretty: "pretty_example" # String | If 'true', then the output is pretty printed. + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed } begin @@ -489,6 +895,7 @@ Name | Type | Description | Notes **name** | **String**| name of the StorageClass | **body** | [**V1beta1StorageClass**](V1beta1StorageClass.md)| | **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] ### Return type @@ -505,3 +912,65 @@ Name | Type | Description | Notes +# **replace_volume_attachment** +> V1beta1VolumeAttachment replace_volume_attachment(name, body, opts) + + + +replace the specified VolumeAttachment + +### Example +```ruby +# load the gem +require 'kubernetes' +# setup authorization +Kubernetes.configure do |config| + # Configure API key authorization: BearerToken + config.api_key['authorization'] = 'YOUR API KEY' + # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil) + #config.api_key_prefix['authorization'] = 'Bearer' +end + +api_instance = Kubernetes::StorageV1beta1Api.new + +name = "name_example" # String | name of the VolumeAttachment + +body = Kubernetes::V1beta1VolumeAttachment.new # V1beta1VolumeAttachment | + +opts = { + pretty: "pretty_example", # String | If 'true', then the output is pretty printed. + dry_run: "dry_run_example" # String | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed +} + +begin + result = api_instance.replace_volume_attachment(name, body, opts) + p result +rescue Kubernetes::ApiError => e + puts "Exception when calling StorageV1beta1Api->replace_volume_attachment: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **String**| name of the VolumeAttachment | + **body** | [**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md)| | + **pretty** | **String**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **String**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + +### Return type + +[**V1beta1VolumeAttachment**](V1beta1VolumeAttachment.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: */* + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + + + diff --git a/kubernetes/docs/V1APIGroup.md b/kubernetes/docs/V1APIGroup.md index 616e8f1c..7bbea9d8 100644 --- a/kubernetes/docs/V1APIGroup.md +++ b/kubernetes/docs/V1APIGroup.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **name** | **String** | name is the name of the group. | **preferred_version** | [**V1GroupVersionForDiscovery**](V1GroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional] -**server_address_by_client_cid_rs** | [**Array<V1ServerAddressByClientCIDR>**](V1ServerAddressByClientCIDR.md) | a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. | +**server_address_by_client_cid_rs** | [**Array<V1ServerAddressByClientCIDR>**](V1ServerAddressByClientCIDR.md) | a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. | [optional] **versions** | [**Array<V1GroupVersionForDiscovery>**](V1GroupVersionForDiscovery.md) | versions are the versions supported in this group. | diff --git a/kubernetes/docs/V1APIService.md b/kubernetes/docs/V1APIService.md new file mode 100644 index 00000000..45d09bbb --- /dev/null +++ b/kubernetes/docs/V1APIService.md @@ -0,0 +1,12 @@ +# Kubernetes::V1APIService + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1APIServiceSpec**](V1APIServiceSpec.md) | Spec contains information for locating and communicating with a server | [optional] +**status** | [**V1APIServiceStatus**](V1APIServiceStatus.md) | Status contains derived information about an API server | [optional] + + diff --git a/kubernetes/docs/V1APIServiceCondition.md b/kubernetes/docs/V1APIServiceCondition.md new file mode 100644 index 00000000..a67d41ab --- /dev/null +++ b/kubernetes/docs/V1APIServiceCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1APIServiceCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | Human-readable message indicating details about last transition. | [optional] +**reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **String** | Status is the status of the condition. Can be True, False, Unknown. | +**type** | **String** | Type is the type of the condition. | + + diff --git a/kubernetes/docs/V1APIServiceList.md b/kubernetes/docs/V1APIServiceList.md new file mode 100644 index 00000000..e34f9cdb --- /dev/null +++ b/kubernetes/docs/V1APIServiceList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1APIServiceList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1APIService>**](V1APIService.md) | | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + diff --git a/kubernetes/docs/V1APIServiceSpec.md b/kubernetes/docs/V1APIServiceSpec.md new file mode 100644 index 00000000..c01c0669 --- /dev/null +++ b/kubernetes/docs/V1APIServiceSpec.md @@ -0,0 +1,14 @@ +# Kubernetes::V1APIServiceSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **String** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**group** | **String** | Group is the API group name this server hosts | [optional] +**group_priority_minimum** | **Integer** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | +**insecure_skip_tls_verify** | **BOOLEAN** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] +**service** | [**V1ServiceReference**](V1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | +**version** | **String** | Version is the API version this server hosts. For example, \"v1\" | [optional] +**version_priority** | **Integer** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | + + diff --git a/kubernetes/docs/V1APIServiceStatus.md b/kubernetes/docs/V1APIServiceStatus.md new file mode 100644 index 00000000..83e3907e --- /dev/null +++ b/kubernetes/docs/V1APIServiceStatus.md @@ -0,0 +1,8 @@ +# Kubernetes::V1APIServiceStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**Array<V1APIServiceCondition>**](V1APIServiceCondition.md) | Current service state of apiService. | [optional] + + diff --git a/kubernetes/docs/V1AggregationRule.md b/kubernetes/docs/V1AggregationRule.md new file mode 100644 index 00000000..1c2856d8 --- /dev/null +++ b/kubernetes/docs/V1AggregationRule.md @@ -0,0 +1,8 @@ +# Kubernetes::V1AggregationRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cluster_role_selectors** | [**Array<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] + + diff --git a/kubernetes/docs/V1AzureDiskVolumeSource.md b/kubernetes/docs/V1AzureDiskVolumeSource.md index ab6e121c..481812f4 100644 --- a/kubernetes/docs/V1AzureDiskVolumeSource.md +++ b/kubernetes/docs/V1AzureDiskVolumeSource.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **disk_name** | **String** | The Name of the data disk in the blob storage | **disk_uri** | **String** | The URI the data disk in the blob storage | **fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] -**kind** | **String** | Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared | [optional] +**kind** | **String** | Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared | [optional] **read_only** | **BOOLEAN** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] diff --git a/kubernetes/docs/V1CSIPersistentVolumeSource.md b/kubernetes/docs/V1CSIPersistentVolumeSource.md new file mode 100644 index 00000000..a4100dd0 --- /dev/null +++ b/kubernetes/docs/V1CSIPersistentVolumeSource.md @@ -0,0 +1,15 @@ +# Kubernetes::V1CSIPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**controller_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**driver** | **String** | Driver is the name of the driver to use for this volume. Required. | +**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". | [optional] +**node_publish_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**node_stage_secret_ref** | [**V1SecretReference**](V1SecretReference.md) | NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. | [optional] +**read_only** | **BOOLEAN** | Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). | [optional] +**volume_attributes** | **Hash<String, String>** | Attributes of the volume to publish. | [optional] +**volume_handle** | **String** | VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. | + + diff --git a/kubernetes/docs/V1CinderPersistentVolumeSource.md b/kubernetes/docs/V1CinderPersistentVolumeSource.md new file mode 100644 index 00000000..5ba74952 --- /dev/null +++ b/kubernetes/docs/V1CinderPersistentVolumeSource.md @@ -0,0 +1,11 @@ +# Kubernetes::V1CinderPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**read_only** | **BOOLEAN** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | Optional: points to a secret object containing parameters used to connect to OpenStack. | [optional] +**volume_id** | **String** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | + + diff --git a/kubernetes/docs/V1CinderVolumeSource.md b/kubernetes/docs/V1CinderVolumeSource.md index ec1a0189..1cb865b3 100644 --- a/kubernetes/docs/V1CinderVolumeSource.md +++ b/kubernetes/docs/V1CinderVolumeSource.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **read_only** | **BOOLEAN** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: points to a secret object containing parameters used to connect to OpenStack. | [optional] **volume_id** | **String** | volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | diff --git a/kubernetes/docs/V1ClusterRole.md b/kubernetes/docs/V1ClusterRole.md index 4abff1a1..610f1fdd 100644 --- a/kubernetes/docs/V1ClusterRole.md +++ b/kubernetes/docs/V1ClusterRole.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**aggregation_rule** | [**V1AggregationRule**](V1AggregationRule.md) | AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1ClusterRoleBinding.md b/kubernetes/docs/V1ClusterRoleBinding.md index e6a1da6a..474d6d08 100644 --- a/kubernetes/docs/V1ClusterRoleBinding.md +++ b/kubernetes/docs/V1ClusterRoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1ConfigMap.md b/kubernetes/docs/V1ConfigMap.md index 898bab36..b524efc3 100644 --- a/kubernetes/docs/V1ConfigMap.md +++ b/kubernetes/docs/V1ConfigMap.md @@ -4,7 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**data** | **Hash<String, String>** | Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. | [optional] +**binary_data** | **Hash<String, String>** | BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. | [optional] +**data** | **Hash<String, String>** | Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1ConfigMapNodeConfigSource.md b/kubernetes/docs/V1ConfigMapNodeConfigSource.md new file mode 100644 index 00000000..bac4c506 --- /dev/null +++ b/kubernetes/docs/V1ConfigMapNodeConfigSource.md @@ -0,0 +1,12 @@ +# Kubernetes::V1ConfigMapNodeConfigSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kubelet_config_key** | **String** | KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. | +**name** | **String** | Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. | +**namespace** | **String** | Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. | +**resource_version** | **String** | ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. | [optional] +**uid** | **String** | UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. | [optional] + + diff --git a/kubernetes/docs/V1Container.md b/kubernetes/docs/V1Container.md index 45f988e4..4fde74c6 100644 --- a/kubernetes/docs/V1Container.md +++ b/kubernetes/docs/V1Container.md @@ -14,13 +14,14 @@ Name | Type | Description | Notes **name** | **String** | Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated. | **ports** | [**Array<V1ContainerPort>**](V1ContainerPort.md) | List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated. | [optional] **readiness_probe** | [**V1Probe**](V1Probe.md) | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | [optional] -**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources | [optional] -**security_context** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md | [optional] +**resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | [optional] +**security_context** | [**V1SecurityContext**](V1SecurityContext.md) | Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | [optional] **stdin** | **BOOLEAN** | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | [optional] **stdin_once** | **BOOLEAN** | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | [optional] **termination_message_path** | **String** | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | [optional] **termination_message_policy** | **String** | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | [optional] **tty** | **BOOLEAN** | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | [optional] +**volume_devices** | [**Array<V1VolumeDevice>**](V1VolumeDevice.md) | volumeDevices is the list of block devices to be used by the container. This is a beta feature. | [optional] **volume_mounts** | [**Array<V1VolumeMount>**](V1VolumeMount.md) | Pod volumes to mount into the container's filesystem. Cannot be updated. | [optional] **working_dir** | **String** | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | [optional] diff --git a/kubernetes/docs/V1ContainerImage.md b/kubernetes/docs/V1ContainerImage.md index 68333688..80ec3a51 100644 --- a/kubernetes/docs/V1ContainerImage.md +++ b/kubernetes/docs/V1ContainerImage.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**names** | **Array<String>** | Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] | +**names** | **Array<String>** | Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] | **size_bytes** | **Integer** | The size of the image in bytes. | [optional] diff --git a/kubernetes/docs/V1ContainerPort.md b/kubernetes/docs/V1ContainerPort.md index d2f3a816..2290bd3e 100644 --- a/kubernetes/docs/V1ContainerPort.md +++ b/kubernetes/docs/V1ContainerPort.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **host_ip** | **String** | What host IP to bind the external port to. | [optional] **host_port** | **Integer** | Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. | [optional] **name** | **String** | If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. | [optional] -**protocol** | **String** | Protocol for port. Must be UDP or TCP. Defaults to \"TCP\". | [optional] +**protocol** | **String** | Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". | [optional] diff --git a/kubernetes/docs/V1ControllerRevision.md b/kubernetes/docs/V1ControllerRevision.md new file mode 100644 index 00000000..398d7298 --- /dev/null +++ b/kubernetes/docs/V1ControllerRevision.md @@ -0,0 +1,12 @@ +# Kubernetes::V1ControllerRevision + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**data** | [**RuntimeRawExtension**](RuntimeRawExtension.md) | Data is the serialized representation of the state. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**revision** | **Integer** | Revision indicates the revision of the state represented by Data. | + + diff --git a/kubernetes/docs/V1ControllerRevisionList.md b/kubernetes/docs/V1ControllerRevisionList.md new file mode 100644 index 00000000..27eb0254 --- /dev/null +++ b/kubernetes/docs/V1ControllerRevisionList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1ControllerRevisionList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1ControllerRevision>**](V1ControllerRevision.md) | Items is the list of ControllerRevisions | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1DaemonSet.md b/kubernetes/docs/V1DaemonSet.md new file mode 100644 index 00000000..bc757422 --- /dev/null +++ b/kubernetes/docs/V1DaemonSet.md @@ -0,0 +1,12 @@ +# Kubernetes::V1DaemonSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1DaemonSetSpec**](V1DaemonSetSpec.md) | The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1DaemonSetStatus**](V1DaemonSetStatus.md) | The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + diff --git a/kubernetes/docs/V1DaemonSetCondition.md b/kubernetes/docs/V1DaemonSetCondition.md new file mode 100644 index 00000000..fb602b6b --- /dev/null +++ b/kubernetes/docs/V1DaemonSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1DaemonSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of DaemonSet condition. | + + diff --git a/kubernetes/docs/V1beta1PodSecurityPolicyList.md b/kubernetes/docs/V1DaemonSetList.md similarity index 84% rename from kubernetes/docs/V1beta1PodSecurityPolicyList.md rename to kubernetes/docs/V1DaemonSetList.md index ad9702bb..dd6cdf2a 100644 --- a/kubernetes/docs/V1beta1PodSecurityPolicyList.md +++ b/kubernetes/docs/V1DaemonSetList.md @@ -1,10 +1,10 @@ -# Kubernetes::V1beta1PodSecurityPolicyList +# Kubernetes::V1DaemonSetList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**Array<V1beta1PodSecurityPolicy>**](V1beta1PodSecurityPolicy.md) | Items is a list of schema objects. | +**items** | [**Array<V1DaemonSet>**](V1DaemonSet.md) | A list of daemon sets. | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1DaemonSetSpec.md b/kubernetes/docs/V1DaemonSetSpec.md new file mode 100644 index 00000000..13519a3e --- /dev/null +++ b/kubernetes/docs/V1DaemonSetSpec.md @@ -0,0 +1,12 @@ +# Kubernetes::V1DaemonSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_ready_seconds** | **Integer** | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). | [optional] +**revision_history_limit** | **Integer** | The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | +**update_strategy** | [**V1DaemonSetUpdateStrategy**](V1DaemonSetUpdateStrategy.md) | An update strategy to replace existing DaemonSet pods with new pods. | [optional] + + diff --git a/kubernetes/docs/V1DaemonSetStatus.md b/kubernetes/docs/V1DaemonSetStatus.md new file mode 100644 index 00000000..e96a0232 --- /dev/null +++ b/kubernetes/docs/V1DaemonSetStatus.md @@ -0,0 +1,17 @@ +# Kubernetes::V1DaemonSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collision_count** | **Integer** | Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1DaemonSetCondition>**](V1DaemonSetCondition.md) | Represents the latest available observations of a DaemonSet's current state. | [optional] +**current_number_scheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**desired_number_scheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**number_available** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] +**number_misscheduled** | **Integer** | The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | +**number_ready** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. | +**number_unavailable** | **Integer** | The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] +**observed_generation** | **Integer** | The most recent generation observed by the daemon set controller. | [optional] +**updated_number_scheduled** | **Integer** | The total number of nodes that are running updated daemon pod | [optional] + + diff --git a/kubernetes/docs/V1DaemonSetUpdateStrategy.md b/kubernetes/docs/V1DaemonSetUpdateStrategy.md new file mode 100644 index 00000000..4065b0a2 --- /dev/null +++ b/kubernetes/docs/V1DaemonSetUpdateStrategy.md @@ -0,0 +1,9 @@ +# Kubernetes::V1DaemonSetUpdateStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rolling_update** | [**V1RollingUpdateDaemonSet**](V1RollingUpdateDaemonSet.md) | Rolling update config params. Present only if type = \"RollingUpdate\". | [optional] +**type** | **String** | Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. | [optional] + + diff --git a/kubernetes/docs/V1DeleteOptions.md b/kubernetes/docs/V1DeleteOptions.md index a552083f..76e0df0e 100644 --- a/kubernetes/docs/V1DeleteOptions.md +++ b/kubernetes/docs/V1DeleteOptions.md @@ -4,10 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**dry_run** | **Array<String>** | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **grace_period_seconds** | **Integer** | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **orphan_dependents** | **BOOLEAN** | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. | [optional] **preconditions** | [**V1Preconditions**](V1Preconditions.md) | Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. | [optional] -**propagation_policy** | **String** | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. | [optional] +**propagation_policy** | **String** | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. | [optional] diff --git a/kubernetes/docs/V1Deployment.md b/kubernetes/docs/V1Deployment.md new file mode 100644 index 00000000..0574fba4 --- /dev/null +++ b/kubernetes/docs/V1Deployment.md @@ -0,0 +1,12 @@ +# Kubernetes::V1Deployment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] +**spec** | [**V1DeploymentSpec**](V1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional] +**status** | [**V1DeploymentStatus**](V1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional] + + diff --git a/kubernetes/docs/V1DeploymentCondition.md b/kubernetes/docs/V1DeploymentCondition.md new file mode 100644 index 00000000..8800aa40 --- /dev/null +++ b/kubernetes/docs/V1DeploymentCondition.md @@ -0,0 +1,13 @@ +# Kubernetes::V1DeploymentCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**last_update_time** | **DateTime** | The last time this condition was updated. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of deployment condition. | + + diff --git a/kubernetes/docs/V1DeploymentList.md b/kubernetes/docs/V1DeploymentList.md new file mode 100644 index 00000000..cf3e48e3 --- /dev/null +++ b/kubernetes/docs/V1DeploymentList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1DeploymentList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1Deployment>**](V1Deployment.md) | Items is the list of Deployments. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. | [optional] + + diff --git a/kubernetes/docs/V1DeploymentSpec.md b/kubernetes/docs/V1DeploymentSpec.md new file mode 100644 index 00000000..e86ecf16 --- /dev/null +++ b/kubernetes/docs/V1DeploymentSpec.md @@ -0,0 +1,15 @@ +# Kubernetes::V1DeploymentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_ready_seconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] +**paused** | **BOOLEAN** | Indicates that the deployment is paused. | [optional] +**progress_deadline_seconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional] +**replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] +**revision_history_limit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. | +**strategy** | [**V1DeploymentStrategy**](V1DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | + + diff --git a/kubernetes/docs/V1DeploymentStatus.md b/kubernetes/docs/V1DeploymentStatus.md new file mode 100644 index 00000000..09bce85b --- /dev/null +++ b/kubernetes/docs/V1DeploymentStatus.md @@ -0,0 +1,15 @@ +# Kubernetes::V1DeploymentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**available_replicas** | **Integer** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional] +**collision_count** | **Integer** | Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. | [optional] +**conditions** | [**Array<V1DeploymentCondition>**](V1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional] +**observed_generation** | **Integer** | The generation observed by the deployment controller. | [optional] +**ready_replicas** | **Integer** | Total number of ready pods targeted by this deployment. | [optional] +**replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional] +**unavailable_replicas** | **Integer** | Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. | [optional] +**updated_replicas** | **Integer** | Total number of non-terminated pods targeted by this deployment that have the desired template spec. | [optional] + + diff --git a/kubernetes/docs/V1DeploymentStrategy.md b/kubernetes/docs/V1DeploymentStrategy.md new file mode 100644 index 00000000..0ec95048 --- /dev/null +++ b/kubernetes/docs/V1DeploymentStrategy.md @@ -0,0 +1,9 @@ +# Kubernetes::V1DeploymentStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rolling_update** | [**V1RollingUpdateDeployment**](V1RollingUpdateDeployment.md) | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. | [optional] +**type** | **String** | Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. | [optional] + + diff --git a/kubernetes/docs/V1EndpointPort.md b/kubernetes/docs/V1EndpointPort.md index 8ee444df..42016ae3 100644 --- a/kubernetes/docs/V1EndpointPort.md +++ b/kubernetes/docs/V1EndpointPort.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of this port (corresponds to ServicePort.Name). Must be a DNS_LABEL. Optional only if one port is defined. | [optional] **port** | **Integer** | The port number of the endpoint. | -**protocol** | **String** | The IP protocol for this port. Must be UDP or TCP. Default is TCP. | [optional] +**protocol** | **String** | The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. | [optional] diff --git a/kubernetes/docs/V1Endpoints.md b/kubernetes/docs/V1Endpoints.md index 8cfeb781..951bf964 100644 --- a/kubernetes/docs/V1Endpoints.md +++ b/kubernetes/docs/V1Endpoints.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] -**subsets** | [**Array<V1EndpointSubset>**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. | +**subsets** | [**Array<V1EndpointSubset>**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. | [optional] diff --git a/kubernetes/docs/V1EnvFromSource.md b/kubernetes/docs/V1EnvFromSource.md index 128b9387..d05ebced 100644 --- a/kubernetes/docs/V1EnvFromSource.md +++ b/kubernetes/docs/V1EnvFromSource.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config_map_ref** | [**V1ConfigMapEnvSource**](V1ConfigMapEnvSource.md) | The ConfigMap to select from | [optional] -**prefix** | **String** | An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | [optional] +**prefix** | **String** | An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. | [optional] **secret_ref** | [**V1SecretEnvSource**](V1SecretEnvSource.md) | The Secret to select from | [optional] diff --git a/kubernetes/docs/V1Event.md b/kubernetes/docs/V1Event.md index 59f96591..89aad719 100644 --- a/kubernetes/docs/V1Event.md +++ b/kubernetes/docs/V1Event.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**action** | **String** | What action was taken/failed regarding to the Regarding object. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **count** | **Integer** | The number of times this event has occurred. | [optional] +**event_time** | **DateTime** | Time when this Event was first observed. | [optional] **first_timestamp** | **DateTime** | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] **involved_object** | [**V1ObjectReference**](V1ObjectReference.md) | The object that this event is about. | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] @@ -12,6 +14,10 @@ Name | Type | Description | Notes **message** | **String** | A human-readable description of the status of this operation. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | **reason** | **String** | This should be a short, machine understandable string that gives the reason for the transition into the object's current status. | [optional] +**related** | [**V1ObjectReference**](V1ObjectReference.md) | Optional secondary object for more complex actions. | [optional] +**reporting_component** | **String** | Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. | [optional] +**reporting_instance** | **String** | ID of the controller instance, e.g. `kubelet-xyzf`. | [optional] +**series** | [**V1EventSeries**](V1EventSeries.md) | Data about the Event series this event represents or nil if it's a singleton Event. | [optional] **source** | [**V1EventSource**](V1EventSource.md) | The component reporting this event. Should be a short machine understandable string. | [optional] **type** | **String** | Type of this event (Normal, Warning), new types could be added in the future | [optional] diff --git a/kubernetes/docs/V1EventSeries.md b/kubernetes/docs/V1EventSeries.md new file mode 100644 index 00000000..8300a92d --- /dev/null +++ b/kubernetes/docs/V1EventSeries.md @@ -0,0 +1,10 @@ +# Kubernetes::V1EventSeries + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | [optional] +**last_observed_time** | **DateTime** | Time of the last occurrence observed | [optional] +**state** | **String** | State of this Series: Ongoing or Finished | [optional] + + diff --git a/kubernetes/docs/V1FlexPersistentVolumeSource.md b/kubernetes/docs/V1FlexPersistentVolumeSource.md new file mode 100644 index 00000000..876e5775 --- /dev/null +++ b/kubernetes/docs/V1FlexPersistentVolumeSource.md @@ -0,0 +1,12 @@ +# Kubernetes::V1FlexPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**driver** | **String** | Driver is the name of the driver to use for this volume. | +**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. | [optional] +**options** | **Hash<String, String>** | Optional: Extra command options if any. | [optional] +**read_only** | **BOOLEAN** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. | [optional] + + diff --git a/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md b/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md new file mode 100644 index 00000000..928115c9 --- /dev/null +++ b/kubernetes/docs/V1GlusterfsPersistentVolumeSource.md @@ -0,0 +1,11 @@ +# Kubernetes::V1GlusterfsPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**endpoints** | **String** | EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**endpoints_namespace** | **String** | EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] +**path** | **String** | Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**read_only** | **BOOLEAN** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [optional] + + diff --git a/kubernetes/docs/V1ISCSIPersistentVolumeSource.md b/kubernetes/docs/V1ISCSIPersistentVolumeSource.md new file mode 100644 index 00000000..0f6a26d6 --- /dev/null +++ b/kubernetes/docs/V1ISCSIPersistentVolumeSource.md @@ -0,0 +1,18 @@ +# Kubernetes::V1ISCSIPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**chap_auth_discovery** | **BOOLEAN** | whether support iSCSI Discovery CHAP authentication | [optional] +**chap_auth_session** | **BOOLEAN** | whether support iSCSI Session CHAP authentication | [optional] +**fs_type** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi | [optional] +**initiator_name** | **String** | Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. | [optional] +**iqn** | **String** | Target iSCSI Qualified Name. | +**iscsi_interface** | **String** | iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). | [optional] +**lun** | **Integer** | iSCSI Target Lun number. | +**portals** | **Array<String>** | iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] +**read_only** | **BOOLEAN** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | CHAP Secret for iSCSI target and initiator authentication | [optional] +**target_portal** | **String** | iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | + + diff --git a/kubernetes/docs/V1ISCSIVolumeSource.md b/kubernetes/docs/V1ISCSIVolumeSource.md index d7735662..ea5c5a93 100644 --- a/kubernetes/docs/V1ISCSIVolumeSource.md +++ b/kubernetes/docs/V1ISCSIVolumeSource.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes **chap_auth_discovery** | **BOOLEAN** | whether support iSCSI Discovery CHAP authentication | [optional] **chap_auth_session** | **BOOLEAN** | whether support iSCSI Session CHAP authentication | [optional] **fs_type** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi | [optional] -**initiator_name** | **String** | Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. | [optional] +**initiator_name** | **String** | Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. | [optional] **iqn** | **String** | Target iSCSI Qualified Name. | -**iscsi_interface** | **String** | Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. | [optional] -**lun** | **Integer** | iSCSI target lun number. | -**portals** | **Array<String>** | iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] +**iscsi_interface** | **String** | iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). | [optional] +**lun** | **Integer** | iSCSI Target Lun number. | +**portals** | **Array<String>** | iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | [optional] **read_only** | **BOOLEAN** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] -**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | CHAP secret for iSCSI target and initiator authentication | [optional] -**target_portal** | **String** | iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | CHAP Secret for iSCSI target and initiator authentication | [optional] +**target_portal** | **String** | iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | diff --git a/kubernetes/docs/V1JobSpec.md b/kubernetes/docs/V1JobSpec.md index b7a20820..6f5ecdbf 100644 --- a/kubernetes/docs/V1JobSpec.md +++ b/kubernetes/docs/V1JobSpec.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes **active_deadline_seconds** | **Integer** | Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer | [optional] **backoff_limit** | **Integer** | Specifies the number of retries before marking this job failed. Defaults to 6 | [optional] **completions** | **Integer** | Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] -**manual_selector** | **BOOLEAN** | manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md | [optional] +**manual_selector** | **BOOLEAN** | manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector | [optional] **parallelism** | **Integer** | Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ | +**ttl_seconds_after_finished** | **Integer** | ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. | [optional] diff --git a/kubernetes/docs/V1LimitRangeList.md b/kubernetes/docs/V1LimitRangeList.md index ec98e54b..ea74662e 100644 --- a/kubernetes/docs/V1LimitRangeList.md +++ b/kubernetes/docs/V1LimitRangeList.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**Array<V1LimitRange>**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md | +**items** | [**Array<V1LimitRange>**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ListMeta.md b/kubernetes/docs/V1ListMeta.md index 19fcdafe..67adbb56 100644 --- a/kubernetes/docs/V1ListMeta.md +++ b/kubernetes/docs/V1ListMeta.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**continue** | **String** | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. | [optional] +**continue** | **String** | continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. | [optional] **resource_version** | **String** | String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency | [optional] **self_link** | **String** | selfLink is a URL representing this object. Populated by the system. Read-only. | [optional] diff --git a/kubernetes/docs/V1LocalVolumeSource.md b/kubernetes/docs/V1LocalVolumeSource.md index 93c0c1cf..45817cab 100644 --- a/kubernetes/docs/V1LocalVolumeSource.md +++ b/kubernetes/docs/V1LocalVolumeSource.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**path** | **String** | The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device | +**fs_type** | **String** | Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified. | [optional] +**path** | **String** | The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). | diff --git a/kubernetes/docs/V1NamespaceSpec.md b/kubernetes/docs/V1NamespaceSpec.md index c046a705..499b3dbe 100644 --- a/kubernetes/docs/V1NamespaceSpec.md +++ b/kubernetes/docs/V1NamespaceSpec.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**finalizers** | **Array<String>** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers | [optional] +**finalizers** | **Array<String>** | Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ | [optional] diff --git a/kubernetes/docs/V1NamespaceStatus.md b/kubernetes/docs/V1NamespaceStatus.md index 704acaf5..a275cd09 100644 --- a/kubernetes/docs/V1NamespaceStatus.md +++ b/kubernetes/docs/V1NamespaceStatus.md @@ -3,6 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases | [optional] +**phase** | **String** | Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ | [optional] diff --git a/kubernetes/docs/V1NetworkPolicyPeer.md b/kubernetes/docs/V1NetworkPolicyPeer.md index e85c672f..0e3fa38c 100644 --- a/kubernetes/docs/V1NetworkPolicyPeer.md +++ b/kubernetes/docs/V1NetworkPolicyPeer.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip_block** | [**V1IPBlock**](V1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] -**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] -**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] +**ip_block** | [**V1IPBlock**](V1IPBlock.md) | IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. | [optional] +**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. | [optional] +**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. | [optional] diff --git a/kubernetes/docs/V1NetworkPolicyPort.md b/kubernetes/docs/V1NetworkPolicyPort.md index b4515cdd..80e1f5e3 100644 --- a/kubernetes/docs/V1NetworkPolicyPort.md +++ b/kubernetes/docs/V1NetworkPolicyPort.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **port** | **Object** | The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. | [optional] -**protocol** | **String** | The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional] +**protocol** | **String** | The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. | [optional] diff --git a/kubernetes/docs/V1NodeConfigSource.md b/kubernetes/docs/V1NodeConfigSource.md index f297d877..e62496a2 100644 --- a/kubernetes/docs/V1NodeConfigSource.md +++ b/kubernetes/docs/V1NodeConfigSource.md @@ -3,8 +3,6 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**config_map_ref** | [**V1ObjectReference**](V1ObjectReference.md) | | [optional] -**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**config_map** | [**V1ConfigMapNodeConfigSource**](V1ConfigMapNodeConfigSource.md) | ConfigMap is a reference to a Node's ConfigMap | [optional] diff --git a/kubernetes/docs/V1NodeConfigStatus.md b/kubernetes/docs/V1NodeConfigStatus.md new file mode 100644 index 00000000..2692975c --- /dev/null +++ b/kubernetes/docs/V1NodeConfigStatus.md @@ -0,0 +1,11 @@ +# Kubernetes::V1NodeConfigStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**active** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. | [optional] +**assigned** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. | [optional] +**error** | **String** | Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. | [optional] +**last_known_good** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. | [optional] + + diff --git a/kubernetes/docs/V1NodeSelectorTerm.md b/kubernetes/docs/V1NodeSelectorTerm.md index 09cc4339..485a9a44 100644 --- a/kubernetes/docs/V1NodeSelectorTerm.md +++ b/kubernetes/docs/V1NodeSelectorTerm.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**match_expressions** | [**Array<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | Required. A list of node selector requirements. The requirements are ANDed. | +**match_expressions** | [**Array<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's labels. | [optional] +**match_fields** | [**Array<V1NodeSelectorRequirement>**](V1NodeSelectorRequirement.md) | A list of node selector requirements by node's fields. | [optional] diff --git a/kubernetes/docs/V1NodeSpec.md b/kubernetes/docs/V1NodeSpec.md index f1f9a19e..91860774 100644 --- a/kubernetes/docs/V1NodeSpec.md +++ b/kubernetes/docs/V1NodeSpec.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **config_source** | [**V1NodeConfigSource**](V1NodeConfigSource.md) | If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field | [optional] -**external_id** | **String** | External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. | [optional] +**external_id** | **String** | Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 | [optional] **pod_cidr** | **String** | PodCIDR represents the pod IP range assigned to the node. | [optional] **provider_id** | **String** | ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> | [optional] **taints** | [**Array<V1Taint>**](V1Taint.md) | If specified, the node's taints. | [optional] diff --git a/kubernetes/docs/V1NodeStatus.md b/kubernetes/docs/V1NodeStatus.md index 39f09ddc..36a68290 100644 --- a/kubernetes/docs/V1NodeStatus.md +++ b/kubernetes/docs/V1NodeStatus.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **allocatable** | **Hash<String, String>** | Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. | [optional] **capacity** | **Hash<String, String>** | Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] **conditions** | [**Array<V1NodeCondition>**](V1NodeCondition.md) | Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition | [optional] +**config** | [**V1NodeConfigStatus**](V1NodeConfigStatus.md) | Status of the config assigned to the node via the dynamic Kubelet config feature. | [optional] **daemon_endpoints** | [**V1NodeDaemonEndpoints**](V1NodeDaemonEndpoints.md) | Endpoints of daemons running on the Node. | [optional] **images** | [**Array<V1ContainerImage>**](V1ContainerImage.md) | List of container images on this node | [optional] **node_info** | [**V1NodeSystemInfo**](V1NodeSystemInfo.md) | Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info | [optional] diff --git a/kubernetes/docs/V1ObjectMeta.md b/kubernetes/docs/V1ObjectMeta.md index 3ed2fb20..58bf6a50 100644 --- a/kubernetes/docs/V1ObjectMeta.md +++ b/kubernetes/docs/V1ObjectMeta.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **cluster_name** | **String** | The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request. | [optional] **creation_timestamp** | **DateTime** | CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **deletion_grace_period_seconds** | **Integer** | Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. | [optional] -**deletion_timestamp** | **DateTime** | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**deletion_timestamp** | **DateTime** | DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **finalizers** | **Array<String>** | Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. | [optional] **generate_name** | **String** | GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency | [optional] **generation** | **Integer** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimSpec.md b/kubernetes/docs/V1PersistentVolumeClaimSpec.md index cfb03ee1..9ecaf0db 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimSpec.md +++ b/kubernetes/docs/V1PersistentVolumeClaimSpec.md @@ -4,9 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_modes** | **Array<String>** | AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 | [optional] +**data_source** | [**V1TypedLocalObjectReference**](V1TypedLocalObjectReference.md) | This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. | [optional] **resources** | [**V1ResourceRequirements**](V1ResourceRequirements.md) | Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources | [optional] **selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over volumes to consider for binding. | [optional] **storage_class_name** | **String** | Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 | [optional] +**volume_mode** | **String** | volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. | [optional] **volume_name** | **String** | VolumeName is the binding reference to the PersistentVolume backing this claim. | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index 47513ded..beb2a08b 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -9,26 +9,29 @@ Name | Type | Description | Notes **azure_file** | [**V1AzureFilePersistentVolumeSource**](V1AzureFilePersistentVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] **capacity** | **Hash<String, String>** | A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity | [optional] **cephfs** | [**V1CephFSPersistentVolumeSource**](V1CephFSPersistentVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] -**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**cinder** | [**V1CinderPersistentVolumeSource**](V1CinderPersistentVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **claim_ref** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding | [optional] +**csi** | [**V1CSIPersistentVolumeSource**](V1CSIPersistentVolumeSource.md) | CSI represents storage that handled by an external CSI driver (Beta feature). | [optional] **fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] -**flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] +**flex_volume** | [**V1FlexPersistentVolumeSource**](V1FlexPersistentVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running | [optional] **gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] -**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**glusterfs** | [**V1GlusterfsPersistentVolumeSource**](V1GlusterfsPersistentVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] **host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] -**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional] +**iscsi** | [**V1ISCSIPersistentVolumeSource**](V1ISCSIPersistentVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional] **local** | [**V1LocalVolumeSource**](V1LocalVolumeSource.md) | Local represents directly-attached storage with node affinity | [optional] **mount_options** | **Array<String>** | A list of mount options, e.g. [\"ro\", \"soft\"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options | [optional] **nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs | [optional] -**persistent_volume_reclaim_policy** | **String** | What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming | [optional] +**node_affinity** | [**V1VolumeNodeAffinity**](V1VolumeNodeAffinity.md) | NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. | [optional] +**persistent_volume_reclaim_policy** | **String** | What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming | [optional] **photon_persistent_disk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional] **portworx_volume** | [**V1PortworxVolumeSource**](V1PortworxVolumeSource.md) | PortworxVolume represents a portworx volume attached and mounted on kubelets host machine | [optional] **quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional] -**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] -**scale_io** | [**V1ScaleIOVolumeSource**](V1ScaleIOVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional] +**rbd** | [**V1RBDPersistentVolumeSource**](V1RBDPersistentVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] +**scale_io** | [**V1ScaleIOPersistentVolumeSource**](V1ScaleIOPersistentVolumeSource.md) | ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. | [optional] **storage_class_name** | **String** | Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. | [optional] **storageos** | [**V1StorageOSPersistentVolumeSource**](V1StorageOSPersistentVolumeSource.md) | StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md | [optional] +**volume_mode** | **String** | volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. | [optional] **vsphere_volume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [optional] diff --git a/kubernetes/docs/V1PodAffinityTerm.md b/kubernetes/docs/V1PodAffinityTerm.md index d6237b05..4a363a02 100644 --- a/kubernetes/docs/V1PodAffinityTerm.md +++ b/kubernetes/docs/V1PodAffinityTerm.md @@ -5,6 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **label_selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over a set of resources, in this case pods. | [optional] **namespaces** | **Array<String>** | namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" | [optional] -**topology_key** | **String** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. | [optional] +**topology_key** | **String** | This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. | diff --git a/kubernetes/docs/V1PodCondition.md b/kubernetes/docs/V1PodCondition.md index 57e3ad65..e3208e10 100644 --- a/kubernetes/docs/V1PodCondition.md +++ b/kubernetes/docs/V1PodCondition.md @@ -8,6 +8,6 @@ Name | Type | Description | Notes **message** | **String** | Human-readable message indicating details about last transition. | [optional] **reason** | **String** | Unique, one-word, CamelCase reason for the condition's last transition. | [optional] **status** | **String** | Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | -**type** | **String** | Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | +**type** | **String** | Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions | diff --git a/kubernetes/docs/V1PodDNSConfig.md b/kubernetes/docs/V1PodDNSConfig.md new file mode 100644 index 00000000..84faafaa --- /dev/null +++ b/kubernetes/docs/V1PodDNSConfig.md @@ -0,0 +1,10 @@ +# Kubernetes::V1PodDNSConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nameservers** | **Array<String>** | A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. | [optional] +**options** | [**Array<V1PodDNSConfigOption>**](V1PodDNSConfigOption.md) | A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. | [optional] +**searches** | **Array<String>** | A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. | [optional] + + diff --git a/kubernetes/docs/V1PodDNSConfigOption.md b/kubernetes/docs/V1PodDNSConfigOption.md new file mode 100644 index 00000000..4f193ad5 --- /dev/null +++ b/kubernetes/docs/V1PodDNSConfigOption.md @@ -0,0 +1,9 @@ +# Kubernetes::V1PodDNSConfigOption + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Required. | [optional] +**value** | **String** | | [optional] + + diff --git a/kubernetes/docs/V1PodReadinessGate.md b/kubernetes/docs/V1PodReadinessGate.md new file mode 100644 index 00000000..0ea89673 --- /dev/null +++ b/kubernetes/docs/V1PodReadinessGate.md @@ -0,0 +1,8 @@ +# Kubernetes::V1PodReadinessGate + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**condition_type** | **String** | ConditionType refers to a condition in the pod's condition list with matching type. | + + diff --git a/kubernetes/docs/V1PodSecurityContext.md b/kubernetes/docs/V1PodSecurityContext.md index 5de36f6e..be434498 100644 --- a/kubernetes/docs/V1PodSecurityContext.md +++ b/kubernetes/docs/V1PodSecurityContext.md @@ -4,9 +4,11 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **fs_group** | **Integer** | A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. | [optional] +**run_as_group** | **Integer** | The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] **run_as_non_root** | **BOOLEAN** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] **run_as_user** | **Integer** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. | [optional] **supplemental_groups** | **Array<Integer>** | A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. | [optional] +**sysctls** | [**Array<V1Sysctl>**](V1Sysctl.md) | Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. | [optional] diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index ac802979..fcc34fb9 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -7,7 +7,9 @@ Name | Type | Description | Notes **affinity** | [**V1Affinity**](V1Affinity.md) | If specified, the pod's scheduling constraints | [optional] **automount_service_account_token** | **BOOLEAN** | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. | [optional] **containers** | [**Array<V1Container>**](V1Container.md) | List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. | -**dns_policy** | **String** | Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] +**dns_config** | [**V1PodDNSConfig**](V1PodDNSConfig.md) | Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. | [optional] +**dns_policy** | **String** | Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. | [optional] +**enable_service_links** | **BOOLEAN** | EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. | [optional] **host_aliases** | [**Array<V1HostAlias>**](V1HostAlias.md) | HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. | [optional] **host_ipc** | **BOOLEAN** | Use the host's ipc namespace. Optional: Default to false. | [optional] **host_network** | **BOOLEAN** | Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false. | [optional] @@ -18,12 +20,15 @@ Name | Type | Description | Notes **node_name** | **String** | NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements. | [optional] **node_selector** | **Hash<String, String>** | NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ | [optional] **priority** | **Integer** | The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. | [optional] -**priority_class_name** | **String** | If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. | [optional] +**priority_class_name** | **String** | If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. | [optional] +**readiness_gates** | [**Array<V1PodReadinessGate>**](V1PodReadinessGate.md) | If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md | [optional] **restart_policy** | **String** | Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy | [optional] +**runtime_class_name** | **String** | RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. | [optional] **scheduler_name** | **String** | If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. | [optional] **security_context** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field. | [optional] **service_account** | **String** | DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. | [optional] **service_account_name** | **String** | ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ | [optional] +**share_process_namespace** | **BOOLEAN** | Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. | [optional] **subdomain** | **String** | If specified, the fully qualified Pod hostname will be \"<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>\". If not specified, the pod will not have a domainname at all. | [optional] **termination_grace_period_seconds** | **Integer** | Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds. | [optional] **tolerations** | [**Array<V1Toleration>**](V1Toleration.md) | If specified, the pod's tolerations. | [optional] diff --git a/kubernetes/docs/V1PodStatus.md b/kubernetes/docs/V1PodStatus.md index 5d5d074a..d0e78b66 100644 --- a/kubernetes/docs/V1PodStatus.md +++ b/kubernetes/docs/V1PodStatus.md @@ -8,9 +8,10 @@ Name | Type | Description | Notes **host_ip** | **String** | IP address of the host to which the pod is assigned. Empty if not yet scheduled. | [optional] **init_container_statuses** | [**Array<V1ContainerStatus>**](V1ContainerStatus.md) | The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status | [optional] **message** | **String** | A human readable message indicating details about why the pod is in this condition. | [optional] -**phase** | **String** | Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase | [optional] +**nominated_node_name** | **String** | nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. | [optional] +**phase** | **String** | The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase | [optional] **pod_ip** | **String** | IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. | [optional] -**qos_class** | **String** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md | [optional] +**qos_class** | **String** | The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md | [optional] **reason** | **String** | A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' | [optional] **start_time** | **DateTime** | RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod. | [optional] diff --git a/kubernetes/docs/V1RBDPersistentVolumeSource.md b/kubernetes/docs/V1RBDPersistentVolumeSource.md new file mode 100644 index 00000000..0228dab5 --- /dev/null +++ b/kubernetes/docs/V1RBDPersistentVolumeSource.md @@ -0,0 +1,15 @@ +# Kubernetes::V1RBDPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **String** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd | [optional] +**image** | **String** | The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**keyring** | **String** | Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**monitors** | **Array<String>** | A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**pool** | **String** | The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**read_only** | **BOOLEAN** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**user** | **String** | The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] + + diff --git a/kubernetes/docs/V1ReplicaSet.md b/kubernetes/docs/V1ReplicaSet.md new file mode 100644 index 00000000..368477ff --- /dev/null +++ b/kubernetes/docs/V1ReplicaSet.md @@ -0,0 +1,12 @@ +# Kubernetes::V1ReplicaSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1ReplicaSetSpec**](V1ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] +**status** | [**V1ReplicaSetStatus**](V1ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + diff --git a/kubernetes/docs/V1ReplicaSetCondition.md b/kubernetes/docs/V1ReplicaSetCondition.md new file mode 100644 index 00000000..0391f835 --- /dev/null +++ b/kubernetes/docs/V1ReplicaSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1ReplicaSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | The last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of replica set condition. | + + diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md b/kubernetes/docs/V1ReplicaSetList.md similarity index 79% rename from kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md rename to kubernetes/docs/V1ReplicaSetList.md index fcfbdfca..467e6133 100644 --- a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfigurationList.md +++ b/kubernetes/docs/V1ReplicaSetList.md @@ -1,10 +1,10 @@ -# Kubernetes::V1alpha1ExternalAdmissionHookConfigurationList +# Kubernetes::V1ReplicaSetList ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**Array<V1alpha1ExternalAdmissionHookConfiguration>**](V1alpha1ExternalAdmissionHookConfiguration.md) | List of ExternalAdmissionHookConfiguration. | +**items** | [**Array<V1ReplicaSet>**](V1ReplicaSet.md) | List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ReplicaSetSpec.md b/kubernetes/docs/V1ReplicaSetSpec.md new file mode 100644 index 00000000..228f9fb3 --- /dev/null +++ b/kubernetes/docs/V1ReplicaSetSpec.md @@ -0,0 +1,11 @@ +# Kubernetes::V1ReplicaSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min_ready_seconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] +**replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | [optional] + + diff --git a/kubernetes/docs/V1ReplicaSetStatus.md b/kubernetes/docs/V1ReplicaSetStatus.md new file mode 100644 index 00000000..a43f5661 --- /dev/null +++ b/kubernetes/docs/V1ReplicaSetStatus.md @@ -0,0 +1,13 @@ +# Kubernetes::V1ReplicaSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**available_replicas** | **Integer** | The number of available replicas (ready for at least minReadySeconds) for this replica set. | [optional] +**conditions** | [**Array<V1ReplicaSetCondition>**](V1ReplicaSetCondition.md) | Represents the latest available observations of a replica set's current state. | [optional] +**fully_labeled_replicas** | **Integer** | The number of pods that have labels matching the labels of the pod template of the replicaset. | [optional] +**observed_generation** | **Integer** | ObservedGeneration reflects the generation of the most recently observed ReplicaSet. | [optional] +**ready_replicas** | **Integer** | The number of ready replicas for this replica set. | [optional] +**replicas** | **Integer** | Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | + + diff --git a/kubernetes/docs/V1ResourceQuotaList.md b/kubernetes/docs/V1ResourceQuotaList.md index 382c9f19..f375c703 100644 --- a/kubernetes/docs/V1ResourceQuotaList.md +++ b/kubernetes/docs/V1ResourceQuotaList.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**items** | [**Array<V1ResourceQuota>**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | +**items** | [**Array<V1ResourceQuota>**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaSpec.md b/kubernetes/docs/V1ResourceQuotaSpec.md index 25574293..e522e6e4 100644 --- a/kubernetes/docs/V1ResourceQuotaSpec.md +++ b/kubernetes/docs/V1ResourceQuotaSpec.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hard** | **Hash<String, String>** | Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | [optional] +**hard** | **Hash<String, String>** | hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] +**scope_selector** | [**V1ScopeSelector**](V1ScopeSelector.md) | scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. | [optional] **scopes** | **Array<String>** | A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaStatus.md b/kubernetes/docs/V1ResourceQuotaStatus.md index ca0cf5eb..1d85947e 100644 --- a/kubernetes/docs/V1ResourceQuotaStatus.md +++ b/kubernetes/docs/V1ResourceQuotaStatus.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**hard** | **Hash<String, String>** | Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md | [optional] +**hard** | **Hash<String, String>** | Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ | [optional] **used** | **Hash<String, String>** | Used is the current observed total usage of the resource in the namespace. | [optional] diff --git a/kubernetes/docs/V1ResourceRule.md b/kubernetes/docs/V1ResourceRule.md index d64406fe..ca9ab266 100644 --- a/kubernetes/docs/V1ResourceRule.md +++ b/kubernetes/docs/V1ResourceRule.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_groups** | **Array<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. | [optional] **resource_names** | **Array<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. | [optional] -**resources** | **Array<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. | [optional] +**resources** | **Array<String>** | Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. | [optional] **verbs** | **Array<String>** | Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | diff --git a/kubernetes/docs/V1RoleBinding.md b/kubernetes/docs/V1RoleBinding.md index d3857c79..24907ba7 100644 --- a/kubernetes/docs/V1RoleBinding.md +++ b/kubernetes/docs/V1RoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1RoleRef**](V1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1Subject>**](V1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1RollingUpdateDaemonSet.md b/kubernetes/docs/V1RollingUpdateDaemonSet.md new file mode 100644 index 00000000..51efc766 --- /dev/null +++ b/kubernetes/docs/V1RollingUpdateDaemonSet.md @@ -0,0 +1,8 @@ +# Kubernetes::V1RollingUpdateDaemonSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max_unavailable** | **Object** | The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. | [optional] + + diff --git a/kubernetes/docs/V1RollingUpdateDeployment.md b/kubernetes/docs/V1RollingUpdateDeployment.md new file mode 100644 index 00000000..95371f47 --- /dev/null +++ b/kubernetes/docs/V1RollingUpdateDeployment.md @@ -0,0 +1,9 @@ +# Kubernetes::V1RollingUpdateDeployment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. | [optional] +**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] + + diff --git a/kubernetes/docs/V1RollingUpdateStatefulSetStrategy.md b/kubernetes/docs/V1RollingUpdateStatefulSetStrategy.md new file mode 100644 index 00000000..f6fbda11 --- /dev/null +++ b/kubernetes/docs/V1RollingUpdateStatefulSetStrategy.md @@ -0,0 +1,8 @@ +# Kubernetes::V1RollingUpdateStatefulSetStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**partition** | **Integer** | Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. | [optional] + + diff --git a/kubernetes/docs/V1ScaleIOPersistentVolumeSource.md b/kubernetes/docs/V1ScaleIOPersistentVolumeSource.md new file mode 100644 index 00000000..756df7df --- /dev/null +++ b/kubernetes/docs/V1ScaleIOPersistentVolumeSource.md @@ -0,0 +1,17 @@ +# Kubernetes::V1ScaleIOPersistentVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\" | [optional] +**gateway** | **String** | The host address of the ScaleIO API Gateway. | +**protection_domain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional] +**read_only** | **BOOLEAN** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1SecretReference**](V1SecretReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. | +**ssl_enabled** | **BOOLEAN** | Flag to enable/disable SSL communication with Gateway, default false | [optional] +**storage_mode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. | [optional] +**storage_pool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional] +**system** | **String** | The name of the storage system as configured in ScaleIO. | +**volume_name** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional] + + diff --git a/kubernetes/docs/V1ScaleIOVolumeSource.md b/kubernetes/docs/V1ScaleIOVolumeSource.md index 88de928a..d1049d7a 100644 --- a/kubernetes/docs/V1ScaleIOVolumeSource.md +++ b/kubernetes/docs/V1ScaleIOVolumeSource.md @@ -3,14 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**fs_type** | **String** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". | [optional] **gateway** | **String** | The host address of the ScaleIO API Gateway. | -**protection_domain** | **String** | The name of the Protection Domain for the configured storage (defaults to \"default\"). | [optional] +**protection_domain** | **String** | The name of the ScaleIO Protection Domain for the configured storage. | [optional] **read_only** | **BOOLEAN** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] **secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. | **ssl_enabled** | **BOOLEAN** | Flag to enable/disable SSL communication with Gateway, default false | [optional] -**storage_mode** | **String** | Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\"). | [optional] -**storage_pool** | **String** | The Storage Pool associated with the protection domain (defaults to \"default\"). | [optional] +**storage_mode** | **String** | Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. | [optional] +**storage_pool** | **String** | The ScaleIO Storage Pool associated with the protection domain. | [optional] **system** | **String** | The name of the storage system as configured in ScaleIO. | **volume_name** | **String** | The name of a volume already created in the ScaleIO system that is associated with this volume source. | [optional] diff --git a/kubernetes/docs/V1ScopeSelector.md b/kubernetes/docs/V1ScopeSelector.md new file mode 100644 index 00000000..af95b531 --- /dev/null +++ b/kubernetes/docs/V1ScopeSelector.md @@ -0,0 +1,8 @@ +# Kubernetes::V1ScopeSelector + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_expressions** | [**Array<V1ScopedResourceSelectorRequirement>**](V1ScopedResourceSelectorRequirement.md) | A list of scope selector requirements by scope of the resources. | [optional] + + diff --git a/kubernetes/docs/V1ScopedResourceSelectorRequirement.md b/kubernetes/docs/V1ScopedResourceSelectorRequirement.md new file mode 100644 index 00000000..1d8dec81 --- /dev/null +++ b/kubernetes/docs/V1ScopedResourceSelectorRequirement.md @@ -0,0 +1,10 @@ +# Kubernetes::V1ScopedResourceSelectorRequirement + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**operator** | **String** | Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. | +**scope_name** | **String** | The name of the scope that the selector applies to. | +**values** | **Array<String>** | An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. | [optional] + + diff --git a/kubernetes/docs/V1SecurityContext.md b/kubernetes/docs/V1SecurityContext.md index bcf6b1e4..84135c63 100644 --- a/kubernetes/docs/V1SecurityContext.md +++ b/kubernetes/docs/V1SecurityContext.md @@ -6,7 +6,9 @@ Name | Type | Description | Notes **allow_privilege_escalation** | **BOOLEAN** | AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN | [optional] **capabilities** | [**V1Capabilities**](V1Capabilities.md) | The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. | [optional] **privileged** | **BOOLEAN** | Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. | [optional] +**proc_mount** | **String** | procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. | [optional] **read_only_root_filesystem** | **BOOLEAN** | Whether this container has a read-only root filesystem. Default is false. | [optional] +**run_as_group** | **Integer** | The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] **run_as_non_root** | **BOOLEAN** | Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] **run_as_user** | **Integer** | The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] **se_linux_options** | [**V1SELinuxOptions**](V1SELinuxOptions.md) | The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. | [optional] diff --git a/kubernetes/docs/V1ServiceAccountTokenProjection.md b/kubernetes/docs/V1ServiceAccountTokenProjection.md new file mode 100644 index 00000000..07e3f2e7 --- /dev/null +++ b/kubernetes/docs/V1ServiceAccountTokenProjection.md @@ -0,0 +1,10 @@ +# Kubernetes::V1ServiceAccountTokenProjection + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**audience** | **String** | Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. | [optional] +**expiration_seconds** | **Integer** | ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. | [optional] +**path** | **String** | Path is the path relative to the mount point of the file to project the token into. | + + diff --git a/kubernetes/docs/V1ServicePort.md b/kubernetes/docs/V1ServicePort.md index 703d2fca..c4d92381 100644 --- a/kubernetes/docs/V1ServicePort.md +++ b/kubernetes/docs/V1ServicePort.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **name** | **String** | The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service. | [optional] **node_port** | **Integer** | The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one. More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport | [optional] **port** | **Integer** | The port that will be exposed by this service. | -**protocol** | **String** | The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP. | [optional] +**protocol** | **String** | The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP. | [optional] **target_port** | **Object** | Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service | [optional] diff --git a/kubernetes/docs/V1beta1ServiceReference.md b/kubernetes/docs/V1ServiceReference.md similarity index 87% rename from kubernetes/docs/V1beta1ServiceReference.md rename to kubernetes/docs/V1ServiceReference.md index fdf439e2..1190a3dc 100644 --- a/kubernetes/docs/V1beta1ServiceReference.md +++ b/kubernetes/docs/V1ServiceReference.md @@ -1,4 +1,4 @@ -# Kubernetes::V1beta1ServiceReference +# Kubernetes::V1ServiceReference ## Properties Name | Type | Description | Notes diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md index c0f0eac0..9a50a07f 100644 --- a/kubernetes/docs/V1ServiceSpec.md +++ b/kubernetes/docs/V1ServiceSpec.md @@ -5,13 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **cluster_ip** | **String** | clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **external_i_ps** | **Array<String>** | externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. | [optional] -**external_name** | **String** | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName. | [optional] +**external_name** | **String** | externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName. | [optional] **external_traffic_policy** | **String** | externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. | [optional] **health_check_node_port** | **Integer** | healthCheckNodePort specifies the healthcheck nodePort for the service. If not specified, HealthCheckNodePort is created by the service api backend with the allocated nodePort. Will use user-specified nodePort value if specified by the client. Only effects when Type is set to LoadBalancer and ExternalTrafficPolicy is set to Local. | [optional] **load_balancer_ip** | **String** | Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. This feature depends on whether the underlying cloud-provider supports specifying the loadBalancerIP when a load balancer is created. This field will be ignored if the cloud-provider does not support the feature. | [optional] **load_balancer_source_ranges** | **Array<String>** | If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/ | [optional] **ports** | [**Array<V1ServicePort>**](V1ServicePort.md) | The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] -**publish_not_ready_addresses** | **BOOLEAN** | publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. | [optional] +**publish_not_ready_addresses** | **BOOLEAN** | publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. | [optional] **selector** | **Hash<String, String>** | Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ | [optional] **session_affinity** | **String** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies | [optional] **session_affinity_config** | [**V1SessionAffinityConfig**](V1SessionAffinityConfig.md) | sessionAffinityConfig contains the configurations of session affinity. | [optional] diff --git a/kubernetes/docs/V1StatefulSet.md b/kubernetes/docs/V1StatefulSet.md new file mode 100644 index 00000000..480c27b1 --- /dev/null +++ b/kubernetes/docs/V1StatefulSet.md @@ -0,0 +1,12 @@ +# Kubernetes::V1StatefulSet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1StatefulSetSpec**](V1StatefulSetSpec.md) | Spec defines the desired identities of pods in this set. | [optional] +**status** | [**V1StatefulSetStatus**](V1StatefulSetStatus.md) | Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. | [optional] + + diff --git a/kubernetes/docs/V1StatefulSetCondition.md b/kubernetes/docs/V1StatefulSetCondition.md new file mode 100644 index 00000000..1f3cd1c9 --- /dev/null +++ b/kubernetes/docs/V1StatefulSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1StatefulSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of statefulset condition. | + + diff --git a/kubernetes/docs/V1StatefulSetList.md b/kubernetes/docs/V1StatefulSetList.md new file mode 100644 index 00000000..4a0a34cd --- /dev/null +++ b/kubernetes/docs/V1StatefulSetList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1StatefulSetList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1StatefulSet>**](V1StatefulSet.md) | | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + diff --git a/kubernetes/docs/V1StatefulSetSpec.md b/kubernetes/docs/V1StatefulSetSpec.md new file mode 100644 index 00000000..3d370990 --- /dev/null +++ b/kubernetes/docs/V1StatefulSetSpec.md @@ -0,0 +1,15 @@ +# Kubernetes::V1StatefulSetSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pod_management_policy** | **String** | podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. | [optional] +**replicas** | **Integer** | replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] +**revision_history_limit** | **Integer** | revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | +**service_name** | **String** | serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | +**template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | +**update_strategy** | [**V1StatefulSetUpdateStrategy**](V1StatefulSetUpdateStrategy.md) | updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. | [optional] +**volume_claim_templates** | [**Array<V1PersistentVolumeClaim>**](V1PersistentVolumeClaim.md) | volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. | [optional] + + diff --git a/kubernetes/docs/V1StatefulSetStatus.md b/kubernetes/docs/V1StatefulSetStatus.md new file mode 100644 index 00000000..8ceb5bee --- /dev/null +++ b/kubernetes/docs/V1StatefulSetStatus.md @@ -0,0 +1,16 @@ +# Kubernetes::V1StatefulSetStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collision_count** | **Integer** | collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1StatefulSetCondition>**](V1StatefulSetCondition.md) | Represents the latest available observations of a statefulset's current state. | [optional] +**current_replicas** | **Integer** | currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. | [optional] +**current_revision** | **String** | currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | [optional] +**observed_generation** | **Integer** | observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. | [optional] +**ready_replicas** | **Integer** | readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. | [optional] +**replicas** | **Integer** | replicas is the number of Pods created by the StatefulSet controller. | +**update_revision** | **String** | updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) | [optional] +**updated_replicas** | **Integer** | updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. | [optional] + + diff --git a/kubernetes/docs/V1StatefulSetUpdateStrategy.md b/kubernetes/docs/V1StatefulSetUpdateStrategy.md new file mode 100644 index 00000000..5c44b7fb --- /dev/null +++ b/kubernetes/docs/V1StatefulSetUpdateStrategy.md @@ -0,0 +1,9 @@ +# Kubernetes::V1StatefulSetUpdateStrategy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**rolling_update** | [**V1RollingUpdateStatefulSetStrategy**](V1RollingUpdateStatefulSetStrategy.md) | RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. | [optional] +**type** | **String** | Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. | [optional] + + diff --git a/kubernetes/docs/V1StorageClass.md b/kubernetes/docs/V1StorageClass.md index bde74161..9dec8f45 100644 --- a/kubernetes/docs/V1StorageClass.md +++ b/kubernetes/docs/V1StorageClass.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allow_volume_expansion** | **BOOLEAN** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**allowed_topologies** | [**Array<V1TopologySelectorTerm>**](V1TopologySelectorTerm.md) | Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] @@ -11,5 +12,6 @@ Name | Type | Description | Notes **parameters** | **Hash<String, String>** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] **provisioner** | **String** | Provisioner indicates the type of the provisioner. | **reclaim_policy** | **String** | Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. | [optional] +**volume_binding_mode** | **String** | VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. | [optional] diff --git a/kubernetes/docs/V1SubjectAccessReviewStatus.md b/kubernetes/docs/V1SubjectAccessReviewStatus.md index 9667fe6b..2c5917f6 100644 --- a/kubernetes/docs/V1SubjectAccessReviewStatus.md +++ b/kubernetes/docs/V1SubjectAccessReviewStatus.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allowed** | **BOOLEAN** | Allowed is required. True if the action would be allowed, false otherwise. | +**allowed** | **BOOLEAN** | Allowed is required. True if the action would be allowed, false otherwise. | +**denied** | **BOOLEAN** | Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. | [optional] **evaluation_error** | **String** | EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. | [optional] **reason** | **String** | Reason is optional. It indicates why a request was allowed or denied. | [optional] diff --git a/kubernetes/docs/V1Sysctl.md b/kubernetes/docs/V1Sysctl.md new file mode 100644 index 00000000..e61a706d --- /dev/null +++ b/kubernetes/docs/V1Sysctl.md @@ -0,0 +1,9 @@ +# Kubernetes::V1Sysctl + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of a property to set | +**value** | **String** | Value of a property to set | + + diff --git a/kubernetes/docs/V1TokenReviewSpec.md b/kubernetes/docs/V1TokenReviewSpec.md index 502a4bd8..3dff6620 100644 --- a/kubernetes/docs/V1TokenReviewSpec.md +++ b/kubernetes/docs/V1TokenReviewSpec.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **Array<String>** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] **token** | **String** | Token is the opaque bearer token. | [optional] diff --git a/kubernetes/docs/V1TokenReviewStatus.md b/kubernetes/docs/V1TokenReviewStatus.md index 9bf66086..5c0ff6c0 100644 --- a/kubernetes/docs/V1TokenReviewStatus.md +++ b/kubernetes/docs/V1TokenReviewStatus.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **Array<String>** | Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] **authenticated** | **BOOLEAN** | Authenticated indicates that the token was associated with a known user. | [optional] **error** | **String** | Error indicates that the token couldn't be checked | [optional] **user** | [**V1UserInfo**](V1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional] diff --git a/kubernetes/docs/V1TopologySelectorLabelRequirement.md b/kubernetes/docs/V1TopologySelectorLabelRequirement.md new file mode 100644 index 00000000..34380976 --- /dev/null +++ b/kubernetes/docs/V1TopologySelectorLabelRequirement.md @@ -0,0 +1,9 @@ +# Kubernetes::V1TopologySelectorLabelRequirement + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **String** | The label key that the selector applies to. | +**values** | **Array<String>** | An array of string values. One value must match the label to be selected. Each entry in Values is ORed. | + + diff --git a/kubernetes/docs/V1TopologySelectorTerm.md b/kubernetes/docs/V1TopologySelectorTerm.md new file mode 100644 index 00000000..401f4629 --- /dev/null +++ b/kubernetes/docs/V1TopologySelectorTerm.md @@ -0,0 +1,8 @@ +# Kubernetes::V1TopologySelectorTerm + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**match_label_expressions** | [**Array<V1TopologySelectorLabelRequirement>**](V1TopologySelectorLabelRequirement.md) | A list of topology selector requirements by labels. | [optional] + + diff --git a/kubernetes/docs/V1TypedLocalObjectReference.md b/kubernetes/docs/V1TypedLocalObjectReference.md new file mode 100644 index 00000000..1fbbf5e8 --- /dev/null +++ b/kubernetes/docs/V1TypedLocalObjectReference.md @@ -0,0 +1,10 @@ +# Kubernetes::V1TypedLocalObjectReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_group** | **String** | APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. | [optional] +**kind** | **String** | Kind is the type of resource being referenced | +**name** | **String** | Name is the name of resource being referenced | + + diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md index 3bb3a852..584c1897 100644 --- a/kubernetes/docs/V1Volume.md +++ b/kubernetes/docs/V1Volume.md @@ -12,10 +12,10 @@ Name | Type | Description | Notes **downward_api** | [**V1DownwardAPIVolumeSource**](V1DownwardAPIVolumeSource.md) | DownwardAPI represents downward API about the pod that should populate this volume | [optional] **empty_dir** | [**V1EmptyDirVolumeSource**](V1EmptyDirVolumeSource.md) | EmptyDir represents a temporary directory that shares a pod's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir | [optional] **fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] -**flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] +**flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. | [optional] **flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running | [optional] **gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk | [optional] -**git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. | [optional] +**git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. | [optional] **glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] **host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath | [optional] **iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional] diff --git a/kubernetes/docs/V1VolumeAttachment.md b/kubernetes/docs/V1VolumeAttachment.md new file mode 100644 index 00000000..5b3cfe63 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachment.md @@ -0,0 +1,12 @@ +# Kubernetes::V1VolumeAttachment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1VolumeAttachmentSpec**](V1VolumeAttachmentSpec.md) | Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. | +**status** | [**V1VolumeAttachmentStatus**](V1VolumeAttachmentStatus.md) | Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1VolumeAttachmentList.md b/kubernetes/docs/V1VolumeAttachmentList.md new file mode 100644 index 00000000..bf0660a3 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1VolumeAttachmentList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1VolumeAttachment>**](V1VolumeAttachment.md) | Items is the list of VolumeAttachments | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1VolumeAttachmentSource.md b/kubernetes/docs/V1VolumeAttachmentSource.md new file mode 100644 index 00000000..56a18222 --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentSource.md @@ -0,0 +1,8 @@ +# Kubernetes::V1VolumeAttachmentSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**persistent_volume_name** | **String** | Name of the persistent volume to attach. | [optional] + + diff --git a/kubernetes/docs/V1VolumeAttachmentSpec.md b/kubernetes/docs/V1VolumeAttachmentSpec.md new file mode 100644 index 00000000..9a2fb67b --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentSpec.md @@ -0,0 +1,10 @@ +# Kubernetes::V1VolumeAttachmentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | +**node_name** | **String** | The node that the volume should be attached to. | +**source** | [**V1VolumeAttachmentSource**](V1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | + + diff --git a/kubernetes/docs/V1VolumeAttachmentStatus.md b/kubernetes/docs/V1VolumeAttachmentStatus.md new file mode 100644 index 00000000..a8e1b6ff --- /dev/null +++ b/kubernetes/docs/V1VolumeAttachmentStatus.md @@ -0,0 +1,11 @@ +# Kubernetes::V1VolumeAttachmentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attach_error** | [**V1VolumeError**](V1VolumeError.md) | The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**attached** | **BOOLEAN** | Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | +**attachment_metadata** | **Hash<String, String>** | Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**detach_error** | [**V1VolumeError**](V1VolumeError.md) | The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1VolumeDevice.md b/kubernetes/docs/V1VolumeDevice.md new file mode 100644 index 00000000..32b1787f --- /dev/null +++ b/kubernetes/docs/V1VolumeDevice.md @@ -0,0 +1,9 @@ +# Kubernetes::V1VolumeDevice + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**device_path** | **String** | devicePath is the path inside of the container that the device will be mapped to. | +**name** | **String** | name must match the name of a persistentVolumeClaim in the pod | + + diff --git a/kubernetes/docs/V1VolumeError.md b/kubernetes/docs/V1VolumeError.md new file mode 100644 index 00000000..999c4b99 --- /dev/null +++ b/kubernetes/docs/V1VolumeError.md @@ -0,0 +1,9 @@ +# Kubernetes::V1VolumeError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **String** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] +**time** | **DateTime** | Time the error was encountered. | [optional] + + diff --git a/kubernetes/docs/V1VolumeMount.md b/kubernetes/docs/V1VolumeMount.md index 6ff036cf..db7a5bb5 100644 --- a/kubernetes/docs/V1VolumeMount.md +++ b/kubernetes/docs/V1VolumeMount.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **mount_path** | **String** | Path within the container at which the volume should be mounted. Must not contain ':'. | -**mount_propagation** | **String** | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release. | [optional] +**mount_propagation** | **String** | mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. | [optional] **name** | **String** | This must match the Name of a Volume. | **read_only** | **BOOLEAN** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional] **sub_path** | **String** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [optional] diff --git a/kubernetes/docs/V1VolumeNodeAffinity.md b/kubernetes/docs/V1VolumeNodeAffinity.md new file mode 100644 index 00000000..cb751892 --- /dev/null +++ b/kubernetes/docs/V1VolumeNodeAffinity.md @@ -0,0 +1,8 @@ +# Kubernetes::V1VolumeNodeAffinity + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**required** | [**V1NodeSelector**](V1NodeSelector.md) | Required specifies hard node constraints that must be met. | [optional] + + diff --git a/kubernetes/docs/V1VolumeProjection.md b/kubernetes/docs/V1VolumeProjection.md index e6e76a86..4151d0e8 100644 --- a/kubernetes/docs/V1VolumeProjection.md +++ b/kubernetes/docs/V1VolumeProjection.md @@ -6,5 +6,6 @@ Name | Type | Description | Notes **config_map** | [**V1ConfigMapProjection**](V1ConfigMapProjection.md) | information about the configMap data to project | [optional] **downward_api** | [**V1DownwardAPIProjection**](V1DownwardAPIProjection.md) | information about the downwardAPI data to project | [optional] **secret** | [**V1SecretProjection**](V1SecretProjection.md) | information about the secret data to project | [optional] +**service_account_token** | [**V1ServiceAccountTokenProjection**](V1ServiceAccountTokenProjection.md) | information about the serviceAccountToken data to project | [optional] diff --git a/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md b/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md deleted file mode 100644 index 7c95f7e1..00000000 --- a/kubernetes/docs/V1alpha1AdmissionHookClientConfig.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1alpha1AdmissionHookClientConfig - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ca_bundle** | **String** | CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required | -**service** | [**V1alpha1ServiceReference**](V1alpha1ServiceReference.md) | Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required | - - diff --git a/kubernetes/docs/V1alpha1AggregationRule.md b/kubernetes/docs/V1alpha1AggregationRule.md new file mode 100644 index 00000000..9c000d5d --- /dev/null +++ b/kubernetes/docs/V1alpha1AggregationRule.md @@ -0,0 +1,8 @@ +# Kubernetes::V1alpha1AggregationRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cluster_role_selectors** | [**Array<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] + + diff --git a/kubernetes/docs/V1alpha1AuditSink.md b/kubernetes/docs/V1alpha1AuditSink.md new file mode 100644 index 00000000..14ba8e0c --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSink.md @@ -0,0 +1,11 @@ +# Kubernetes::V1alpha1AuditSink + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1alpha1AuditSinkSpec**](V1alpha1AuditSinkSpec.md) | Spec defines the audit configuration spec | [optional] + + diff --git a/kubernetes/docs/V1alpha1AuditSinkList.md b/kubernetes/docs/V1alpha1AuditSinkList.md new file mode 100644 index 00000000..5134afa4 --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSinkList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1alpha1AuditSinkList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1alpha1AuditSink>**](V1alpha1AuditSink.md) | List of audit configurations. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + + diff --git a/kubernetes/docs/V1alpha1AuditSinkSpec.md b/kubernetes/docs/V1alpha1AuditSinkSpec.md new file mode 100644 index 00000000..e6e5a13f --- /dev/null +++ b/kubernetes/docs/V1alpha1AuditSinkSpec.md @@ -0,0 +1,9 @@ +# Kubernetes::V1alpha1AuditSinkSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**policy** | [**V1alpha1Policy**](V1alpha1Policy.md) | Policy defines the policy for selecting which events should be sent to the webhook required | +**webhook** | [**V1alpha1Webhook**](V1alpha1Webhook.md) | Webhook to send events required | + + diff --git a/kubernetes/docs/V1alpha1ClusterRole.md b/kubernetes/docs/V1alpha1ClusterRole.md index 879ab884..425f009f 100644 --- a/kubernetes/docs/V1alpha1ClusterRole.md +++ b/kubernetes/docs/V1alpha1ClusterRole.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**aggregation_rule** | [**V1alpha1AggregationRule**](V1alpha1AggregationRule.md) | AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md index 3d74dc9e..3ee68746 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHook.md b/kubernetes/docs/V1alpha1ExternalAdmissionHook.md deleted file mode 100644 index a22f7cc7..00000000 --- a/kubernetes/docs/V1alpha1ExternalAdmissionHook.md +++ /dev/null @@ -1,11 +0,0 @@ -# Kubernetes::V1alpha1ExternalAdmissionHook - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**client_config** | [**V1alpha1AdmissionHookClientConfig**](V1alpha1AdmissionHookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required | -**failure_policy** | **String** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional] -**name** | **String** | The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. | -**rules** | [**Array<V1alpha1RuleWithOperations>**](V1alpha1RuleWithOperations.md) | Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. | [optional] - - diff --git a/kubernetes/docs/V1alpha1Policy.md b/kubernetes/docs/V1alpha1Policy.md new file mode 100644 index 00000000..c6fa5b76 --- /dev/null +++ b/kubernetes/docs/V1alpha1Policy.md @@ -0,0 +1,9 @@ +# Kubernetes::V1alpha1Policy + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**level** | **String** | The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required | +**stages** | **Array<String>** | Stages is a list of stages for which events are created. | [optional] + + diff --git a/kubernetes/docs/V1alpha1PriorityClass.md b/kubernetes/docs/V1alpha1PriorityClass.md index d5c06f61..0d5032f9 100644 --- a/kubernetes/docs/V1alpha1PriorityClass.md +++ b/kubernetes/docs/V1alpha1PriorityClass.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **description** | **String** | description is an arbitrary string that usually provides guidelines on when this priority class should be used. | [optional] -**global_default** | **BOOLEAN** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. | [optional] +**global_default** | **BOOLEAN** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] **value** | **Integer** | The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. | diff --git a/kubernetes/docs/V1alpha1PriorityClassList.md b/kubernetes/docs/V1alpha1PriorityClassList.md index fb76d52a..6a7d1cdd 100644 --- a/kubernetes/docs/V1alpha1PriorityClassList.md +++ b/kubernetes/docs/V1alpha1PriorityClassList.md @@ -6,6 +6,6 @@ Name | Type | Description | Notes **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **items** | [**Array<V1alpha1PriorityClass>**](V1alpha1PriorityClass.md) | items is the list of PriorityClasses | **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] -**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md index b42a84a0..40e3a78e 100644 --- a/kubernetes/docs/V1alpha1RoleBinding.md +++ b/kubernetes/docs/V1alpha1RoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1alpha1Subject>**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1alpha1ServiceReference.md b/kubernetes/docs/V1alpha1ServiceReference.md index 59a6ae7c..8241a254 100644 --- a/kubernetes/docs/V1alpha1ServiceReference.md +++ b/kubernetes/docs/V1alpha1ServiceReference.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name is the name of the service Required | -**namespace** | **String** | Namespace is the namespace of the service Required | +**name** | **String** | `name` is the name of the service. Required | +**namespace** | **String** | `namespace` is the namespace of the service. Required | +**path** | **String** | `path` is an optional URL path which will be sent in any request to this service. | [optional] diff --git a/kubernetes/docs/V1alpha1VolumeAttachment.md b/kubernetes/docs/V1alpha1VolumeAttachment.md new file mode 100644 index 00000000..a64ddfa5 --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeAttachment.md @@ -0,0 +1,12 @@ +# Kubernetes::V1alpha1VolumeAttachment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1alpha1VolumeAttachmentSpec**](V1alpha1VolumeAttachmentSpec.md) | Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. | +**status** | [**V1alpha1VolumeAttachmentStatus**](V1alpha1VolumeAttachmentStatus.md) | Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1alpha1VolumeAttachmentList.md b/kubernetes/docs/V1alpha1VolumeAttachmentList.md new file mode 100644 index 00000000..4fbdf367 --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeAttachmentList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1alpha1VolumeAttachmentList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1alpha1VolumeAttachment>**](V1alpha1VolumeAttachment.md) | Items is the list of VolumeAttachments | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1alpha1VolumeAttachmentSource.md b/kubernetes/docs/V1alpha1VolumeAttachmentSource.md new file mode 100644 index 00000000..a6b9c527 --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeAttachmentSource.md @@ -0,0 +1,8 @@ +# Kubernetes::V1alpha1VolumeAttachmentSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**persistent_volume_name** | **String** | Name of the persistent volume to attach. | [optional] + + diff --git a/kubernetes/docs/V1alpha1VolumeAttachmentSpec.md b/kubernetes/docs/V1alpha1VolumeAttachmentSpec.md new file mode 100644 index 00000000..0f1c98fe --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeAttachmentSpec.md @@ -0,0 +1,10 @@ +# Kubernetes::V1alpha1VolumeAttachmentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | +**node_name** | **String** | The node that the volume should be attached to. | +**source** | [**V1alpha1VolumeAttachmentSource**](V1alpha1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | + + diff --git a/kubernetes/docs/V1alpha1VolumeAttachmentStatus.md b/kubernetes/docs/V1alpha1VolumeAttachmentStatus.md new file mode 100644 index 00000000..2eecd5f0 --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeAttachmentStatus.md @@ -0,0 +1,11 @@ +# Kubernetes::V1alpha1VolumeAttachmentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attach_error** | [**V1alpha1VolumeError**](V1alpha1VolumeError.md) | The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**attached** | **BOOLEAN** | Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | +**attachment_metadata** | **Hash<String, String>** | Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**detach_error** | [**V1alpha1VolumeError**](V1alpha1VolumeError.md) | The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1alpha1VolumeError.md b/kubernetes/docs/V1alpha1VolumeError.md new file mode 100644 index 00000000..1b43c705 --- /dev/null +++ b/kubernetes/docs/V1alpha1VolumeError.md @@ -0,0 +1,9 @@ +# Kubernetes::V1alpha1VolumeError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **String** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] +**time** | **DateTime** | Time the error was encountered. | [optional] + + diff --git a/kubernetes/docs/V1alpha1Webhook.md b/kubernetes/docs/V1alpha1Webhook.md new file mode 100644 index 00000000..4dac4689 --- /dev/null +++ b/kubernetes/docs/V1alpha1Webhook.md @@ -0,0 +1,9 @@ +# Kubernetes::V1alpha1Webhook + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**client_config** | [**V1alpha1WebhookClientConfig**](V1alpha1WebhookClientConfig.md) | ClientConfig holds the connection parameters for the webhook required | +**throttle** | [**V1alpha1WebhookThrottleConfig**](V1alpha1WebhookThrottleConfig.md) | Throttle holds the options for throttling the webhook | [optional] + + diff --git a/kubernetes/docs/V1alpha1WebhookClientConfig.md b/kubernetes/docs/V1alpha1WebhookClientConfig.md new file mode 100644 index 00000000..eacbb1fd --- /dev/null +++ b/kubernetes/docs/V1alpha1WebhookClientConfig.md @@ -0,0 +1,10 @@ +# Kubernetes::V1alpha1WebhookClientConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ca_bundle** | **String** | `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. | [optional] +**service** | [**V1alpha1ServiceReference**](V1alpha1ServiceReference.md) | `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. | [optional] +**url** | **String** | `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. | [optional] + + diff --git a/kubernetes/docs/V1alpha1WebhookThrottleConfig.md b/kubernetes/docs/V1alpha1WebhookThrottleConfig.md new file mode 100644 index 00000000..08bbe836 --- /dev/null +++ b/kubernetes/docs/V1alpha1WebhookThrottleConfig.md @@ -0,0 +1,9 @@ +# Kubernetes::V1alpha1WebhookThrottleConfig + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**burst** | **Integer** | ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS | [optional] +**qps** | **Integer** | ThrottleQPS maximum number of batches per second default 10 QPS | [optional] + + diff --git a/kubernetes/docs/V1beta1APIServiceSpec.md b/kubernetes/docs/V1beta1APIServiceSpec.md index 90db835d..ecd22a01 100644 --- a/kubernetes/docs/V1beta1APIServiceSpec.md +++ b/kubernetes/docs/V1beta1APIServiceSpec.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ca_bundle** | **String** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. | +**ca_bundle** | **String** | CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. | [optional] **group** | **String** | Group is the API group name this server hosts | [optional] -**group_priority_minimum** | **Integer** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | +**group_priority_minimum** | **Integer** | GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s | **insecure_skip_tls_verify** | **BOOLEAN** | InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. | [optional] -**service** | [**V1beta1ServiceReference**](V1beta1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | +**service** | [**ApiregistrationV1beta1ServiceReference**](ApiregistrationV1beta1ServiceReference.md) | Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. | **version** | **String** | Version is the API version this server hosts. For example, \"v1\" | [optional] -**version_priority** | **Integer** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. | +**version_priority** | **Integer** | VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | diff --git a/kubernetes/docs/V1beta1AggregationRule.md b/kubernetes/docs/V1beta1AggregationRule.md new file mode 100644 index 00000000..292ec995 --- /dev/null +++ b/kubernetes/docs/V1beta1AggregationRule.md @@ -0,0 +1,8 @@ +# Kubernetes::V1beta1AggregationRule + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cluster_role_selectors** | [**Array<V1LabelSelector>**](V1LabelSelector.md) | ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added | [optional] + + diff --git a/kubernetes/docs/V1beta1AllowedHostPath.md b/kubernetes/docs/V1beta1AllowedHostPath.md deleted file mode 100644 index 91e8dc23..00000000 --- a/kubernetes/docs/V1beta1AllowedHostPath.md +++ /dev/null @@ -1,8 +0,0 @@ -# Kubernetes::V1beta1AllowedHostPath - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path_prefix** | **String** | is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` | [optional] - - diff --git a/kubernetes/docs/V1beta1ClusterRole.md b/kubernetes/docs/V1beta1ClusterRole.md index 4fcc477b..2c41cbfc 100644 --- a/kubernetes/docs/V1beta1ClusterRole.md +++ b/kubernetes/docs/V1beta1ClusterRole.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**aggregation_rule** | [**V1beta1AggregationRule**](V1beta1AggregationRule.md) | AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] diff --git a/kubernetes/docs/V1beta1ClusterRoleBinding.md b/kubernetes/docs/V1beta1ClusterRoleBinding.md index e924dcdc..d94a8b98 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBinding.md +++ b/kubernetes/docs/V1beta1ClusterRoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1beta1CronJobSpec.md b/kubernetes/docs/V1beta1CronJobSpec.md index a6d59e27..e1b718cd 100644 --- a/kubernetes/docs/V1beta1CronJobSpec.md +++ b/kubernetes/docs/V1beta1CronJobSpec.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**concurrency_policy** | **String** | Specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional] +**concurrency_policy** | **String** | Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one | [optional] **failed_jobs_history_limit** | **Integer** | The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] **job_template** | [**V1beta1JobTemplateSpec**](V1beta1JobTemplateSpec.md) | Specifies the job that will be created when executing a CronJob. | **schedule** | **String** | The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | diff --git a/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md b/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md new file mode 100644 index 00000000..1bb7f6fc --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceColumnDefinition.md @@ -0,0 +1,13 @@ +# Kubernetes::V1beta1CustomResourceColumnDefinition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**json_path** | **String** | JSONPath is a simple JSON path, i.e. with array notation. | +**description** | **String** | description is a human readable description of this column. | [optional] +**format** | **String** | format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. | [optional] +**name** | **String** | name is a human readable name for the column. | +**priority** | **Integer** | priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. | [optional] +**type** | **String** | type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. | + + diff --git a/kubernetes/docs/V1beta1CustomResourceConversion.md b/kubernetes/docs/V1beta1CustomResourceConversion.md new file mode 100644 index 00000000..05ceae3d --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceConversion.md @@ -0,0 +1,9 @@ +# Kubernetes::V1beta1CustomResourceConversion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**strategy** | **String** | `strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. | +**webhook_client_config** | [**ApiextensionsV1beta1WebhookClientConfig**](ApiextensionsV1beta1WebhookClientConfig.md) | `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] + + diff --git a/kubernetes/docs/V1beta1CustomResourceDefinition.md b/kubernetes/docs/V1beta1CustomResourceDefinition.md index 4d00c8c3..92aa3d16 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinition.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinition.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] -**spec** | [**V1beta1CustomResourceDefinitionSpec**](V1beta1CustomResourceDefinitionSpec.md) | Spec describes how the user wants the resources to appear | [optional] +**spec** | [**V1beta1CustomResourceDefinitionSpec**](V1beta1CustomResourceDefinitionSpec.md) | Spec describes how the user wants the resources to appear | **status** | [**V1beta1CustomResourceDefinitionStatus**](V1beta1CustomResourceDefinitionStatus.md) | Status indicates the actual state of the CustomResourceDefinition | [optional] diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md b/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md index 498914af..199be022 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionNames.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**categories** | **Array<String>** | Categories is a list of grouped resources custom resources belong to (e.g. 'all') | [optional] **kind** | **String** | Kind is the serialized kind of the resource. It is normally CamelCase and singular. | **list_kind** | **String** | ListKind is the serialized kind of the list for this resource. Defaults to <kind>List. | [optional] **plural** | **String** | Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase. | diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md index fbdbbfcb..d465d37c 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionSpec.md @@ -3,10 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**additional_printer_columns** | [**Array<V1beta1CustomResourceColumnDefinition>**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. | [optional] +**conversion** | [**V1beta1CustomResourceConversion**](V1beta1CustomResourceConversion.md) | `conversion` defines conversion settings for the CRD. | [optional] **group** | **String** | Group is the group this resource belongs in | **names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | Names are the names used to describe this custom resource | **scope** | **String** | Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced | -**validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. | [optional] -**version** | **String** | Version is the version this resource belongs in | +**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive. | [optional] +**validation** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive. | [optional] +**version** | **String** | Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. | [optional] +**versions** | [**Array<V1beta1CustomResourceDefinitionVersion>**](V1beta1CustomResourceDefinitionVersion.md) | Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. | [optional] diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md index 9b131789..850603b6 100644 --- a/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionStatus.md @@ -5,5 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accepted_names** | [**V1beta1CustomResourceDefinitionNames**](V1beta1CustomResourceDefinitionNames.md) | AcceptedNames are the names that are actually being used to serve discovery They may be different than the names in spec. | **conditions** | [**Array<V1beta1CustomResourceDefinitionCondition>**](V1beta1CustomResourceDefinitionCondition.md) | Conditions indicate state for particular aspects of a CustomResourceDefinition | +**stored_versions** | **Array<String>** | StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field. | diff --git a/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md new file mode 100644 index 00000000..8e30e9fb --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceDefinitionVersion.md @@ -0,0 +1,13 @@ +# Kubernetes::V1beta1CustomResourceDefinitionVersion + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**additional_printer_columns** | [**Array<V1beta1CustomResourceColumnDefinition>**](V1beta1CustomResourceColumnDefinition.md) | AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null | [optional] +**name** | **String** | Name is the version name, e.g. “v1”, “v2beta1”, etc. | +**schema** | [**V1beta1CustomResourceValidation**](V1beta1CustomResourceValidation.md) | Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] +**served** | **BOOLEAN** | Served is a flag enabling/disabling this version from being served via REST APIs | +**storage** | **BOOLEAN** | Storage flags the version as storage version. There must be exactly one flagged as storage version. | +**subresources** | [**V1beta1CustomResourceSubresources**](V1beta1CustomResourceSubresources.md) | Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. | [optional] + + diff --git a/kubernetes/docs/V1beta1CustomResourceSubresourceScale.md b/kubernetes/docs/V1beta1CustomResourceSubresourceScale.md new file mode 100644 index 00000000..8f4e88cb --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceSubresourceScale.md @@ -0,0 +1,10 @@ +# Kubernetes::V1beta1CustomResourceSubresourceScale + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**label_selector_path** | **String** | LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string. | [optional] +**spec_replicas_path** | **String** | SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET. | +**status_replicas_path** | **String** | StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0. | + + diff --git a/kubernetes/docs/V1beta1CustomResourceSubresources.md b/kubernetes/docs/V1beta1CustomResourceSubresources.md new file mode 100644 index 00000000..ad0cfdbf --- /dev/null +++ b/kubernetes/docs/V1beta1CustomResourceSubresources.md @@ -0,0 +1,9 @@ +# Kubernetes::V1beta1CustomResourceSubresources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**scale** | [**V1beta1CustomResourceSubresourceScale**](V1beta1CustomResourceSubresourceScale.md) | Scale denotes the scale subresource for CustomResources | [optional] +**status** | **Object** | Status denotes the status subresource for CustomResources | [optional] + + diff --git a/kubernetes/docs/V1beta1DaemonSetCondition.md b/kubernetes/docs/V1beta1DaemonSetCondition.md new file mode 100644 index 00000000..e74d8110 --- /dev/null +++ b/kubernetes/docs/V1beta1DaemonSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta1DaemonSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of DaemonSet condition. | + + diff --git a/kubernetes/docs/V1beta1DaemonSetStatus.md b/kubernetes/docs/V1beta1DaemonSetStatus.md index e7bec7fe..aea9d9b1 100644 --- a/kubernetes/docs/V1beta1DaemonSetStatus.md +++ b/kubernetes/docs/V1beta1DaemonSetStatus.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **collision_count** | **Integer** | Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1beta1DaemonSetCondition>**](V1beta1DaemonSetCondition.md) | Represents the latest available observations of a DaemonSet's current state. | [optional] **current_number_scheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **desired_number_scheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **number_available** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] diff --git a/kubernetes/docs/V1beta1Event.md b/kubernetes/docs/V1beta1Event.md new file mode 100644 index 00000000..f83816ac --- /dev/null +++ b/kubernetes/docs/V1beta1Event.md @@ -0,0 +1,24 @@ +# Kubernetes::V1beta1Event + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**action** | **String** | What action was taken/failed regarding to the regarding object. | [optional] +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**deprecated_count** | **Integer** | Deprecated field assuring backward compatibility with core.v1 Event type | [optional] +**deprecated_first_timestamp** | **DateTime** | Deprecated field assuring backward compatibility with core.v1 Event type | [optional] +**deprecated_last_timestamp** | **DateTime** | Deprecated field assuring backward compatibility with core.v1 Event type | [optional] +**deprecated_source** | [**V1EventSource**](V1EventSource.md) | Deprecated field assuring backward compatibility with core.v1 Event type | [optional] +**event_time** | **DateTime** | Required. Time when this Event was first observed. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**note** | **String** | Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. | [optional] +**reason** | **String** | Why the action was taken. | [optional] +**regarding** | [**V1ObjectReference**](V1ObjectReference.md) | The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object. | [optional] +**related** | [**V1ObjectReference**](V1ObjectReference.md) | Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object. | [optional] +**reporting_controller** | **String** | Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. | [optional] +**reporting_instance** | **String** | ID of the controller instance, e.g. `kubelet-xyzf`. | [optional] +**series** | [**V1beta1EventSeries**](V1beta1EventSeries.md) | Data about the Event series this event represents or nil if it's a singleton Event. | [optional] +**type** | **String** | Type of this event (Normal, Warning), new types could be added in the future. | [optional] + + diff --git a/kubernetes/docs/V1beta1EventList.md b/kubernetes/docs/V1beta1EventList.md new file mode 100644 index 00000000..61bb122a --- /dev/null +++ b/kubernetes/docs/V1beta1EventList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1EventList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1Event>**](V1beta1Event.md) | Items is a list of schema objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1beta1EventSeries.md b/kubernetes/docs/V1beta1EventSeries.md new file mode 100644 index 00000000..e5a3e89d --- /dev/null +++ b/kubernetes/docs/V1beta1EventSeries.md @@ -0,0 +1,10 @@ +# Kubernetes::V1beta1EventSeries + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**count** | **Integer** | Number of occurrences in this series up to the last heartbeat time | +**last_observed_time** | **DateTime** | Time when last Event from the series was seen before last heartbeat. | +**state** | **String** | Information whether this series is ongoing or finished. | + + diff --git a/kubernetes/docs/V1beta1FSGroupStrategyOptions.md b/kubernetes/docs/V1beta1FSGroupStrategyOptions.md deleted file mode 100644 index 465e56ca..00000000 --- a/kubernetes/docs/V1beta1FSGroupStrategyOptions.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1FSGroupStrategyOptions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**Array<V1beta1IDRange>**](V1beta1IDRange.md) | Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. | [optional] -**rule** | **String** | Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. | [optional] - - diff --git a/kubernetes/docs/V1beta1IDRange.md b/kubernetes/docs/V1beta1IDRange.md deleted file mode 100644 index 1575cae2..00000000 --- a/kubernetes/docs/V1beta1IDRange.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1IDRange - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**max** | **Integer** | Max is the end of the range, inclusive. | -**min** | **Integer** | Min is the start of the range, inclusive. | - - diff --git a/kubernetes/docs/V1beta1JSON.md b/kubernetes/docs/V1beta1JSON.md deleted file mode 100644 index 5da271c9..00000000 --- a/kubernetes/docs/V1beta1JSON.md +++ /dev/null @@ -1,8 +0,0 @@ -# Kubernetes::V1beta1JSON - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**raw** | **String** | | - - diff --git a/kubernetes/docs/V1beta1JSONSchemaProps.md b/kubernetes/docs/V1beta1JSONSchemaProps.md index 100be94c..4d22ab4e 100644 --- a/kubernetes/docs/V1beta1JSONSchemaProps.md +++ b/kubernetes/docs/V1beta1JSONSchemaProps.md @@ -5,22 +5,22 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ref** | **String** | | [optional] **schema** | **String** | | [optional] -**additional_items** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] -**additional_properties** | [**V1beta1JSONSchemaPropsOrBool**](V1beta1JSONSchemaPropsOrBool.md) | | [optional] +**additional_items** | **Object** | JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. | [optional] +**additional_properties** | **Object** | JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. | [optional] **all_of** | [**Array<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] **any_of** | [**Array<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] -**default** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**default** | **Object** | JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. | [optional] **definitions** | [**Hash<String, V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | [optional] -**dependencies** | [**Hash<String, V1beta1JSONSchemaPropsOrStringArray>**](V1beta1JSONSchemaPropsOrStringArray.md) | | [optional] +**dependencies** | **Hash<String, Object>** | | [optional] **description** | **String** | | [optional] -**enum** | [**Array<V1beta1JSON>**](V1beta1JSON.md) | | [optional] -**example** | [**V1beta1JSON**](V1beta1JSON.md) | | [optional] +**enum** | **Array<Object>** | | [optional] +**example** | **Object** | JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. | [optional] **exclusive_maximum** | **BOOLEAN** | | [optional] **exclusive_minimum** | **BOOLEAN** | | [optional] **external_docs** | [**V1beta1ExternalDocumentation**](V1beta1ExternalDocumentation.md) | | [optional] **format** | **String** | | [optional] **id** | **String** | | [optional] -**items** | [**V1beta1JSONSchemaPropsOrArray**](V1beta1JSONSchemaPropsOrArray.md) | | [optional] +**items** | **Object** | JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. | [optional] **max_items** | **Integer** | | [optional] **max_length** | **Integer** | | [optional] **max_properties** | **Integer** | | [optional] diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md deleted file mode 100644 index f2867ee3..00000000 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrArray.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1JSONSchemaPropsOrArray - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**json_schemas** | [**Array<V1beta1JSONSchemaProps>**](V1beta1JSONSchemaProps.md) | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | - - diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md deleted file mode 100644 index a9cc11f9..00000000 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrBool.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1JSONSchemaPropsOrBool - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allows** | **BOOLEAN** | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | - - diff --git a/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md b/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md deleted file mode 100644 index ce1d1ae5..00000000 --- a/kubernetes/docs/V1beta1JSONSchemaPropsOrStringArray.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1JSONSchemaPropsOrStringArray - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**property** | **Array<String>** | | -**schema** | [**V1beta1JSONSchemaProps**](V1beta1JSONSchemaProps.md) | | - - diff --git a/kubernetes/docs/V1beta1Lease.md b/kubernetes/docs/V1beta1Lease.md new file mode 100644 index 00000000..0929b555 --- /dev/null +++ b/kubernetes/docs/V1beta1Lease.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1Lease + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1LeaseSpec**](V1beta1LeaseSpec.md) | Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status | [optional] + + diff --git a/kubernetes/docs/V1beta1LeaseList.md b/kubernetes/docs/V1beta1LeaseList.md new file mode 100644 index 00000000..16089d3a --- /dev/null +++ b/kubernetes/docs/V1beta1LeaseList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1LeaseList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1Lease>**](V1beta1Lease.md) | Items is a list of schema objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1beta1LeaseSpec.md b/kubernetes/docs/V1beta1LeaseSpec.md new file mode 100644 index 00000000..99a4374e --- /dev/null +++ b/kubernetes/docs/V1beta1LeaseSpec.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta1LeaseSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**acquire_time** | **DateTime** | acquireTime is a time when the current lease was acquired. | [optional] +**holder_identity** | **String** | holderIdentity contains the identity of the holder of a current lease. | [optional] +**lease_duration_seconds** | **Integer** | leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. | [optional] +**lease_transitions** | **Integer** | leaseTransitions is the number of transitions of a lease between holders. | [optional] +**renew_time** | **DateTime** | renewTime is a time when the current holder of a lease has last updated the lease. | [optional] + + diff --git a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md b/kubernetes/docs/V1beta1MutatingWebhookConfiguration.md similarity index 75% rename from kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md rename to kubernetes/docs/V1beta1MutatingWebhookConfiguration.md index 5672d371..b0a6bb77 100644 --- a/kubernetes/docs/V1alpha1ExternalAdmissionHookConfiguration.md +++ b/kubernetes/docs/V1beta1MutatingWebhookConfiguration.md @@ -1,11 +1,11 @@ -# Kubernetes::V1alpha1ExternalAdmissionHookConfiguration +# Kubernetes::V1beta1MutatingWebhookConfiguration ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] -**external_admission_hooks** | [**Array<V1alpha1ExternalAdmissionHook>**](V1alpha1ExternalAdmissionHook.md) | ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**webhooks** | [**Array<V1beta1Webhook>**](V1beta1Webhook.md) | Webhooks is a list of webhooks and the affected resources and operations. | [optional] diff --git a/kubernetes/docs/V1beta1MutatingWebhookConfigurationList.md b/kubernetes/docs/V1beta1MutatingWebhookConfigurationList.md new file mode 100644 index 00000000..ba2250d6 --- /dev/null +++ b/kubernetes/docs/V1beta1MutatingWebhookConfigurationList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1MutatingWebhookConfigurationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1MutatingWebhookConfiguration>**](V1beta1MutatingWebhookConfiguration.md) | List of MutatingWebhookConfiguration. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + diff --git a/kubernetes/docs/V1beta1NetworkPolicyPeer.md b/kubernetes/docs/V1beta1NetworkPolicyPeer.md index aac1dd4f..d19e9eec 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyPeer.md +++ b/kubernetes/docs/V1beta1NetworkPolicyPeer.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ip_block** | [**V1beta1IPBlock**](V1beta1IPBlock.md) | IPBlock defines policy on a particular IPBlock | [optional] -**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. | [optional] -**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. | [optional] +**ip_block** | [**V1beta1IPBlock**](V1beta1IPBlock.md) | IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. | [optional] +**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. | [optional] +**pod_selector** | [**V1LabelSelector**](V1LabelSelector.md) | This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyPort.md b/kubernetes/docs/V1beta1NetworkPolicyPort.md index 301dc775..3b1c20b6 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyPort.md +++ b/kubernetes/docs/V1beta1NetworkPolicyPort.md @@ -4,6 +4,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **port** | **Object** | If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. | [optional] -**protocol** | **String** | Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. | [optional] +**protocol** | **String** | Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. | [optional] diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md index 665b6138..50097541 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **current_healthy** | **Integer** | current number of healthy pods | **desired_healthy** | **Integer** | minimum desired number of healthy pods | -**disrupted_pods** | **Hash<String, DateTime>** | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. | +**disrupted_pods** | **Hash<String, DateTime>** | DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions. | [optional] **disruptions_allowed** | **Integer** | Number of pod disruptions that are currently allowed. | **expected_pods** | **Integer** | total number of pods counted by this disruption budget | **observed_generation** | **Integer** | Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status informatio is valid only if observedGeneration equals to PDB's object generation. | [optional] diff --git a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md b/kubernetes/docs/V1beta1PodSecurityPolicySpec.md deleted file mode 100644 index ff23f7e2..00000000 --- a/kubernetes/docs/V1beta1PodSecurityPolicySpec.md +++ /dev/null @@ -1,24 +0,0 @@ -# Kubernetes::V1beta1PodSecurityPolicySpec - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**allow_privilege_escalation** | **BOOLEAN** | AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. | [optional] -**allowed_capabilities** | **Array<String>** | AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. | [optional] -**allowed_host_paths** | [**Array<V1beta1AllowedHostPath>**](V1beta1AllowedHostPath.md) | is a white list of allowed host paths. Empty indicates that all host paths may be used. | [optional] -**default_add_capabilities** | **Array<String>** | DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. | [optional] -**default_allow_privilege_escalation** | **BOOLEAN** | DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. | [optional] -**fs_group** | [**V1beta1FSGroupStrategyOptions**](V1beta1FSGroupStrategyOptions.md) | FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. | -**host_ipc** | **BOOLEAN** | hostIPC determines if the policy allows the use of HostIPC in the pod spec. | [optional] -**host_network** | **BOOLEAN** | hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. | [optional] -**host_pid** | **BOOLEAN** | hostPID determines if the policy allows the use of HostPID in the pod spec. | [optional] -**host_ports** | [**Array<V1beta1HostPortRange>**](V1beta1HostPortRange.md) | hostPorts determines which host port ranges are allowed to be exposed. | [optional] -**privileged** | **BOOLEAN** | privileged determines if a pod can request to be run as privileged. | [optional] -**read_only_root_filesystem** | **BOOLEAN** | ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. | [optional] -**required_drop_capabilities** | **Array<String>** | RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. | [optional] -**run_as_user** | [**V1beta1RunAsUserStrategyOptions**](V1beta1RunAsUserStrategyOptions.md) | runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. | -**se_linux** | [**V1beta1SELinuxStrategyOptions**](V1beta1SELinuxStrategyOptions.md) | seLinux is the strategy that will dictate the allowable labels that may be set. | -**supplemental_groups** | [**V1beta1SupplementalGroupsStrategyOptions**](V1beta1SupplementalGroupsStrategyOptions.md) | SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. | -**volumes** | **Array<String>** | volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. | [optional] - - diff --git a/kubernetes/docs/V1beta1PolicyRule.md b/kubernetes/docs/V1beta1PolicyRule.md index aa5d38a9..17c0938e 100644 --- a/kubernetes/docs/V1beta1PolicyRule.md +++ b/kubernetes/docs/V1beta1PolicyRule.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **api_groups** | **Array<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. | [optional] **non_resource_ur_ls** | **Array<String>** | NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both. | [optional] **resource_names** | **Array<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. | [optional] -**resources** | **Array<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. | [optional] +**resources** | **Array<String>** | Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. | [optional] **verbs** | **Array<String>** | Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. | diff --git a/kubernetes/docs/V1beta1PriorityClass.md b/kubernetes/docs/V1beta1PriorityClass.md new file mode 100644 index 00000000..9be47091 --- /dev/null +++ b/kubernetes/docs/V1beta1PriorityClass.md @@ -0,0 +1,13 @@ +# Kubernetes::V1beta1PriorityClass + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**description** | **String** | description is an arbitrary string that usually provides guidelines on when this priority class should be used. | [optional] +**global_default** | **BOOLEAN** | globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**value** | **Integer** | The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. | + + diff --git a/kubernetes/docs/V1beta1PriorityClassList.md b/kubernetes/docs/V1beta1PriorityClassList.md new file mode 100644 index 00000000..cee5bc42 --- /dev/null +++ b/kubernetes/docs/V1beta1PriorityClassList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1PriorityClassList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1PriorityClass>**](V1beta1PriorityClass.md) | items is the list of PriorityClasses | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1beta1ResourceRule.md b/kubernetes/docs/V1beta1ResourceRule.md index d828fe37..5f329469 100644 --- a/kubernetes/docs/V1beta1ResourceRule.md +++ b/kubernetes/docs/V1beta1ResourceRule.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_groups** | **Array<String>** | APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all. | [optional] **resource_names** | **Array<String>** | ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. | [optional] -**resources** | **Array<String>** | Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. | [optional] +**resources** | **Array<String>** | Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. | [optional] **verbs** | **Array<String>** | Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. | diff --git a/kubernetes/docs/V1beta1RoleBinding.md b/kubernetes/docs/V1beta1RoleBinding.md index 17b50a8e..5a0bd150 100644 --- a/kubernetes/docs/V1beta1RoleBinding.md +++ b/kubernetes/docs/V1beta1RoleBinding.md @@ -7,6 +7,6 @@ Name | Type | Description | Notes **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1beta1RoleRef**](V1beta1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | -**subjects** | [**Array<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | +**subjects** | [**Array<V1beta1Subject>**](V1beta1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] diff --git a/kubernetes/docs/V1alpha1RuleWithOperations.md b/kubernetes/docs/V1beta1RuleWithOperations.md similarity index 97% rename from kubernetes/docs/V1alpha1RuleWithOperations.md rename to kubernetes/docs/V1beta1RuleWithOperations.md index f7dea0b0..59cb4a70 100644 --- a/kubernetes/docs/V1alpha1RuleWithOperations.md +++ b/kubernetes/docs/V1beta1RuleWithOperations.md @@ -1,4 +1,4 @@ -# Kubernetes::V1alpha1RuleWithOperations +# Kubernetes::V1beta1RuleWithOperations ## Properties Name | Type | Description | Notes diff --git a/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md b/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md deleted file mode 100644 index c4e82674..00000000 --- a/kubernetes/docs/V1beta1RunAsUserStrategyOptions.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1RunAsUserStrategyOptions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**Array<V1beta1IDRange>**](V1beta1IDRange.md) | Ranges are the allowed ranges of uids that may be used. | [optional] -**rule** | **String** | Rule is the strategy that will dictate the allowable RunAsUser values that may be set. | - - diff --git a/kubernetes/docs/V1beta1StatefulSetCondition.md b/kubernetes/docs/V1beta1StatefulSetCondition.md new file mode 100644 index 00000000..a7484926 --- /dev/null +++ b/kubernetes/docs/V1beta1StatefulSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta1StatefulSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of statefulset condition. | + + diff --git a/kubernetes/docs/V1beta1StatefulSetStatus.md b/kubernetes/docs/V1beta1StatefulSetStatus.md index f43b2c00..2782ea47 100644 --- a/kubernetes/docs/V1beta1StatefulSetStatus.md +++ b/kubernetes/docs/V1beta1StatefulSetStatus.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **collision_count** | **Integer** | collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1beta1StatefulSetCondition>**](V1beta1StatefulSetCondition.md) | Represents the latest available observations of a statefulset's current state. | [optional] **current_replicas** | **Integer** | currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. | [optional] **current_revision** | **String** | currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | [optional] **observed_generation** | **Integer** | observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. | [optional] diff --git a/kubernetes/docs/V1beta1StorageClass.md b/kubernetes/docs/V1beta1StorageClass.md index 516fe83d..bbef3d92 100644 --- a/kubernetes/docs/V1beta1StorageClass.md +++ b/kubernetes/docs/V1beta1StorageClass.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **allow_volume_expansion** | **BOOLEAN** | AllowVolumeExpansion shows whether the storage class allow volume expand | [optional] +**allowed_topologies** | [**Array<V1TopologySelectorTerm>**](V1TopologySelectorTerm.md) | Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. | [optional] **api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] **kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] @@ -11,5 +12,6 @@ Name | Type | Description | Notes **parameters** | **Hash<String, String>** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] **provisioner** | **String** | Provisioner indicates the type of the provisioner. | **reclaim_policy** | **String** | Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. | [optional] +**volume_binding_mode** | **String** | VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. | [optional] diff --git a/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md b/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md index fc1bed38..315fa8ff 100644 --- a/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md +++ b/kubernetes/docs/V1beta1SubjectAccessReviewStatus.md @@ -3,7 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**allowed** | **BOOLEAN** | Allowed is required. True if the action would be allowed, false otherwise. | +**allowed** | **BOOLEAN** | Allowed is required. True if the action would be allowed, false otherwise. | +**denied** | **BOOLEAN** | Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. | [optional] **evaluation_error** | **String** | EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. | [optional] **reason** | **String** | Reason is optional. It indicates why a request was allowed or denied. | [optional] diff --git a/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md b/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md deleted file mode 100644 index 1abd3df5..00000000 --- a/kubernetes/docs/V1beta1SupplementalGroupsStrategyOptions.md +++ /dev/null @@ -1,9 +0,0 @@ -# Kubernetes::V1beta1SupplementalGroupsStrategyOptions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ranges** | [**Array<V1beta1IDRange>**](V1beta1IDRange.md) | Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. | [optional] -**rule** | **String** | Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. | [optional] - - diff --git a/kubernetes/docs/V1beta1TokenReviewSpec.md b/kubernetes/docs/V1beta1TokenReviewSpec.md index 09ebaa45..8f4a2706 100644 --- a/kubernetes/docs/V1beta1TokenReviewSpec.md +++ b/kubernetes/docs/V1beta1TokenReviewSpec.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **Array<String>** | Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. | [optional] **token** | **String** | Token is the opaque bearer token. | [optional] diff --git a/kubernetes/docs/V1beta1TokenReviewStatus.md b/kubernetes/docs/V1beta1TokenReviewStatus.md index d1348783..476e374e 100644 --- a/kubernetes/docs/V1beta1TokenReviewStatus.md +++ b/kubernetes/docs/V1beta1TokenReviewStatus.md @@ -3,6 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**audiences** | **Array<String>** | Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. | [optional] **authenticated** | **BOOLEAN** | Authenticated indicates that the token was associated with a known user. | [optional] **error** | **String** | Error indicates that the token couldn't be checked | [optional] **user** | [**V1beta1UserInfo**](V1beta1UserInfo.md) | User is the UserInfo associated with the provided token. | [optional] diff --git a/kubernetes/docs/V1beta1ValidatingWebhookConfiguration.md b/kubernetes/docs/V1beta1ValidatingWebhookConfiguration.md new file mode 100644 index 00000000..edc9a434 --- /dev/null +++ b/kubernetes/docs/V1beta1ValidatingWebhookConfiguration.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1ValidatingWebhookConfiguration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. | [optional] +**webhooks** | [**Array<V1beta1Webhook>**](V1beta1Webhook.md) | Webhooks is a list of webhooks and the affected resources and operations. | [optional] + + diff --git a/kubernetes/docs/V1beta1ValidatingWebhookConfigurationList.md b/kubernetes/docs/V1beta1ValidatingWebhookConfigurationList.md new file mode 100644 index 00000000..41609cf9 --- /dev/null +++ b/kubernetes/docs/V1beta1ValidatingWebhookConfigurationList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1ValidatingWebhookConfigurationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1ValidatingWebhookConfiguration>**](V1beta1ValidatingWebhookConfiguration.md) | List of ValidatingWebhookConfiguration. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] + + diff --git a/kubernetes/docs/V1beta1VolumeAttachment.md b/kubernetes/docs/V1beta1VolumeAttachment.md new file mode 100644 index 00000000..fa28acbb --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttachment.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta1VolumeAttachment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V1beta1VolumeAttachmentSpec**](V1beta1VolumeAttachmentSpec.md) | Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. | +**status** | [**V1beta1VolumeAttachmentStatus**](V1beta1VolumeAttachmentStatus.md) | Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1beta1VolumeAttachmentList.md b/kubernetes/docs/V1beta1VolumeAttachmentList.md new file mode 100644 index 00000000..cd776649 --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttachmentList.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1VolumeAttachmentList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V1beta1VolumeAttachment>**](V1beta1VolumeAttachment.md) | Items is the list of VolumeAttachments | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] + + diff --git a/kubernetes/docs/V1beta1VolumeAttachmentSource.md b/kubernetes/docs/V1beta1VolumeAttachmentSource.md new file mode 100644 index 00000000..b3635a5c --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttachmentSource.md @@ -0,0 +1,8 @@ +# Kubernetes::V1beta1VolumeAttachmentSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**persistent_volume_name** | **String** | Name of the persistent volume to attach. | [optional] + + diff --git a/kubernetes/docs/V1beta1VolumeAttachmentSpec.md b/kubernetes/docs/V1beta1VolumeAttachmentSpec.md new file mode 100644 index 00000000..d1c8540e --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttachmentSpec.md @@ -0,0 +1,10 @@ +# Kubernetes::V1beta1VolumeAttachmentSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attacher** | **String** | Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). | +**node_name** | **String** | The node that the volume should be attached to. | +**source** | [**V1beta1VolumeAttachmentSource**](V1beta1VolumeAttachmentSource.md) | Source represents the volume that should be attached. | + + diff --git a/kubernetes/docs/V1beta1VolumeAttachmentStatus.md b/kubernetes/docs/V1beta1VolumeAttachmentStatus.md new file mode 100644 index 00000000..c82657da --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeAttachmentStatus.md @@ -0,0 +1,11 @@ +# Kubernetes::V1beta1VolumeAttachmentStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attach_error** | [**V1beta1VolumeError**](V1beta1VolumeError.md) | The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**attached** | **BOOLEAN** | Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | +**attachment_metadata** | **Hash<String, String>** | Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. | [optional] +**detach_error** | [**V1beta1VolumeError**](V1beta1VolumeError.md) | The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. | [optional] + + diff --git a/kubernetes/docs/V1beta1VolumeError.md b/kubernetes/docs/V1beta1VolumeError.md new file mode 100644 index 00000000..d0f43a7e --- /dev/null +++ b/kubernetes/docs/V1beta1VolumeError.md @@ -0,0 +1,9 @@ +# Kubernetes::V1beta1VolumeError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **String** | String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. | [optional] +**time** | **DateTime** | Time the error was encountered. | [optional] + + diff --git a/kubernetes/docs/V1beta1Webhook.md b/kubernetes/docs/V1beta1Webhook.md new file mode 100644 index 00000000..2724d85e --- /dev/null +++ b/kubernetes/docs/V1beta1Webhook.md @@ -0,0 +1,13 @@ +# Kubernetes::V1beta1Webhook + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**client_config** | [**AdmissionregistrationV1beta1WebhookClientConfig**](AdmissionregistrationV1beta1WebhookClientConfig.md) | ClientConfig defines how to communicate with the hook. Required | +**failure_policy** | **String** | FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. | [optional] +**name** | **String** | The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. | +**namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. | [optional] +**rules** | [**Array<V1beta1RuleWithOperations>**](V1beta1RuleWithOperations.md) | Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. | [optional] +**side_effects** | **String** | SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. | [optional] + + diff --git a/kubernetes/docs/V1beta2DaemonSetCondition.md b/kubernetes/docs/V1beta2DaemonSetCondition.md new file mode 100644 index 00000000..e123b783 --- /dev/null +++ b/kubernetes/docs/V1beta2DaemonSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta2DaemonSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of DaemonSet condition. | + + diff --git a/kubernetes/docs/V1beta2DaemonSetSpec.md b/kubernetes/docs/V1beta2DaemonSetSpec.md index 81d0eeb2..8df95409 100644 --- a/kubernetes/docs/V1beta2DaemonSetSpec.md +++ b/kubernetes/docs/V1beta2DaemonSetSpec.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_ready_seconds** | **Integer** | The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). | [optional] **revision_history_limit** | **Integer** | The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | **update_strategy** | [**V1beta2DaemonSetUpdateStrategy**](V1beta2DaemonSetUpdateStrategy.md) | An update strategy to replace existing DaemonSet pods with new pods. | [optional] diff --git a/kubernetes/docs/V1beta2DaemonSetStatus.md b/kubernetes/docs/V1beta2DaemonSetStatus.md index 599aa3b2..e9433429 100644 --- a/kubernetes/docs/V1beta2DaemonSetStatus.md +++ b/kubernetes/docs/V1beta2DaemonSetStatus.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **collision_count** | **Integer** | Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1beta2DaemonSetCondition>**](V1beta2DaemonSetCondition.md) | Represents the latest available observations of a DaemonSet's current state. | [optional] **current_number_scheduled** | **Integer** | The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **desired_number_scheduled** | **Integer** | The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ | **number_available** | **Integer** | The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) | [optional] diff --git a/kubernetes/docs/V1beta2DeploymentSpec.md b/kubernetes/docs/V1beta2DeploymentSpec.md index 93b8c18d..561223bc 100644 --- a/kubernetes/docs/V1beta2DeploymentSpec.md +++ b/kubernetes/docs/V1beta2DeploymentSpec.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **progress_deadline_seconds** | **Integer** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. | [optional] **replicas** | **Integer** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional] **revision_history_limit** | **Integer** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. | **strategy** | [**V1beta2DeploymentStrategy**](V1beta2DeploymentStrategy.md) | The deployment strategy to use to replace existing pods with new ones. | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template describes the pods that will be created. | diff --git a/kubernetes/docs/V1beta2ReplicaSetSpec.md b/kubernetes/docs/V1beta2ReplicaSetSpec.md index bd76f2f4..a611f7e4 100644 --- a/kubernetes/docs/V1beta2ReplicaSetSpec.md +++ b/kubernetes/docs/V1beta2ReplicaSetSpec.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **min_ready_seconds** | **Integer** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional] **replicas** | **Integer** | Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template | [optional] diff --git a/kubernetes/docs/V1beta2RollingUpdateDeployment.md b/kubernetes/docs/V1beta2RollingUpdateDeployment.md index 5d3014ab..44f49093 100644 --- a/kubernetes/docs/V1beta2RollingUpdateDeployment.md +++ b/kubernetes/docs/V1beta2RollingUpdateDeployment.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] -**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] +**max_surge** | **Object** | The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. | [optional] +**max_unavailable** | **Object** | The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. | [optional] diff --git a/kubernetes/docs/V1beta2StatefulSetCondition.md b/kubernetes/docs/V1beta2StatefulSetCondition.md new file mode 100644 index 00000000..c89df123 --- /dev/null +++ b/kubernetes/docs/V1beta2StatefulSetCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V1beta2StatefulSetCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | Last time the condition transitioned from one status to another. | [optional] +**message** | **String** | A human readable message indicating details about the transition. | [optional] +**reason** | **String** | The reason for the condition's last transition. | [optional] +**status** | **String** | Status of the condition, one of True, False, Unknown. | +**type** | **String** | Type of statefulset condition. | + + diff --git a/kubernetes/docs/V1beta2StatefulSetSpec.md b/kubernetes/docs/V1beta2StatefulSetSpec.md index 362ac62c..e95fb996 100644 --- a/kubernetes/docs/V1beta2StatefulSetSpec.md +++ b/kubernetes/docs/V1beta2StatefulSetSpec.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **pod_management_policy** | **String** | podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. | [optional] **replicas** | **Integer** | replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. | [optional] **revision_history_limit** | **Integer** | revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. | [optional] -**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | [optional] +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors | **service_name** | **String** | serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. | **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. | **update_strategy** | [**V1beta2StatefulSetUpdateStrategy**](V1beta2StatefulSetUpdateStrategy.md) | updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. | [optional] diff --git a/kubernetes/docs/V1beta2StatefulSetStatus.md b/kubernetes/docs/V1beta2StatefulSetStatus.md index b9c33eb1..a32c80f0 100644 --- a/kubernetes/docs/V1beta2StatefulSetStatus.md +++ b/kubernetes/docs/V1beta2StatefulSetStatus.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **collision_count** | **Integer** | collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. | [optional] +**conditions** | [**Array<V1beta2StatefulSetCondition>**](V1beta2StatefulSetCondition.md) | Represents the latest available observations of a statefulset's current state. | [optional] **current_replicas** | **Integer** | currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. | [optional] **current_revision** | **String** | currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). | [optional] **observed_generation** | **Integer** | observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobSpec.md b/kubernetes/docs/V2alpha1CronJobSpec.md index 8dc745b0..6535844b 100644 --- a/kubernetes/docs/V2alpha1CronJobSpec.md +++ b/kubernetes/docs/V2alpha1CronJobSpec.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**concurrency_policy** | **String** | Specifies how to treat concurrent executions of a Job. Defaults to Allow. | [optional] +**concurrency_policy** | **String** | Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one | [optional] **failed_jobs_history_limit** | **Integer** | The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. | [optional] **job_template** | [**V2alpha1JobTemplateSpec**](V2alpha1JobTemplateSpec.md) | Specifies the job that will be created when executing a CronJob. | **schedule** | **String** | The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. | diff --git a/kubernetes/docs/V2beta1ExternalMetricSource.md b/kubernetes/docs/V2beta1ExternalMetricSource.md new file mode 100644 index 00000000..88b6cc83 --- /dev/null +++ b/kubernetes/docs/V2beta1ExternalMetricSource.md @@ -0,0 +1,11 @@ +# Kubernetes::V2beta1ExternalMetricSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric_name** | **String** | metricName is the name of the metric in question. | +**metric_selector** | [**V1LabelSelector**](V1LabelSelector.md) | metricSelector is used to identify a specific time series within a given metric. | [optional] +**target_average_value** | **String** | targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. | [optional] +**target_value** | **String** | targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. | [optional] + + diff --git a/kubernetes/docs/V2beta1ExternalMetricStatus.md b/kubernetes/docs/V2beta1ExternalMetricStatus.md new file mode 100644 index 00000000..042bc455 --- /dev/null +++ b/kubernetes/docs/V2beta1ExternalMetricStatus.md @@ -0,0 +1,11 @@ +# Kubernetes::V2beta1ExternalMetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current_average_value** | **String** | currentAverageValue is the current value of metric averaged over autoscaled pods. | [optional] +**current_value** | **String** | currentValue is the current value of the metric (as a quantity) | +**metric_name** | **String** | metricName is the name of a metric used for autoscaling in metric system. | +**metric_selector** | [**V1LabelSelector**](V1LabelSelector.md) | metricSelector is used to identify a specific time series within a given metric. | [optional] + + diff --git a/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md index bfcfa4b0..b2f23cf8 100644 --- a/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md +++ b/kubernetes/docs/V2beta1HorizontalPodAutoscalerStatus.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **conditions** | [**Array<V2beta1HorizontalPodAutoscalerCondition>**](V2beta1HorizontalPodAutoscalerCondition.md) | conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. | -**current_metrics** | [**Array<V2beta1MetricStatus>**](V2beta1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | +**current_metrics** | [**Array<V2beta1MetricStatus>**](V2beta1MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | [optional] **current_replicas** | **Integer** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. | **desired_replicas** | **Integer** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. | **last_scale_time** | **DateTime** | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] diff --git a/kubernetes/docs/V2beta1MetricSpec.md b/kubernetes/docs/V2beta1MetricSpec.md index 3d3b1df6..f29df6c6 100644 --- a/kubernetes/docs/V2beta1MetricSpec.md +++ b/kubernetes/docs/V2beta1MetricSpec.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**external** | [**V2beta1ExternalMetricSource**](V2beta1ExternalMetricSource.md) | external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). | [optional] **object** | [**V2beta1ObjectMetricSource**](V2beta1ObjectMetricSource.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] **pods** | [**V2beta1PodsMetricSource**](V2beta1PodsMetricSource.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] **resource** | [**V2beta1ResourceMetricSource**](V2beta1ResourceMetricSource.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] -**type** | **String** | type is the type of metric source. It should match one of the fields below. | +**type** | **String** | type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. | diff --git a/kubernetes/docs/V2beta1MetricStatus.md b/kubernetes/docs/V2beta1MetricStatus.md index 7fd06c85..aad848e2 100644 --- a/kubernetes/docs/V2beta1MetricStatus.md +++ b/kubernetes/docs/V2beta1MetricStatus.md @@ -3,9 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**external** | [**V2beta1ExternalMetricStatus**](V2beta1ExternalMetricStatus.md) | external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). | [optional] **object** | [**V2beta1ObjectMetricStatus**](V2beta1ObjectMetricStatus.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] **pods** | [**V2beta1PodsMetricStatus**](V2beta1PodsMetricStatus.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] **resource** | [**V2beta1ResourceMetricStatus**](V2beta1ResourceMetricStatus.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] -**type** | **String** | type is the type of metric source. It will match one of the fields below. | +**type** | **String** | type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. | diff --git a/kubernetes/docs/V2beta1ObjectMetricSource.md b/kubernetes/docs/V2beta1ObjectMetricSource.md index b5b5c0dd..95f944c6 100644 --- a/kubernetes/docs/V2beta1ObjectMetricSource.md +++ b/kubernetes/docs/V2beta1ObjectMetricSource.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**average_value** | **String** | averageValue is the target value of the average of the metric across all relevant pods (as a quantity) | [optional] **metric_name** | **String** | metricName is the name of the metric in question. | +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. | [optional] **target** | [**V2beta1CrossVersionObjectReference**](V2beta1CrossVersionObjectReference.md) | target is the described Kubernetes object. | **target_value** | **String** | targetValue is the target value of the metric (as a quantity). | diff --git a/kubernetes/docs/V2beta1ObjectMetricStatus.md b/kubernetes/docs/V2beta1ObjectMetricStatus.md index 0786354a..8e6aa4a4 100644 --- a/kubernetes/docs/V2beta1ObjectMetricStatus.md +++ b/kubernetes/docs/V2beta1ObjectMetricStatus.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**average_value** | **String** | averageValue is the current value of the average of the metric across all relevant pods (as a quantity) | [optional] **current_value** | **String** | currentValue is the current value of the metric (as a quantity). | **metric_name** | **String** | metricName is the name of the metric in question. | +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. | [optional] **target** | [**V2beta1CrossVersionObjectReference**](V2beta1CrossVersionObjectReference.md) | target is the described Kubernetes object. | diff --git a/kubernetes/docs/V2beta1PodsMetricSource.md b/kubernetes/docs/V2beta1PodsMetricSource.md index e979b1ce..28adc4c4 100644 --- a/kubernetes/docs/V2beta1PodsMetricSource.md +++ b/kubernetes/docs/V2beta1PodsMetricSource.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **metric_name** | **String** | metricName is the name of the metric in question | +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. | [optional] **target_average_value** | **String** | targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) | diff --git a/kubernetes/docs/V2beta1PodsMetricStatus.md b/kubernetes/docs/V2beta1PodsMetricStatus.md index 7885b67e..8a79fc91 100644 --- a/kubernetes/docs/V2beta1PodsMetricStatus.md +++ b/kubernetes/docs/V2beta1PodsMetricStatus.md @@ -5,5 +5,6 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **current_average_value** | **String** | currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity) | **metric_name** | **String** | metricName is the name of the metric in question | +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. | [optional] diff --git a/kubernetes/docs/V2beta2CrossVersionObjectReference.md b/kubernetes/docs/V2beta2CrossVersionObjectReference.md new file mode 100644 index 00000000..118e6d66 --- /dev/null +++ b/kubernetes/docs/V2beta2CrossVersionObjectReference.md @@ -0,0 +1,10 @@ +# Kubernetes::V2beta2CrossVersionObjectReference + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | API version of the referent | [optional] +**kind** | **String** | Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" | +**name** | **String** | Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names | + + diff --git a/kubernetes/docs/V2beta2ExternalMetricSource.md b/kubernetes/docs/V2beta2ExternalMetricSource.md new file mode 100644 index 00000000..5bfc6ac8 --- /dev/null +++ b/kubernetes/docs/V2beta2ExternalMetricSource.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2ExternalMetricSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | +**target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | + + diff --git a/kubernetes/docs/V2beta2ExternalMetricStatus.md b/kubernetes/docs/V2beta2ExternalMetricStatus.md new file mode 100644 index 00000000..5e8c2c9b --- /dev/null +++ b/kubernetes/docs/V2beta2ExternalMetricStatus.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2ExternalMetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | + + diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscaler.md b/kubernetes/docs/V2beta2HorizontalPodAutoscaler.md new file mode 100644 index 00000000..3ac78d69 --- /dev/null +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscaler.md @@ -0,0 +1,12 @@ +# Kubernetes::V2beta2HorizontalPodAutoscaler + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata | [optional] +**spec** | [**V2beta2HorizontalPodAutoscalerSpec**](V2beta2HorizontalPodAutoscalerSpec.md) | spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. | [optional] +**status** | [**V2beta2HorizontalPodAutoscalerStatus**](V2beta2HorizontalPodAutoscalerStatus.md) | status is the current information about the autoscaler. | [optional] + + diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md new file mode 100644 index 00000000..6e67929c --- /dev/null +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerCondition.md @@ -0,0 +1,12 @@ +# Kubernetes::V2beta2HorizontalPodAutoscalerCondition + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **DateTime** | lastTransitionTime is the last time the condition transitioned from one status to another | [optional] +**message** | **String** | message is a human-readable explanation containing details about the transition | [optional] +**reason** | **String** | reason is the reason for the condition's last transition. | [optional] +**status** | **String** | status is the status of the condition (True, False, Unknown) | +**type** | **String** | type describes the current condition | + + diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerList.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerList.md new file mode 100644 index 00000000..ad461241 --- /dev/null +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerList.md @@ -0,0 +1,11 @@ +# Kubernetes::V2beta2HorizontalPodAutoscalerList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **String** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources | [optional] +**items** | [**Array<V2beta2HorizontalPodAutoscaler>**](V2beta2HorizontalPodAutoscaler.md) | items is the list of horizontal pod autoscaler objects. | +**kind** | **String** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | metadata is the standard list metadata. | [optional] + + diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerSpec.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerSpec.md new file mode 100644 index 00000000..d3dbce3f --- /dev/null +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerSpec.md @@ -0,0 +1,11 @@ +# Kubernetes::V2beta2HorizontalPodAutoscalerSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**max_replicas** | **Integer** | maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. | +**metrics** | [**Array<V2beta2MetricSpec>**](V2beta2MetricSpec.md) | metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. | [optional] +**min_replicas** | **Integer** | minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. | [optional] +**scale_target_ref** | [**V2beta2CrossVersionObjectReference**](V2beta2CrossVersionObjectReference.md) | scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. | + + diff --git a/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md b/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md new file mode 100644 index 00000000..9b6c6922 --- /dev/null +++ b/kubernetes/docs/V2beta2HorizontalPodAutoscalerStatus.md @@ -0,0 +1,13 @@ +# Kubernetes::V2beta2HorizontalPodAutoscalerStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**Array<V2beta2HorizontalPodAutoscalerCondition>**](V2beta2HorizontalPodAutoscalerCondition.md) | conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. | +**current_metrics** | [**Array<V2beta2MetricStatus>**](V2beta2MetricStatus.md) | currentMetrics is the last read state of the metrics used by this autoscaler. | [optional] +**current_replicas** | **Integer** | currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. | +**desired_replicas** | **Integer** | desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. | +**last_scale_time** | **DateTime** | lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. | [optional] +**observed_generation** | **Integer** | observedGeneration is the most recent generation observed by this autoscaler. | [optional] + + diff --git a/kubernetes/docs/V2beta2MetricIdentifier.md b/kubernetes/docs/V2beta2MetricIdentifier.md new file mode 100644 index 00000000..98cbdcc5 --- /dev/null +++ b/kubernetes/docs/V2beta2MetricIdentifier.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2MetricIdentifier + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | name is the name of the given metric | +**selector** | [**V1LabelSelector**](V1LabelSelector.md) | selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. | [optional] + + diff --git a/kubernetes/docs/V2beta2MetricSpec.md b/kubernetes/docs/V2beta2MetricSpec.md new file mode 100644 index 00000000..9e2ec668 --- /dev/null +++ b/kubernetes/docs/V2beta2MetricSpec.md @@ -0,0 +1,12 @@ +# Kubernetes::V2beta2MetricSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**external** | [**V2beta2ExternalMetricSource**](V2beta2ExternalMetricSource.md) | external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). | [optional] +**object** | [**V2beta2ObjectMetricSource**](V2beta2ObjectMetricSource.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] +**pods** | [**V2beta2PodsMetricSource**](V2beta2PodsMetricSource.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] +**resource** | [**V2beta2ResourceMetricSource**](V2beta2ResourceMetricSource.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] +**type** | **String** | type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. | + + diff --git a/kubernetes/docs/V2beta2MetricStatus.md b/kubernetes/docs/V2beta2MetricStatus.md new file mode 100644 index 00000000..754a2795 --- /dev/null +++ b/kubernetes/docs/V2beta2MetricStatus.md @@ -0,0 +1,12 @@ +# Kubernetes::V2beta2MetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**external** | [**V2beta2ExternalMetricStatus**](V2beta2ExternalMetricStatus.md) | external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). | [optional] +**object** | [**V2beta2ObjectMetricStatus**](V2beta2ObjectMetricStatus.md) | object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). | [optional] +**pods** | [**V2beta2PodsMetricStatus**](V2beta2PodsMetricStatus.md) | pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. | [optional] +**resource** | [**V2beta2ResourceMetricStatus**](V2beta2ResourceMetricStatus.md) | resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. | [optional] +**type** | **String** | type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. | + + diff --git a/kubernetes/docs/V2beta2MetricTarget.md b/kubernetes/docs/V2beta2MetricTarget.md new file mode 100644 index 00000000..d4f8e6e1 --- /dev/null +++ b/kubernetes/docs/V2beta2MetricTarget.md @@ -0,0 +1,11 @@ +# Kubernetes::V2beta2MetricTarget + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**average_utilization** | **Integer** | averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type | [optional] +**average_value** | **String** | averageValue is the target value of the average of the metric across all relevant pods (as a quantity) | [optional] +**type** | **String** | type represents whether the metric type is Utilization, Value, or AverageValue | +**value** | **String** | value is the target value of the metric (as a quantity). | [optional] + + diff --git a/kubernetes/docs/V2beta2MetricValueStatus.md b/kubernetes/docs/V2beta2MetricValueStatus.md new file mode 100644 index 00000000..bafede15 --- /dev/null +++ b/kubernetes/docs/V2beta2MetricValueStatus.md @@ -0,0 +1,10 @@ +# Kubernetes::V2beta2MetricValueStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**average_utilization** | **Integer** | currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. | [optional] +**average_value** | **String** | averageValue is the current value of the average of the metric across all relevant pods (as a quantity) | [optional] +**value** | **String** | value is the current value of the metric (as a quantity). | [optional] + + diff --git a/kubernetes/docs/V2beta2ObjectMetricSource.md b/kubernetes/docs/V2beta2ObjectMetricSource.md new file mode 100644 index 00000000..a21c5143 --- /dev/null +++ b/kubernetes/docs/V2beta2ObjectMetricSource.md @@ -0,0 +1,10 @@ +# Kubernetes::V2beta2ObjectMetricSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**described_object** | [**V2beta2CrossVersionObjectReference**](V2beta2CrossVersionObjectReference.md) | | +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | +**target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | + + diff --git a/kubernetes/docs/V2beta2ObjectMetricStatus.md b/kubernetes/docs/V2beta2ObjectMetricStatus.md new file mode 100644 index 00000000..57e67848 --- /dev/null +++ b/kubernetes/docs/V2beta2ObjectMetricStatus.md @@ -0,0 +1,10 @@ +# Kubernetes::V2beta2ObjectMetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | +**described_object** | [**V2beta2CrossVersionObjectReference**](V2beta2CrossVersionObjectReference.md) | | +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | + + diff --git a/kubernetes/docs/V2beta2PodsMetricSource.md b/kubernetes/docs/V2beta2PodsMetricSource.md new file mode 100644 index 00000000..feb03dbe --- /dev/null +++ b/kubernetes/docs/V2beta2PodsMetricSource.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2PodsMetricSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | +**target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | + + diff --git a/kubernetes/docs/V2beta2PodsMetricStatus.md b/kubernetes/docs/V2beta2PodsMetricStatus.md new file mode 100644 index 00000000..482502a8 --- /dev/null +++ b/kubernetes/docs/V2beta2PodsMetricStatus.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2PodsMetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | +**metric** | [**V2beta2MetricIdentifier**](V2beta2MetricIdentifier.md) | metric identifies the target metric by name and selector | + + diff --git a/kubernetes/docs/V2beta2ResourceMetricSource.md b/kubernetes/docs/V2beta2ResourceMetricSource.md new file mode 100644 index 00000000..0d712849 --- /dev/null +++ b/kubernetes/docs/V2beta2ResourceMetricSource.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2ResourceMetricSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | name is the name of the resource in question. | +**target** | [**V2beta2MetricTarget**](V2beta2MetricTarget.md) | target specifies the target value for the given metric | + + diff --git a/kubernetes/docs/V2beta2ResourceMetricStatus.md b/kubernetes/docs/V2beta2ResourceMetricStatus.md new file mode 100644 index 00000000..221246b9 --- /dev/null +++ b/kubernetes/docs/V2beta2ResourceMetricStatus.md @@ -0,0 +1,9 @@ +# Kubernetes::V2beta2ResourceMetricStatus + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current** | [**V2beta2MetricValueStatus**](V2beta2MetricValueStatus.md) | current contains the current value for the given metric | +**name** | **String** | Name is the name of the resource in question. | + + diff --git a/kubernetes/kubernetes.gemspec b/kubernetes/kubernetes.gemspec index 771fcc2e..b872383e 100644 --- a/kubernetes/kubernetes.gemspec +++ b/kubernetes/kubernetes.gemspec @@ -5,7 +5,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -23,8 +23,8 @@ Gem::Specification.new do |s| s.email = ["kubernetes-sig-api-machinery@googlegroups.com"] s.homepage = "https://kubernetes.io/" s.summary = "Kubernetes ruby client." - s.description = "Kubernetes offtial ruby client to talk to kubernetes clusters." - s.license = "Apache V2" + s.description = "Kubernetes official ruby client to talk to kubernetes clusters." + s.license = "Apache-2.0" s.required_ruby_version = ">= 1.9" s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1' diff --git a/kubernetes/lib/kubernetes.rb b/kubernetes/lib/kubernetes.rb index caf28610..8b0c31bc 100644 --- a/kubernetes/lib/kubernetes.rb +++ b/kubernetes/lib/kubernetes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -16,7 +16,17 @@ require 'kubernetes/version' require 'kubernetes/configuration' +# Configuration +require 'kubernetes/config/error' +require 'kubernetes/config/incluster_config' +require 'kubernetes/config/kube_config' + # Models +require 'kubernetes/models/admissionregistration_v1beta1_service_reference' +require 'kubernetes/models/admissionregistration_v1beta1_webhook_client_config' +require 'kubernetes/models/apiextensions_v1beta1_service_reference' +require 'kubernetes/models/apiextensions_v1beta1_webhook_client_config' +require 'kubernetes/models/apiregistration_v1beta1_service_reference' require 'kubernetes/models/apps_v1beta1_deployment' require 'kubernetes/models/apps_v1beta1_deployment_condition' require 'kubernetes/models/apps_v1beta1_deployment_list' @@ -29,6 +39,8 @@ require 'kubernetes/models/apps_v1beta1_scale' require 'kubernetes/models/apps_v1beta1_scale_spec' require 'kubernetes/models/apps_v1beta1_scale_status' +require 'kubernetes/models/extensions_v1beta1_allowed_flex_volume' +require 'kubernetes/models/extensions_v1beta1_allowed_host_path' require 'kubernetes/models/extensions_v1beta1_deployment' require 'kubernetes/models/extensions_v1beta1_deployment_condition' require 'kubernetes/models/extensions_v1beta1_deployment_list' @@ -36,27 +48,57 @@ require 'kubernetes/models/extensions_v1beta1_deployment_spec' require 'kubernetes/models/extensions_v1beta1_deployment_status' require 'kubernetes/models/extensions_v1beta1_deployment_strategy' +require 'kubernetes/models/extensions_v1beta1_fs_group_strategy_options' +require 'kubernetes/models/extensions_v1beta1_host_port_range' +require 'kubernetes/models/extensions_v1beta1_id_range' +require 'kubernetes/models/extensions_v1beta1_pod_security_policy' +require 'kubernetes/models/extensions_v1beta1_pod_security_policy_list' +require 'kubernetes/models/extensions_v1beta1_pod_security_policy_spec' require 'kubernetes/models/extensions_v1beta1_rollback_config' require 'kubernetes/models/extensions_v1beta1_rolling_update_deployment' +require 'kubernetes/models/extensions_v1beta1_run_as_group_strategy_options' +require 'kubernetes/models/extensions_v1beta1_run_as_user_strategy_options' +require 'kubernetes/models/extensions_v1beta1_se_linux_strategy_options' require 'kubernetes/models/extensions_v1beta1_scale' require 'kubernetes/models/extensions_v1beta1_scale_spec' require 'kubernetes/models/extensions_v1beta1_scale_status' +require 'kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options' +require 'kubernetes/models/policy_v1beta1_allowed_flex_volume' +require 'kubernetes/models/policy_v1beta1_allowed_host_path' +require 'kubernetes/models/policy_v1beta1_fs_group_strategy_options' +require 'kubernetes/models/policy_v1beta1_host_port_range' +require 'kubernetes/models/policy_v1beta1_id_range' +require 'kubernetes/models/policy_v1beta1_pod_security_policy' +require 'kubernetes/models/policy_v1beta1_pod_security_policy_list' +require 'kubernetes/models/policy_v1beta1_pod_security_policy_spec' +require 'kubernetes/models/policy_v1beta1_run_as_group_strategy_options' +require 'kubernetes/models/policy_v1beta1_run_as_user_strategy_options' +require 'kubernetes/models/policy_v1beta1_se_linux_strategy_options' +require 'kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options' require 'kubernetes/models/runtime_raw_extension' require 'kubernetes/models/v1_api_group' require 'kubernetes/models/v1_api_group_list' require 'kubernetes/models/v1_api_resource' require 'kubernetes/models/v1_api_resource_list' +require 'kubernetes/models/v1_api_service' +require 'kubernetes/models/v1_api_service_condition' +require 'kubernetes/models/v1_api_service_list' +require 'kubernetes/models/v1_api_service_spec' +require 'kubernetes/models/v1_api_service_status' require 'kubernetes/models/v1_api_versions' require 'kubernetes/models/v1_aws_elastic_block_store_volume_source' require 'kubernetes/models/v1_affinity' +require 'kubernetes/models/v1_aggregation_rule' require 'kubernetes/models/v1_attached_volume' require 'kubernetes/models/v1_azure_disk_volume_source' require 'kubernetes/models/v1_azure_file_persistent_volume_source' require 'kubernetes/models/v1_azure_file_volume_source' require 'kubernetes/models/v1_binding' +require 'kubernetes/models/v1_csi_persistent_volume_source' require 'kubernetes/models/v1_capabilities' require 'kubernetes/models/v1_ceph_fs_persistent_volume_source' require 'kubernetes/models/v1_ceph_fs_volume_source' +require 'kubernetes/models/v1_cinder_persistent_volume_source' require 'kubernetes/models/v1_cinder_volume_source' require 'kubernetes/models/v1_client_ip_config' require 'kubernetes/models/v1_cluster_role' @@ -70,6 +112,7 @@ require 'kubernetes/models/v1_config_map_env_source' require 'kubernetes/models/v1_config_map_key_selector' require 'kubernetes/models/v1_config_map_list' +require 'kubernetes/models/v1_config_map_node_config_source' require 'kubernetes/models/v1_config_map_projection' require 'kubernetes/models/v1_config_map_volume_source' require 'kubernetes/models/v1_container' @@ -80,9 +123,23 @@ require 'kubernetes/models/v1_container_state_terminated' require 'kubernetes/models/v1_container_state_waiting' require 'kubernetes/models/v1_container_status' +require 'kubernetes/models/v1_controller_revision' +require 'kubernetes/models/v1_controller_revision_list' require 'kubernetes/models/v1_cross_version_object_reference' require 'kubernetes/models/v1_daemon_endpoint' +require 'kubernetes/models/v1_daemon_set' +require 'kubernetes/models/v1_daemon_set_condition' +require 'kubernetes/models/v1_daemon_set_list' +require 'kubernetes/models/v1_daemon_set_spec' +require 'kubernetes/models/v1_daemon_set_status' +require 'kubernetes/models/v1_daemon_set_update_strategy' require 'kubernetes/models/v1_delete_options' +require 'kubernetes/models/v1_deployment' +require 'kubernetes/models/v1_deployment_condition' +require 'kubernetes/models/v1_deployment_list' +require 'kubernetes/models/v1_deployment_spec' +require 'kubernetes/models/v1_deployment_status' +require 'kubernetes/models/v1_deployment_strategy' require 'kubernetes/models/v1_downward_api_projection' require 'kubernetes/models/v1_downward_api_volume_file' require 'kubernetes/models/v1_downward_api_volume_source' @@ -97,13 +154,16 @@ require 'kubernetes/models/v1_env_var_source' require 'kubernetes/models/v1_event' require 'kubernetes/models/v1_event_list' +require 'kubernetes/models/v1_event_series' require 'kubernetes/models/v1_event_source' require 'kubernetes/models/v1_exec_action' require 'kubernetes/models/v1_fc_volume_source' +require 'kubernetes/models/v1_flex_persistent_volume_source' require 'kubernetes/models/v1_flex_volume_source' require 'kubernetes/models/v1_flocker_volume_source' require 'kubernetes/models/v1_gce_persistent_disk_volume_source' require 'kubernetes/models/v1_git_repo_volume_source' +require 'kubernetes/models/v1_glusterfs_persistent_volume_source' require 'kubernetes/models/v1_glusterfs_volume_source' require 'kubernetes/models/v1_group_version_for_discovery' require 'kubernetes/models/v1_http_get_action' @@ -116,6 +176,7 @@ require 'kubernetes/models/v1_host_alias' require 'kubernetes/models/v1_host_path_volume_source' require 'kubernetes/models/v1_ip_block' +require 'kubernetes/models/v1_iscsi_persistent_volume_source' require 'kubernetes/models/v1_iscsi_volume_source' require 'kubernetes/models/v1_initializer' require 'kubernetes/models/v1_initializers' @@ -155,6 +216,7 @@ require 'kubernetes/models/v1_node_affinity' require 'kubernetes/models/v1_node_condition' require 'kubernetes/models/v1_node_config_source' +require 'kubernetes/models/v1_node_config_status' require 'kubernetes/models/v1_node_daemon_endpoints' require 'kubernetes/models/v1_node_list' require 'kubernetes/models/v1_node_selector' @@ -185,7 +247,10 @@ require 'kubernetes/models/v1_pod_affinity_term' require 'kubernetes/models/v1_pod_anti_affinity' require 'kubernetes/models/v1_pod_condition' +require 'kubernetes/models/v1_pod_dns_config' +require 'kubernetes/models/v1_pod_dns_config_option' require 'kubernetes/models/v1_pod_list' +require 'kubernetes/models/v1_pod_readiness_gate' require 'kubernetes/models/v1_pod_security_context' require 'kubernetes/models/v1_pod_spec' require 'kubernetes/models/v1_pod_status' @@ -199,7 +264,13 @@ require 'kubernetes/models/v1_probe' require 'kubernetes/models/v1_projected_volume_source' require 'kubernetes/models/v1_quobyte_volume_source' +require 'kubernetes/models/v1_rbd_persistent_volume_source' require 'kubernetes/models/v1_rbd_volume_source' +require 'kubernetes/models/v1_replica_set' +require 'kubernetes/models/v1_replica_set_condition' +require 'kubernetes/models/v1_replica_set_list' +require 'kubernetes/models/v1_replica_set_spec' +require 'kubernetes/models/v1_replica_set_status' require 'kubernetes/models/v1_replication_controller' require 'kubernetes/models/v1_replication_controller_condition' require 'kubernetes/models/v1_replication_controller_list' @@ -218,11 +289,17 @@ require 'kubernetes/models/v1_role_binding_list' require 'kubernetes/models/v1_role_list' require 'kubernetes/models/v1_role_ref' +require 'kubernetes/models/v1_rolling_update_daemon_set' +require 'kubernetes/models/v1_rolling_update_deployment' +require 'kubernetes/models/v1_rolling_update_stateful_set_strategy' require 'kubernetes/models/v1_se_linux_options' require 'kubernetes/models/v1_scale' +require 'kubernetes/models/v1_scale_io_persistent_volume_source' require 'kubernetes/models/v1_scale_io_volume_source' require 'kubernetes/models/v1_scale_spec' require 'kubernetes/models/v1_scale_status' +require 'kubernetes/models/v1_scope_selector' +require 'kubernetes/models/v1_scoped_resource_selector_requirement' require 'kubernetes/models/v1_secret' require 'kubernetes/models/v1_secret_env_source' require 'kubernetes/models/v1_secret_key_selector' @@ -239,11 +316,19 @@ require 'kubernetes/models/v1_service' require 'kubernetes/models/v1_service_account' require 'kubernetes/models/v1_service_account_list' +require 'kubernetes/models/v1_service_account_token_projection' require 'kubernetes/models/v1_service_list' require 'kubernetes/models/v1_service_port' +require 'kubernetes/models/v1_service_reference' require 'kubernetes/models/v1_service_spec' require 'kubernetes/models/v1_service_status' require 'kubernetes/models/v1_session_affinity_config' +require 'kubernetes/models/v1_stateful_set' +require 'kubernetes/models/v1_stateful_set_condition' +require 'kubernetes/models/v1_stateful_set_list' +require 'kubernetes/models/v1_stateful_set_spec' +require 'kubernetes/models/v1_stateful_set_status' +require 'kubernetes/models/v1_stateful_set_update_strategy' require 'kubernetes/models/v1_status' require 'kubernetes/models/v1_status_cause' require 'kubernetes/models/v1_status_details' @@ -256,33 +341,46 @@ require 'kubernetes/models/v1_subject_access_review_spec' require 'kubernetes/models/v1_subject_access_review_status' require 'kubernetes/models/v1_subject_rules_review_status' +require 'kubernetes/models/v1_sysctl' require 'kubernetes/models/v1_tcp_socket_action' require 'kubernetes/models/v1_taint' require 'kubernetes/models/v1_token_review' require 'kubernetes/models/v1_token_review_spec' require 'kubernetes/models/v1_token_review_status' require 'kubernetes/models/v1_toleration' +require 'kubernetes/models/v1_topology_selector_label_requirement' +require 'kubernetes/models/v1_topology_selector_term' +require 'kubernetes/models/v1_typed_local_object_reference' require 'kubernetes/models/v1_user_info' require 'kubernetes/models/v1_volume' +require 'kubernetes/models/v1_volume_attachment' +require 'kubernetes/models/v1_volume_attachment_list' +require 'kubernetes/models/v1_volume_attachment_source' +require 'kubernetes/models/v1_volume_attachment_spec' +require 'kubernetes/models/v1_volume_attachment_status' +require 'kubernetes/models/v1_volume_device' +require 'kubernetes/models/v1_volume_error' require 'kubernetes/models/v1_volume_mount' +require 'kubernetes/models/v1_volume_node_affinity' require 'kubernetes/models/v1_volume_projection' require 'kubernetes/models/v1_vsphere_virtual_disk_volume_source' require 'kubernetes/models/v1_watch_event' require 'kubernetes/models/v1_weighted_pod_affinity_term' -require 'kubernetes/models/v1alpha1_admission_hook_client_config' +require 'kubernetes/models/v1alpha1_aggregation_rule' +require 'kubernetes/models/v1alpha1_audit_sink' +require 'kubernetes/models/v1alpha1_audit_sink_list' +require 'kubernetes/models/v1alpha1_audit_sink_spec' require 'kubernetes/models/v1alpha1_cluster_role' require 'kubernetes/models/v1alpha1_cluster_role_binding' require 'kubernetes/models/v1alpha1_cluster_role_binding_list' require 'kubernetes/models/v1alpha1_cluster_role_list' -require 'kubernetes/models/v1alpha1_external_admission_hook' -require 'kubernetes/models/v1alpha1_external_admission_hook_configuration' -require 'kubernetes/models/v1alpha1_external_admission_hook_configuration_list' require 'kubernetes/models/v1alpha1_initializer' require 'kubernetes/models/v1alpha1_initializer_configuration' require 'kubernetes/models/v1alpha1_initializer_configuration_list' require 'kubernetes/models/v1alpha1_pod_preset' require 'kubernetes/models/v1alpha1_pod_preset_list' require 'kubernetes/models/v1alpha1_pod_preset_spec' +require 'kubernetes/models/v1alpha1_policy' require 'kubernetes/models/v1alpha1_policy_rule' require 'kubernetes/models/v1alpha1_priority_class' require 'kubernetes/models/v1alpha1_priority_class_list' @@ -292,15 +390,23 @@ require 'kubernetes/models/v1alpha1_role_list' require 'kubernetes/models/v1alpha1_role_ref' require 'kubernetes/models/v1alpha1_rule' -require 'kubernetes/models/v1alpha1_rule_with_operations' require 'kubernetes/models/v1alpha1_service_reference' require 'kubernetes/models/v1alpha1_subject' +require 'kubernetes/models/v1alpha1_volume_attachment' +require 'kubernetes/models/v1alpha1_volume_attachment_list' +require 'kubernetes/models/v1alpha1_volume_attachment_source' +require 'kubernetes/models/v1alpha1_volume_attachment_spec' +require 'kubernetes/models/v1alpha1_volume_attachment_status' +require 'kubernetes/models/v1alpha1_volume_error' +require 'kubernetes/models/v1alpha1_webhook' +require 'kubernetes/models/v1alpha1_webhook_client_config' +require 'kubernetes/models/v1alpha1_webhook_throttle_config' require 'kubernetes/models/v1beta1_api_service' require 'kubernetes/models/v1beta1_api_service_condition' require 'kubernetes/models/v1beta1_api_service_list' require 'kubernetes/models/v1beta1_api_service_spec' require 'kubernetes/models/v1beta1_api_service_status' -require 'kubernetes/models/v1beta1_allowed_host_path' +require 'kubernetes/models/v1beta1_aggregation_rule' require 'kubernetes/models/v1beta1_certificate_signing_request' require 'kubernetes/models/v1beta1_certificate_signing_request_condition' require 'kubernetes/models/v1beta1_certificate_signing_request_list' @@ -316,25 +422,31 @@ require 'kubernetes/models/v1beta1_cron_job_list' require 'kubernetes/models/v1beta1_cron_job_spec' require 'kubernetes/models/v1beta1_cron_job_status' +require 'kubernetes/models/v1beta1_custom_resource_column_definition' +require 'kubernetes/models/v1beta1_custom_resource_conversion' require 'kubernetes/models/v1beta1_custom_resource_definition' require 'kubernetes/models/v1beta1_custom_resource_definition_condition' require 'kubernetes/models/v1beta1_custom_resource_definition_list' require 'kubernetes/models/v1beta1_custom_resource_definition_names' require 'kubernetes/models/v1beta1_custom_resource_definition_spec' require 'kubernetes/models/v1beta1_custom_resource_definition_status' +require 'kubernetes/models/v1beta1_custom_resource_definition_version' +require 'kubernetes/models/v1beta1_custom_resource_subresource_scale' +require 'kubernetes/models/v1beta1_custom_resource_subresources' require 'kubernetes/models/v1beta1_custom_resource_validation' require 'kubernetes/models/v1beta1_daemon_set' +require 'kubernetes/models/v1beta1_daemon_set_condition' require 'kubernetes/models/v1beta1_daemon_set_list' require 'kubernetes/models/v1beta1_daemon_set_spec' require 'kubernetes/models/v1beta1_daemon_set_status' require 'kubernetes/models/v1beta1_daemon_set_update_strategy' +require 'kubernetes/models/v1beta1_event' +require 'kubernetes/models/v1beta1_event_list' +require 'kubernetes/models/v1beta1_event_series' require 'kubernetes/models/v1beta1_eviction' require 'kubernetes/models/v1beta1_external_documentation' -require 'kubernetes/models/v1beta1_fs_group_strategy_options' require 'kubernetes/models/v1beta1_http_ingress_path' require 'kubernetes/models/v1beta1_http_ingress_rule_value' -require 'kubernetes/models/v1beta1_host_port_range' -require 'kubernetes/models/v1beta1_id_range' require 'kubernetes/models/v1beta1_ip_block' require 'kubernetes/models/v1beta1_ingress' require 'kubernetes/models/v1beta1_ingress_backend' @@ -343,13 +455,14 @@ require 'kubernetes/models/v1beta1_ingress_spec' require 'kubernetes/models/v1beta1_ingress_status' require 'kubernetes/models/v1beta1_ingress_tls' -require 'kubernetes/models/v1beta1_json' require 'kubernetes/models/v1beta1_json_schema_props' -require 'kubernetes/models/v1beta1_json_schema_props_or_array' -require 'kubernetes/models/v1beta1_json_schema_props_or_bool' -require 'kubernetes/models/v1beta1_json_schema_props_or_string_array' require 'kubernetes/models/v1beta1_job_template_spec' +require 'kubernetes/models/v1beta1_lease' +require 'kubernetes/models/v1beta1_lease_list' +require 'kubernetes/models/v1beta1_lease_spec' require 'kubernetes/models/v1beta1_local_subject_access_review' +require 'kubernetes/models/v1beta1_mutating_webhook_configuration' +require 'kubernetes/models/v1beta1_mutating_webhook_configuration_list' require 'kubernetes/models/v1beta1_network_policy' require 'kubernetes/models/v1beta1_network_policy_egress_rule' require 'kubernetes/models/v1beta1_network_policy_ingress_rule' @@ -363,10 +476,9 @@ require 'kubernetes/models/v1beta1_pod_disruption_budget_list' require 'kubernetes/models/v1beta1_pod_disruption_budget_spec' require 'kubernetes/models/v1beta1_pod_disruption_budget_status' -require 'kubernetes/models/v1beta1_pod_security_policy' -require 'kubernetes/models/v1beta1_pod_security_policy_list' -require 'kubernetes/models/v1beta1_pod_security_policy_spec' require 'kubernetes/models/v1beta1_policy_rule' +require 'kubernetes/models/v1beta1_priority_class' +require 'kubernetes/models/v1beta1_priority_class_list' require 'kubernetes/models/v1beta1_replica_set' require 'kubernetes/models/v1beta1_replica_set_condition' require 'kubernetes/models/v1beta1_replica_set_list' @@ -381,14 +493,13 @@ require 'kubernetes/models/v1beta1_role_ref' require 'kubernetes/models/v1beta1_rolling_update_daemon_set' require 'kubernetes/models/v1beta1_rolling_update_stateful_set_strategy' -require 'kubernetes/models/v1beta1_run_as_user_strategy_options' -require 'kubernetes/models/v1beta1_se_linux_strategy_options' +require 'kubernetes/models/v1beta1_rule_with_operations' require 'kubernetes/models/v1beta1_self_subject_access_review' require 'kubernetes/models/v1beta1_self_subject_access_review_spec' require 'kubernetes/models/v1beta1_self_subject_rules_review' require 'kubernetes/models/v1beta1_self_subject_rules_review_spec' -require 'kubernetes/models/v1beta1_service_reference' require 'kubernetes/models/v1beta1_stateful_set' +require 'kubernetes/models/v1beta1_stateful_set_condition' require 'kubernetes/models/v1beta1_stateful_set_list' require 'kubernetes/models/v1beta1_stateful_set_spec' require 'kubernetes/models/v1beta1_stateful_set_status' @@ -400,14 +511,23 @@ require 'kubernetes/models/v1beta1_subject_access_review_spec' require 'kubernetes/models/v1beta1_subject_access_review_status' require 'kubernetes/models/v1beta1_subject_rules_review_status' -require 'kubernetes/models/v1beta1_supplemental_groups_strategy_options' require 'kubernetes/models/v1beta1_token_review' require 'kubernetes/models/v1beta1_token_review_spec' require 'kubernetes/models/v1beta1_token_review_status' require 'kubernetes/models/v1beta1_user_info' +require 'kubernetes/models/v1beta1_validating_webhook_configuration' +require 'kubernetes/models/v1beta1_validating_webhook_configuration_list' +require 'kubernetes/models/v1beta1_volume_attachment' +require 'kubernetes/models/v1beta1_volume_attachment_list' +require 'kubernetes/models/v1beta1_volume_attachment_source' +require 'kubernetes/models/v1beta1_volume_attachment_spec' +require 'kubernetes/models/v1beta1_volume_attachment_status' +require 'kubernetes/models/v1beta1_volume_error' +require 'kubernetes/models/v1beta1_webhook' require 'kubernetes/models/v1beta2_controller_revision' require 'kubernetes/models/v1beta2_controller_revision_list' require 'kubernetes/models/v1beta2_daemon_set' +require 'kubernetes/models/v1beta2_daemon_set_condition' require 'kubernetes/models/v1beta2_daemon_set_list' require 'kubernetes/models/v1beta2_daemon_set_spec' require 'kubernetes/models/v1beta2_daemon_set_status' @@ -430,6 +550,7 @@ require 'kubernetes/models/v1beta2_scale_spec' require 'kubernetes/models/v1beta2_scale_status' require 'kubernetes/models/v1beta2_stateful_set' +require 'kubernetes/models/v1beta2_stateful_set_condition' require 'kubernetes/models/v1beta2_stateful_set_list' require 'kubernetes/models/v1beta2_stateful_set_spec' require 'kubernetes/models/v1beta2_stateful_set_status' @@ -440,6 +561,8 @@ require 'kubernetes/models/v2alpha1_cron_job_status' require 'kubernetes/models/v2alpha1_job_template_spec' require 'kubernetes/models/v2beta1_cross_version_object_reference' +require 'kubernetes/models/v2beta1_external_metric_source' +require 'kubernetes/models/v2beta1_external_metric_status' require 'kubernetes/models/v2beta1_horizontal_pod_autoscaler' require 'kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition' require 'kubernetes/models/v2beta1_horizontal_pod_autoscaler_list' @@ -453,19 +576,43 @@ require 'kubernetes/models/v2beta1_pods_metric_status' require 'kubernetes/models/v2beta1_resource_metric_source' require 'kubernetes/models/v2beta1_resource_metric_status' +require 'kubernetes/models/v2beta2_cross_version_object_reference' +require 'kubernetes/models/v2beta2_external_metric_source' +require 'kubernetes/models/v2beta2_external_metric_status' +require 'kubernetes/models/v2beta2_horizontal_pod_autoscaler' +require 'kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition' +require 'kubernetes/models/v2beta2_horizontal_pod_autoscaler_list' +require 'kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec' +require 'kubernetes/models/v2beta2_horizontal_pod_autoscaler_status' +require 'kubernetes/models/v2beta2_metric_identifier' +require 'kubernetes/models/v2beta2_metric_spec' +require 'kubernetes/models/v2beta2_metric_status' +require 'kubernetes/models/v2beta2_metric_target' +require 'kubernetes/models/v2beta2_metric_value_status' +require 'kubernetes/models/v2beta2_object_metric_source' +require 'kubernetes/models/v2beta2_object_metric_status' +require 'kubernetes/models/v2beta2_pods_metric_source' +require 'kubernetes/models/v2beta2_pods_metric_status' +require 'kubernetes/models/v2beta2_resource_metric_source' +require 'kubernetes/models/v2beta2_resource_metric_status' require 'kubernetes/models/version_info' # APIs require 'kubernetes/api/admissionregistration_api' require 'kubernetes/api/admissionregistration_v1alpha1_api' +require 'kubernetes/api/admissionregistration_v1beta1_api' require 'kubernetes/api/apiextensions_api' require 'kubernetes/api/apiextensions_v1beta1_api' require 'kubernetes/api/apiregistration_api' +require 'kubernetes/api/apiregistration_v1_api' require 'kubernetes/api/apiregistration_v1beta1_api' require 'kubernetes/api/apis_api' require 'kubernetes/api/apps_api' +require 'kubernetes/api/apps_v1_api' require 'kubernetes/api/apps_v1beta1_api' require 'kubernetes/api/apps_v1beta2_api' +require 'kubernetes/api/auditregistration_api' +require 'kubernetes/api/auditregistration_v1alpha1_api' require 'kubernetes/api/authentication_api' require 'kubernetes/api/authentication_v1_api' require 'kubernetes/api/authentication_v1beta1_api' @@ -475,15 +622,20 @@ require 'kubernetes/api/autoscaling_api' require 'kubernetes/api/autoscaling_v1_api' require 'kubernetes/api/autoscaling_v2beta1_api' +require 'kubernetes/api/autoscaling_v2beta2_api' require 'kubernetes/api/batch_api' require 'kubernetes/api/batch_v1_api' require 'kubernetes/api/batch_v1beta1_api' require 'kubernetes/api/batch_v2alpha1_api' require 'kubernetes/api/certificates_api' require 'kubernetes/api/certificates_v1beta1_api' +require 'kubernetes/api/coordination_api' +require 'kubernetes/api/coordination_v1beta1_api' require 'kubernetes/api/core_api' require 'kubernetes/api/core_v1_api' require 'kubernetes/api/custom_objects_api' +require 'kubernetes/api/events_api' +require 'kubernetes/api/events_v1beta1_api' require 'kubernetes/api/extensions_api' require 'kubernetes/api/extensions_v1beta1_api' require 'kubernetes/api/logs_api' @@ -497,10 +649,12 @@ require 'kubernetes/api/rbac_authorization_v1beta1_api' require 'kubernetes/api/scheduling_api' require 'kubernetes/api/scheduling_v1alpha1_api' +require 'kubernetes/api/scheduling_v1beta1_api' require 'kubernetes/api/settings_api' require 'kubernetes/api/settings_v1alpha1_api' require 'kubernetes/api/storage_api' require 'kubernetes/api/storage_v1_api' +require 'kubernetes/api/storage_v1alpha1_api' require 'kubernetes/api/storage_v1beta1_api' require 'kubernetes/api/version_api' diff --git a/kubernetes/lib/kubernetes/api/admissionregistration_api.rb b/kubernetes/lib/kubernetes/api/admissionregistration_api.rb index 39fb7581..6988cc11 100644 --- a/kubernetes/lib/kubernetes/api/admissionregistration_api.rb +++ b/kubernetes/lib/kubernetes/api/admissionregistration_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb index da1a441c..1ebd6de3 100644 --- a/kubernetes/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb +++ b/kubernetes/lib/kubernetes/api/admissionregistration_v1alpha1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -20,69 +20,13 @@ def initialize(api_client = ApiClient.default) @api_client = api_client end - # - # create an ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - def create_external_admission_hook_configuration(body, opts = {}) - data, _status_code, _headers = create_external_admission_hook_configuration_with_http_info(body, opts) - return data - end - - # - # create an ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1alpha1ExternalAdmissionHookConfiguration, Fixnum, Hash)>] V1alpha1ExternalAdmissionHookConfiguration data, response status code and response headers - def create_external_admission_hook_configuration_with_http_info(body, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.create_external_admission_hook_configuration ..." - end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.create_external_admission_hook_configuration" - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations" - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = @api_client.object_to_http_body(body) - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1alpha1ExternalAdmissionHookConfiguration') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#create_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # create an InitializerConfiguration # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] def create_initializer_configuration(body, opts = {}) data, _status_code, _headers = create_initializer_configuration_with_http_info(body, opts) @@ -93,7 +37,9 @@ def create_initializer_configuration(body, opts = {}) # create an InitializerConfiguration # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1InitializerConfiguration, Fixnum, Hash)>] V1alpha1InitializerConfiguration data, response status code and response headers def create_initializer_configuration_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -108,7 +54,9 @@ def create_initializer_configuration_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -136,93 +84,17 @@ def create_initializer_configuration_with_http_info(body, opts = {}) return data, status_code, headers end - # - # delete collection of ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - def delete_collection_external_admission_hook_configuration(opts = {}) - data, _status_code, _headers = delete_collection_external_admission_hook_configuration_with_http_info(opts) - return data - end - - # - # delete collection of ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_collection_external_admission_hook_configuration_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.delete_collection_external_admission_hook_configuration ..." - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations" - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? - query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? - query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? - query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? - query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? - query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? - query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1Status') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_collection_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # delete collection of InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_initializer_configuration(opts = {}) @@ -233,14 +105,14 @@ def delete_collection_initializer_configuration(opts = {}) # # delete collection of InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_initializer_configuration_with_http_info(opts = {}) @@ -252,10 +124,10 @@ def delete_collection_initializer_configuration_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -288,105 +160,34 @@ def delete_collection_initializer_configuration_with_http_info(opts = {}) return data, status_code, headers end - # - # delete an ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - # @return [V1Status] - def delete_external_admission_hook_configuration(name, body, opts = {}) - data, _status_code, _headers = delete_external_admission_hook_configuration_with_http_info(name, body, opts) - return data - end - - # - # delete an ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_external_admission_hook_configuration_with_http_info(name, body, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.delete_external_admission_hook_configuration ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_external_admission_hook_configuration" - end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.delete_external_admission_hook_configuration" - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? - query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? - query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = @api_client.object_to_http_body(body) - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1Status') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#delete_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # delete an InitializerConfiguration # @param name name of the InitializerConfiguration - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_initializer_configuration(name, body, opts = {}) - data, _status_code, _headers = delete_initializer_configuration_with_http_info(name, body, opts) + def delete_initializer_configuration(name, opts = {}) + data, _status_code, _headers = delete_initializer_configuration_with_http_info(name, opts) return data end # # delete an InitializerConfiguration # @param name name of the InitializerConfiguration - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_initializer_configuration_with_http_info(name, body, opts = {}) + def delete_initializer_configuration_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.delete_initializer_configuration ..." end @@ -394,16 +195,13 @@ def delete_initializer_configuration_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.delete_initializer_configuration" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.delete_initializer_configuration" - end # resource path local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -419,7 +217,7 @@ def delete_initializer_configuration_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -483,93 +281,17 @@ def get_api_resources_with_http_info(opts = {}) return data, status_code, headers end - # - # list or watch objects of kind ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1ExternalAdmissionHookConfigurationList] - def list_external_admission_hook_configuration(opts = {}) - data, _status_code, _headers = list_external_admission_hook_configuration_with_http_info(opts) - return data - end - - # - # list or watch objects of kind ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [Array<(V1alpha1ExternalAdmissionHookConfigurationList, Fixnum, Hash)>] V1alpha1ExternalAdmissionHookConfigurationList data, response status code and response headers - def list_external_admission_hook_configuration_with_http_info(opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.list_external_admission_hook_configuration ..." - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations" - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? - query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? - query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? - query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? - query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? - query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? - query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1alpha1ExternalAdmissionHookConfigurationList') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#list_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # list or watch objects of kind InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1InitializerConfigurationList] def list_initializer_configuration(opts = {}) @@ -580,14 +302,14 @@ def list_initializer_configuration(opts = {}) # # list or watch objects of kind InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1InitializerConfigurationList, Fixnum, Hash)>] V1alpha1InitializerConfigurationList data, response status code and response headers def list_initializer_configuration_with_http_info(opts = {}) @@ -599,10 +321,10 @@ def list_initializer_configuration_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -635,76 +357,13 @@ def list_initializer_configuration_with_http_info(opts = {}) return data, status_code, headers end - # - # partially update the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - def patch_external_admission_hook_configuration(name, body, opts = {}) - data, _status_code, _headers = patch_external_admission_hook_configuration_with_http_info(name, body, opts) - return data - end - - # - # partially update the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1alpha1ExternalAdmissionHookConfiguration, Fixnum, Hash)>] V1alpha1ExternalAdmissionHookConfiguration data, response status code and response headers - def patch_external_admission_hook_configuration_with_http_info(name, body, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.patch_external_admission_hook_configuration ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.patch_external_admission_hook_configuration" - end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.patch_external_admission_hook_configuration" - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) - - # form parameters - form_params = {} - - # http body (model) - post_body = @api_client.object_to_http_body(body) - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1alpha1ExternalAdmissionHookConfiguration') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#patch_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # partially update the specified InitializerConfiguration # @param name name of the InitializerConfiguration # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] def patch_initializer_configuration(name, body, opts = {}) data, _status_code, _headers = patch_initializer_configuration_with_http_info(name, body, opts) @@ -717,6 +376,7 @@ def patch_initializer_configuration(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1InitializerConfiguration, Fixnum, Hash)>] V1alpha1InitializerConfiguration data, response status code and response headers def patch_initializer_configuration_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -736,6 +396,7 @@ def patch_initializer_configuration_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -763,70 +424,6 @@ def patch_initializer_configuration_with_http_info(name, body, opts = {}) return data, status_code, headers end - # - # read the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - def read_external_admission_hook_configuration(name, opts = {}) - data, _status_code, _headers = read_external_admission_hook_configuration_with_http_info(name, opts) - return data - end - - # - # read the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [Array<(V1alpha1ExternalAdmissionHookConfiguration, Fixnum, Hash)>] V1alpha1ExternalAdmissionHookConfiguration data, response status code and response headers - def read_external_admission_hook_configuration_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.read_external_admission_hook_configuration ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.read_external_admission_hook_configuration" - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? - query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1alpha1ExternalAdmissionHookConfiguration') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#read_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # read the specified InitializerConfiguration # @param name name of the InitializerConfiguration @@ -891,76 +488,13 @@ def read_initializer_configuration_with_http_info(name, opts = {}) return data, status_code, headers end - # - # replace the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - def replace_external_admission_hook_configuration(name, body, opts = {}) - data, _status_code, _headers = replace_external_admission_hook_configuration_with_http_info(name, body, opts) - return data - end - - # - # replace the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1alpha1ExternalAdmissionHookConfiguration, Fixnum, Hash)>] V1alpha1ExternalAdmissionHookConfiguration data, response status code and response headers - def replace_external_admission_hook_configuration_with_http_info(name, body, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: AdmissionregistrationV1alpha1Api.replace_external_admission_hook_configuration ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1alpha1Api.replace_external_admission_hook_configuration" - end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1alpha1Api.replace_external_admission_hook_configuration" - end - # resource path - local_var_path = "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = @api_client.object_to_http_body(body) - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'V1alpha1ExternalAdmissionHookConfiguration') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: AdmissionregistrationV1alpha1Api#replace_external_admission_hook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # replace the specified InitializerConfiguration # @param name name of the InitializerConfiguration # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] def replace_initializer_configuration(name, body, opts = {}) data, _status_code, _headers = replace_initializer_configuration_with_http_info(name, body, opts) @@ -973,6 +507,7 @@ def replace_initializer_configuration(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1InitializerConfiguration, Fixnum, Hash)>] V1alpha1InitializerConfiguration data, response status code and response headers def replace_initializer_configuration_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -992,6 +527,7 @@ def replace_initializer_configuration_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/admissionregistration_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/admissionregistration_v1beta1_api.rb new file mode 100644 index 00000000..cc92aedd --- /dev/null +++ b/kubernetes/lib/kubernetes/api/admissionregistration_v1beta1_api.rb @@ -0,0 +1,1044 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class AdmissionregistrationV1beta1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + def create_mutating_webhook_configuration(body, opts = {}) + data, _status_code, _headers = create_mutating_webhook_configuration_with_http_info(body, opts) + return data + end + + # + # create a MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1MutatingWebhookConfiguration, Fixnum, Hash)>] V1beta1MutatingWebhookConfiguration data, response status code and response headers + def create_mutating_webhook_configuration_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.create_mutating_webhook_configuration ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.create_mutating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1MutatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#create_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # create a ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + def create_validating_webhook_configuration(body, opts = {}) + data, _status_code, _headers = create_validating_webhook_configuration_with_http_info(body, opts) + return data + end + + # + # create a ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1ValidatingWebhookConfiguration, Fixnum, Hash)>] V1beta1ValidatingWebhookConfiguration data, response status code and response headers + def create_validating_webhook_configuration_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.create_validating_webhook_configuration ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.create_validating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1ValidatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#create_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_mutating_webhook_configuration(opts = {}) + data, _status_code, _headers = delete_collection_mutating_webhook_configuration_with_http_info(opts) + return data + end + + # + # delete collection of MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_mutating_webhook_configuration_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.delete_collection_mutating_webhook_configuration ..." + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#delete_collection_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_validating_webhook_configuration(opts = {}) + data, _status_code, _headers = delete_collection_validating_webhook_configuration_with_http_info(opts) + return data + end + + # + # delete collection of ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_validating_webhook_configuration_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.delete_collection_validating_webhook_configuration ..." + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#delete_collection_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_mutating_webhook_configuration(name, opts = {}) + data, _status_code, _headers = delete_mutating_webhook_configuration_with_http_info(name, opts) + return data + end + + # + # delete a MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_mutating_webhook_configuration_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.delete_mutating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.delete_mutating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#delete_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_validating_webhook_configuration(name, opts = {}) + data, _status_code, _headers = delete_validating_webhook_configuration_with_http_info(name, opts) + return data + end + + # + # delete a ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_validating_webhook_configuration_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.delete_validating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.delete_validating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#delete_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1MutatingWebhookConfigurationList] + def list_mutating_webhook_configuration(opts = {}) + data, _status_code, _headers = list_mutating_webhook_configuration_with_http_info(opts) + return data + end + + # + # list or watch objects of kind MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1MutatingWebhookConfigurationList, Fixnum, Hash)>] V1beta1MutatingWebhookConfigurationList data, response status code and response headers + def list_mutating_webhook_configuration_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.list_mutating_webhook_configuration ..." + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1MutatingWebhookConfigurationList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#list_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1ValidatingWebhookConfigurationList] + def list_validating_webhook_configuration(opts = {}) + data, _status_code, _headers = list_validating_webhook_configuration_with_http_info(opts) + return data + end + + # + # list or watch objects of kind ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1ValidatingWebhookConfigurationList, Fixnum, Hash)>] V1beta1ValidatingWebhookConfigurationList data, response status code and response headers + def list_validating_webhook_configuration_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.list_validating_webhook_configuration ..." + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1ValidatingWebhookConfigurationList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#list_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + def patch_mutating_webhook_configuration(name, body, opts = {}) + data, _status_code, _headers = patch_mutating_webhook_configuration_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1MutatingWebhookConfiguration, Fixnum, Hash)>] V1beta1MutatingWebhookConfiguration data, response status code and response headers + def patch_mutating_webhook_configuration_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.patch_mutating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.patch_mutating_webhook_configuration" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.patch_mutating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1MutatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#patch_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + def patch_validating_webhook_configuration(name, body, opts = {}) + data, _status_code, _headers = patch_validating_webhook_configuration_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1ValidatingWebhookConfiguration, Fixnum, Hash)>] V1beta1ValidatingWebhookConfiguration data, response status code and response headers + def patch_validating_webhook_configuration_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.patch_validating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.patch_validating_webhook_configuration" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.patch_validating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1ValidatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#patch_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1MutatingWebhookConfiguration] + def read_mutating_webhook_configuration(name, opts = {}) + data, _status_code, _headers = read_mutating_webhook_configuration_with_http_info(name, opts) + return data + end + + # + # read the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1MutatingWebhookConfiguration, Fixnum, Hash)>] V1beta1MutatingWebhookConfiguration data, response status code and response headers + def read_mutating_webhook_configuration_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.read_mutating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.read_mutating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1MutatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#read_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1ValidatingWebhookConfiguration] + def read_validating_webhook_configuration(name, opts = {}) + data, _status_code, _headers = read_validating_webhook_configuration_with_http_info(name, opts) + return data + end + + # + # read the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1ValidatingWebhookConfiguration, Fixnum, Hash)>] V1beta1ValidatingWebhookConfiguration data, response status code and response headers + def read_validating_webhook_configuration_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.read_validating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.read_validating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1ValidatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#read_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + def replace_mutating_webhook_configuration(name, body, opts = {}) + data, _status_code, _headers = replace_mutating_webhook_configuration_with_http_info(name, body, opts) + return data + end + + # + # replace the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1MutatingWebhookConfiguration, Fixnum, Hash)>] V1beta1MutatingWebhookConfiguration data, response status code and response headers + def replace_mutating_webhook_configuration_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.replace_mutating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.replace_mutating_webhook_configuration" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.replace_mutating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1MutatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#replace_mutating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + def replace_validating_webhook_configuration(name, body, opts = {}) + data, _status_code, _headers = replace_validating_webhook_configuration_with_http_info(name, body, opts) + return data + end + + # + # replace the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1ValidatingWebhookConfiguration, Fixnum, Hash)>] V1beta1ValidatingWebhookConfiguration data, response status code and response headers + def replace_validating_webhook_configuration_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AdmissionregistrationV1beta1Api.replace_validating_webhook_configuration ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AdmissionregistrationV1beta1Api.replace_validating_webhook_configuration" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AdmissionregistrationV1beta1Api.replace_validating_webhook_configuration" + end + # resource path + local_var_path = "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1ValidatingWebhookConfiguration') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AdmissionregistrationV1beta1Api#replace_validating_webhook_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/apiextensions_api.rb b/kubernetes/lib/kubernetes/api/apiextensions_api.rb index bcf7e334..7a61fe3b 100644 --- a/kubernetes/lib/kubernetes/api/apiextensions_api.rb +++ b/kubernetes/lib/kubernetes/api/apiextensions_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/apiextensions_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/apiextensions_v1beta1_api.rb index 5cfed795..aba75991 100644 --- a/kubernetes/lib/kubernetes/api/apiextensions_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/apiextensions_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a CustomResourceDefinition # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] def create_custom_resource_definition(body, opts = {}) data, _status_code, _headers = create_custom_resource_definition_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_custom_resource_definition(body, opts = {}) # create a CustomResourceDefinition # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers def create_custom_resource_definition_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_custom_resource_definition_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -81,14 +87,14 @@ def create_custom_resource_definition_with_http_info(body, opts = {}) # # delete collection of CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_custom_resource_definition(opts = {}) @@ -99,14 +105,14 @@ def delete_collection_custom_resource_definition(opts = {}) # # delete collection of CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_custom_resource_definition_with_http_info(opts = {}) @@ -118,10 +124,10 @@ def delete_collection_custom_resource_definition_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -157,29 +163,31 @@ def delete_collection_custom_resource_definition_with_http_info(opts = {}) # # delete a CustomResourceDefinition # @param name name of the CustomResourceDefinition - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_custom_resource_definition(name, body, opts = {}) - data, _status_code, _headers = delete_custom_resource_definition_with_http_info(name, body, opts) + def delete_custom_resource_definition(name, opts = {}) + data, _status_code, _headers = delete_custom_resource_definition_with_http_info(name, opts) return data end # # delete a CustomResourceDefinition # @param name name of the CustomResourceDefinition - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_custom_resource_definition_with_http_info(name, body, opts = {}) + def delete_custom_resource_definition_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ApiextensionsV1beta1Api.delete_custom_resource_definition ..." end @@ -187,16 +195,13 @@ def delete_custom_resource_definition_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling ApiextensionsV1beta1Api.delete_custom_resource_definition" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ApiextensionsV1beta1Api.delete_custom_resource_definition" - end # resource path local_var_path = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -212,7 +217,7 @@ def delete_custom_resource_definition_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -279,14 +284,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CustomResourceDefinitionList] def list_custom_resource_definition(opts = {}) @@ -297,14 +302,14 @@ def list_custom_resource_definition(opts = {}) # # list or watch objects of kind CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1CustomResourceDefinitionList, Fixnum, Hash)>] V1beta1CustomResourceDefinitionList data, response status code and response headers def list_custom_resource_definition_with_http_info(opts = {}) @@ -316,10 +321,10 @@ def list_custom_resource_definition_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -358,6 +363,7 @@ def list_custom_resource_definition_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] def patch_custom_resource_definition(name, body, opts = {}) data, _status_code, _headers = patch_custom_resource_definition_with_http_info(name, body, opts) @@ -370,6 +376,7 @@ def patch_custom_resource_definition(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers def patch_custom_resource_definition_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +396,7 @@ def patch_custom_resource_definition_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -416,6 +424,73 @@ def patch_custom_resource_definition_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # partially update status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1CustomResourceDefinition] + def patch_custom_resource_definition_status(name, body, opts = {}) + data, _status_code, _headers = patch_custom_resource_definition_status_with_http_info(name, body, opts) + return data + end + + # + # partially update status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers + def patch_custom_resource_definition_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiextensionsV1beta1Api.patch_custom_resource_definition_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiextensionsV1beta1Api.patch_custom_resource_definition_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiextensionsV1beta1Api.patch_custom_resource_definition_status" + end + # resource path + local_var_path = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1CustomResourceDefinition') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiextensionsV1beta1Api#patch_custom_resource_definition_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # read the specified CustomResourceDefinition # @param name name of the CustomResourceDefinition @@ -480,12 +555,71 @@ def read_custom_resource_definition_with_http_info(name, opts = {}) return data, status_code, headers end + # + # read status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1CustomResourceDefinition] + def read_custom_resource_definition_status(name, opts = {}) + data, _status_code, _headers = read_custom_resource_definition_status_with_http_info(name, opts) + return data + end + + # + # read status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers + def read_custom_resource_definition_status_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiextensionsV1beta1Api.read_custom_resource_definition_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiextensionsV1beta1Api.read_custom_resource_definition_status" + end + # resource path + local_var_path = "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1CustomResourceDefinition') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiextensionsV1beta1Api#read_custom_resource_definition_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified CustomResourceDefinition # @param name name of the CustomResourceDefinition # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] def replace_custom_resource_definition(name, body, opts = {}) data, _status_code, _headers = replace_custom_resource_definition_with_http_info(name, body, opts) @@ -498,6 +632,7 @@ def replace_custom_resource_definition(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers def replace_custom_resource_definition_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +652,7 @@ def replace_custom_resource_definition_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -550,6 +686,7 @@ def replace_custom_resource_definition_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] def replace_custom_resource_definition_status(name, body, opts = {}) data, _status_code, _headers = replace_custom_resource_definition_status_with_http_info(name, body, opts) @@ -562,6 +699,7 @@ def replace_custom_resource_definition_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CustomResourceDefinition, Fixnum, Hash)>] V1beta1CustomResourceDefinition data, response status code and response headers def replace_custom_resource_definition_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -581,6 +719,7 @@ def replace_custom_resource_definition_status_with_http_info(name, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/apiregistration_api.rb b/kubernetes/lib/kubernetes/api/apiregistration_api.rb index 0a448989..883a7992 100644 --- a/kubernetes/lib/kubernetes/api/apiregistration_api.rb +++ b/kubernetes/lib/kubernetes/api/apiregistration_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/apiregistration_v1_api.rb b/kubernetes/lib/kubernetes/api/apiregistration_v1_api.rb new file mode 100644 index 00000000..4449457c --- /dev/null +++ b/kubernetes/lib/kubernetes/api/apiregistration_v1_api.rb @@ -0,0 +1,750 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class ApiregistrationV1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create an APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + def create_api_service(body, opts = {}) + data, _status_code, _headers = create_api_service_with_http_info(body, opts) + return data + end + + # + # create an APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def create_api_service_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.create_api_service ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1Api.create_api_service" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#create_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete an APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_api_service(name, opts = {}) + data, _status_code, _headers = delete_api_service_with_http_info(name, opts) + return data + end + + # + # delete an APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_api_service_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.delete_api_service ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.delete_api_service" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#delete_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_api_service(opts = {}) + data, _status_code, _headers = delete_collection_api_service_with_http_info(opts) + return data + end + + # + # delete collection of APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_api_service_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.delete_collection_api_service ..." + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#delete_collection_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1APIServiceList] + def list_api_service(opts = {}) + data, _status_code, _headers = list_api_service_with_http_info(opts) + return data + end + + # + # list or watch objects of kind APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1APIServiceList, Fixnum, Hash)>] V1APIServiceList data, response status code and response headers + def list_api_service_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.list_api_service ..." + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIServiceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#list_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + def patch_api_service(name, body, opts = {}) + data, _status_code, _headers = patch_api_service_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def patch_api_service_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.patch_api_service ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.patch_api_service" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1Api.patch_api_service" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#patch_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + def patch_api_service_status(name, body, opts = {}) + data, _status_code, _headers = patch_api_service_status_with_http_info(name, body, opts) + return data + end + + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def patch_api_service_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.patch_api_service_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.patch_api_service_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1Api.patch_api_service_status" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#patch_api_service_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1APIService] + def read_api_service(name, opts = {}) + data, _status_code, _headers = read_api_service_with_http_info(name, opts) + return data + end + + # + # read the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def read_api_service_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.read_api_service ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.read_api_service" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#read_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1APIService] + def read_api_service_status(name, opts = {}) + data, _status_code, _headers = read_api_service_status_with_http_info(name, opts) + return data + end + + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def read_api_service_status_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.read_api_service_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.read_api_service_status" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#read_api_service_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + def replace_api_service(name, body, opts = {}) + data, _status_code, _headers = replace_api_service_with_http_info(name, body, opts) + return data + end + + # + # replace the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def replace_api_service_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.replace_api_service ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.replace_api_service" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1Api.replace_api_service" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#replace_api_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + def replace_api_service_status(name, body, opts = {}) + data, _status_code, _headers = replace_api_service_status_with_http_info(name, body, opts) + return data + end + + # + # replace status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1APIService, Fixnum, Hash)>] V1APIService data, response status code and response headers + def replace_api_service_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1Api.replace_api_service_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1Api.replace_api_service_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1Api.replace_api_service_status" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1Api#replace_api_service_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/apiregistration_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/apiregistration_v1beta1_api.rb index f5db33a9..c6a2cae3 100644 --- a/kubernetes/lib/kubernetes/api/apiregistration_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/apiregistration_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create an APIService # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] def create_api_service(body, opts = {}) data, _status_code, _headers = create_api_service_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_api_service(body, opts = {}) # create an APIService # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers def create_api_service_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_api_service_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -81,29 +87,31 @@ def create_api_service_with_http_info(body, opts = {}) # # delete an APIService # @param name name of the APIService - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_api_service(name, body, opts = {}) - data, _status_code, _headers = delete_api_service_with_http_info(name, body, opts) + def delete_api_service(name, opts = {}) + data, _status_code, _headers = delete_api_service_with_http_info(name, opts) return data end # # delete an APIService # @param name name of the APIService - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_api_service_with_http_info(name, body, opts = {}) + def delete_api_service_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ApiregistrationV1beta1Api.delete_api_service ..." end @@ -111,16 +119,13 @@ def delete_api_service_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1beta1Api.delete_api_service" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1beta1Api.delete_api_service" - end # resource path local_var_path = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -136,7 +141,7 @@ def delete_api_service_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -154,14 +159,14 @@ def delete_api_service_with_http_info(name, body, opts = {}) # # delete collection of APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_api_service(opts = {}) @@ -172,14 +177,14 @@ def delete_collection_api_service(opts = {}) # # delete collection of APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_api_service_with_http_info(opts = {}) @@ -191,10 +196,10 @@ def delete_collection_api_service_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -279,14 +284,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1APIServiceList] def list_api_service(opts = {}) @@ -297,14 +302,14 @@ def list_api_service(opts = {}) # # list or watch objects of kind APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1APIServiceList, Fixnum, Hash)>] V1beta1APIServiceList data, response status code and response headers def list_api_service_with_http_info(opts = {}) @@ -316,10 +321,10 @@ def list_api_service_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -358,6 +363,7 @@ def list_api_service_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] def patch_api_service(name, body, opts = {}) data, _status_code, _headers = patch_api_service_with_http_info(name, body, opts) @@ -370,6 +376,7 @@ def patch_api_service(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers def patch_api_service_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +396,7 @@ def patch_api_service_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -416,6 +424,73 @@ def patch_api_service_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1APIService] + def patch_api_service_status(name, body, opts = {}) + data, _status_code, _headers = patch_api_service_status_with_http_info(name, body, opts) + return data + end + + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers + def patch_api_service_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1beta1Api.patch_api_service_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1beta1Api.patch_api_service_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling ApiregistrationV1beta1Api.patch_api_service_status" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1beta1Api#patch_api_service_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # read the specified APIService # @param name name of the APIService @@ -480,12 +555,71 @@ def read_api_service_with_http_info(name, opts = {}) return data, status_code, headers end + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1APIService] + def read_api_service_status(name, opts = {}) + data, _status_code, _headers = read_api_service_status_with_http_info(name, opts) + return data + end + + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers + def read_api_service_status_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: ApiregistrationV1beta1Api.read_api_service_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling ApiregistrationV1beta1Api.read_api_service_status" + end + # resource path + local_var_path = "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1APIService') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: ApiregistrationV1beta1Api#read_api_service_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified APIService # @param name name of the APIService # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] def replace_api_service(name, body, opts = {}) data, _status_code, _headers = replace_api_service_with_http_info(name, body, opts) @@ -498,6 +632,7 @@ def replace_api_service(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers def replace_api_service_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +652,7 @@ def replace_api_service_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -550,6 +686,7 @@ def replace_api_service_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] def replace_api_service_status(name, body, opts = {}) data, _status_code, _headers = replace_api_service_status_with_http_info(name, body, opts) @@ -562,6 +699,7 @@ def replace_api_service_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1APIService, Fixnum, Hash)>] V1beta1APIService data, response status code and response headers def replace_api_service_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -581,6 +719,7 @@ def replace_api_service_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/apis_api.rb b/kubernetes/lib/kubernetes/api/apis_api.rb index f7cccdf4..c536ec63 100644 --- a/kubernetes/lib/kubernetes/api/apis_api.rb +++ b/kubernetes/lib/kubernetes/api/apis_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/apps_api.rb b/kubernetes/lib/kubernetes/api/apps_api.rb index 94433296..1f38a075 100644 --- a/kubernetes/lib/kubernetes/api/apps_api.rb +++ b/kubernetes/lib/kubernetes/api/apps_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/apps_v1_api.rb b/kubernetes/lib/kubernetes/api/apps_v1_api.rb new file mode 100644 index 00000000..b4642402 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/apps_v1_api.rb @@ -0,0 +1,4562 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class AppsV1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + def create_namespaced_controller_revision(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_controller_revision_with_http_info(namespace, body, opts) + return data + end + + # + # create a ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ControllerRevision, Fixnum, Hash)>] V1ControllerRevision data, response status code and response headers + def create_namespaced_controller_revision_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.create_namespaced_controller_revision ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.create_namespaced_controller_revision" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.create_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevision') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#create_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # create a DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + def create_namespaced_daemon_set(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_daemon_set_with_http_info(namespace, body, opts) + return data + end + + # + # create a DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.create_namespaced_daemon_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.create_namespaced_daemon_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.create_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#create_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # create a Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + def create_namespaced_deployment(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_deployment_with_http_info(namespace, body, opts) + return data + end + + # + # create a Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.create_namespaced_deployment ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.create_namespaced_deployment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.create_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#create_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # create a ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + def create_namespaced_replica_set(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_replica_set_with_http_info(namespace, body, opts) + return data + end + + # + # create a ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.create_namespaced_replica_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.create_namespaced_replica_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.create_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#create_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # create a StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + def create_namespaced_stateful_set(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_stateful_set_with_http_info(namespace, body, opts) + return data + end + + # + # create a StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.create_namespaced_stateful_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.create_namespaced_stateful_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.create_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#create_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_controller_revision(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_controller_revision_with_http_info(namespace, opts) + return data + end + + # + # delete collection of ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_controller_revision_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_collection_namespaced_controller_revision ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_collection_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_collection_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_daemon_set(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_daemon_set_with_http_info(namespace, opts) + return data + end + + # + # delete collection of DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_collection_namespaced_daemon_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_collection_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_collection_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_deployment(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_deployment_with_http_info(namespace, opts) + return data + end + + # + # delete collection of Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_collection_namespaced_deployment ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_collection_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_collection_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_replica_set(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_replica_set_with_http_info(namespace, opts) + return data + end + + # + # delete collection of ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_collection_namespaced_replica_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_collection_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_collection_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_stateful_set(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_stateful_set_with_http_info(namespace, opts) + return data + end + + # + # delete collection of StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_collection_namespaced_stateful_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_collection_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_collection_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_controller_revision(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, opts) + return data + end + + # + # delete a ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_controller_revision_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_namespaced_controller_revision ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.delete_namespaced_controller_revision" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_daemon_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_daemon_set_with_http_info(name, namespace, opts) + return data + end + + # + # delete a DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_daemon_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_namespaced_daemon_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.delete_namespaced_daemon_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_deployment(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, opts) + return data + end + + # + # delete a Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_deployment_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_namespaced_deployment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.delete_namespaced_deployment" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_replica_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_replica_set_with_http_info(name, namespace, opts) + return data + end + + # + # delete a ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_replica_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_namespaced_replica_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.delete_namespaced_replica_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_stateful_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, opts) + return data + end + + # + # delete a StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_stateful_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.delete_namespaced_stateful_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.delete_namespaced_stateful_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.delete_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#delete_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/apps/v1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind ControllerRevision + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ControllerRevisionList] + def list_controller_revision_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_controller_revision_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind ControllerRevision + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1ControllerRevisionList, Fixnum, Hash)>] V1ControllerRevisionList data, response status code and response headers + def list_controller_revision_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_controller_revision_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/apps/v1/controllerrevisions" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevisionList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_controller_revision_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind DaemonSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DaemonSetList] + def list_daemon_set_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_daemon_set_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind DaemonSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1DaemonSetList, Fixnum, Hash)>] V1DaemonSetList data, response status code and response headers + def list_daemon_set_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_daemon_set_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/apps/v1/daemonsets" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_daemon_set_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Deployment + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DeploymentList] + def list_deployment_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_deployment_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind Deployment + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1DeploymentList, Fixnum, Hash)>] V1DeploymentList data, response status code and response headers + def list_deployment_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_deployment_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/apps/v1/deployments" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DeploymentList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_deployment_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ControllerRevisionList] + def list_namespaced_controller_revision(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_controller_revision_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1ControllerRevisionList, Fixnum, Hash)>] V1ControllerRevisionList data, response status code and response headers + def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_namespaced_controller_revision ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.list_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevisionList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DaemonSetList] + def list_namespaced_daemon_set(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_daemon_set_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1DaemonSetList, Fixnum, Hash)>] V1DaemonSetList data, response status code and response headers + def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_namespaced_daemon_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.list_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DeploymentList] + def list_namespaced_deployment(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_deployment_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1DeploymentList, Fixnum, Hash)>] V1DeploymentList data, response status code and response headers + def list_namespaced_deployment_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_namespaced_deployment ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.list_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DeploymentList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ReplicaSetList] + def list_namespaced_replica_set(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_replica_set_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1ReplicaSetList, Fixnum, Hash)>] V1ReplicaSetList data, response status code and response headers + def list_namespaced_replica_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_namespaced_replica_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.list_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1StatefulSetList] + def list_namespaced_stateful_set(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_stateful_set_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1StatefulSetList, Fixnum, Hash)>] V1StatefulSetList data, response status code and response headers + def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_namespaced_stateful_set ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.list_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind ReplicaSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ReplicaSetList] + def list_replica_set_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_replica_set_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind ReplicaSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1ReplicaSetList, Fixnum, Hash)>] V1ReplicaSetList data, response status code and response headers + def list_replica_set_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_replica_set_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/apps/v1/replicasets" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_replica_set_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind StatefulSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1StatefulSetList] + def list_stateful_set_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_stateful_set_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind StatefulSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1StatefulSetList, Fixnum, Hash)>] V1StatefulSetList data, response status code and response headers + def list_stateful_set_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.list_stateful_set_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/apps/v1/statefulsets" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSetList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#list_stateful_set_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + def patch_namespaced_controller_revision(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ControllerRevision, Fixnum, Hash)>] V1ControllerRevision data, response status code and response headers + def patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_controller_revision ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_controller_revision" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_controller_revision" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevision') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + def patch_namespaced_daemon_set(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_daemon_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_daemon_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_daemon_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + def patch_namespaced_daemon_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_daemon_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_daemon_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_daemon_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_daemon_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_daemon_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + def patch_namespaced_deployment(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_deployment_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_deployment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_deployment" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_deployment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_deployment_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_deployment_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_deployment_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_deployment_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + def patch_namespaced_deployment_status(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_deployment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_deployment_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_deployment_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_deployment_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + def patch_namespaced_replica_set(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_replica_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_replica_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_replica_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_replica_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def patch_namespaced_replica_set_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_replica_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_replica_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_replica_set_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_replica_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_replica_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + def patch_namespaced_replica_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_replica_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_replica_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_replica_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_replica_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_replica_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + def patch_namespaced_stateful_set(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_stateful_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_stateful_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_stateful_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_stateful_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_stateful_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_stateful_set_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_stateful_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + def patch_namespaced_stateful_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.patch_namespaced_stateful_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.patch_namespaced_stateful_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.patch_namespaced_stateful_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.patch_namespaced_stateful_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#patch_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1ControllerRevision] + def read_namespaced_controller_revision(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_controller_revision_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1ControllerRevision, Fixnum, Hash)>] V1ControllerRevision data, response status code and response headers + def read_namespaced_controller_revision_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_controller_revision ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_controller_revision" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevision') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1DaemonSet] + def read_namespaced_daemon_set(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_daemon_set_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def read_namespaced_daemon_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_daemon_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_daemon_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1DaemonSet] + def read_namespaced_daemon_set_status(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_daemon_set_status_with_http_info(name, namespace, opts) + return data + end + + # + # read status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def read_namespaced_daemon_set_status_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_daemon_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_daemon_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_daemon_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_daemon_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1Deployment] + def read_namespaced_deployment(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_deployment_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def read_namespaced_deployment_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_deployment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_deployment" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + def read_namespaced_deployment_scale(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_deployment_scale_with_http_info(name, namespace, opts) + return data + end + + # + # read scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def read_namespaced_deployment_scale_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_deployment_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_deployment_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_deployment_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Deployment] + def read_namespaced_deployment_status(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_deployment_status_with_http_info(name, namespace, opts) + return data + end + + # + # read status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def read_namespaced_deployment_status_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_deployment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_deployment_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_deployment_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1ReplicaSet] + def read_namespaced_replica_set(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_replica_set_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def read_namespaced_replica_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_replica_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_replica_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + def read_namespaced_replica_set_scale(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_replica_set_scale_with_http_info(name, namespace, opts) + return data + end + + # + # read scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def read_namespaced_replica_set_scale_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_replica_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_replica_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_replica_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_replica_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1ReplicaSet] + def read_namespaced_replica_set_status(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_replica_set_status_with_http_info(name, namespace, opts) + return data + end + + # + # read status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def read_namespaced_replica_set_status_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_replica_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_replica_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_replica_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_replica_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1StatefulSet] + def read_namespaced_stateful_set(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_stateful_set_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def read_namespaced_stateful_set_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_stateful_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_stateful_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + def read_namespaced_stateful_set_scale(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_stateful_set_scale_with_http_info(name, namespace, opts) + return data + end + + # + # read scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def read_namespaced_stateful_set_scale_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_stateful_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_stateful_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_stateful_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1StatefulSet] + def read_namespaced_stateful_set_status(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_stateful_set_status_with_http_info(name, namespace, opts) + return data + end + + # + # read status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def read_namespaced_stateful_set_status_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.read_namespaced_stateful_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.read_namespaced_stateful_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.read_namespaced_stateful_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#read_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + def replace_namespaced_controller_revision(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ControllerRevision, Fixnum, Hash)>] V1ControllerRevision data, response status code and response headers + def replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_controller_revision ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_controller_revision" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_controller_revision" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_controller_revision" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ControllerRevision') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_controller_revision\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + def replace_namespaced_daemon_set(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_daemon_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_daemon_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_daemon_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_daemon_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_daemon_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + def replace_namespaced_daemon_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1DaemonSet, Fixnum, Hash)>] V1DaemonSet data, response status code and response headers + def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_daemon_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_daemon_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_daemon_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_daemon_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1DaemonSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_daemon_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + def replace_namespaced_deployment(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_deployment_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_deployment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_deployment" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_deployment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_deployment" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_deployment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_deployment_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_deployment_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_deployment_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_deployment_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_deployment_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + def replace_namespaced_deployment_status(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Deployment, Fixnum, Hash)>] V1Deployment data, response status code and response headers + def replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_deployment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_deployment_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_deployment_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_deployment_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Deployment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_deployment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + def replace_namespaced_replica_set(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_replica_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_replica_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_replica_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_replica_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_replica_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_replica_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def replace_namespaced_replica_set_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_replica_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_replica_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_replica_set_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_replica_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_replica_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + def replace_namespaced_replica_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1ReplicaSet, Fixnum, Hash)>] V1ReplicaSet data, response status code and response headers + def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_replica_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_replica_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_replica_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_replica_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1ReplicaSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_replica_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + def replace_namespaced_stateful_set(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_stateful_set ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_stateful_set" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_stateful_set" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_stateful_set" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_stateful_set\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers + def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_stateful_set_scale ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_stateful_set_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_stateful_set_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_stateful_set_scale" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Scale') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_stateful_set_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + def replace_namespaced_stateful_set_status(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1StatefulSet, Fixnum, Hash)>] V1StatefulSet data, response status code and response headers + def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AppsV1Api.replace_namespaced_stateful_set_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AppsV1Api.replace_namespaced_stateful_set_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1Api.replace_namespaced_stateful_set_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1Api.replace_namespaced_stateful_set_status" + end + # resource path + local_var_path = "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1StatefulSet') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AppsV1Api#replace_namespaced_stateful_set_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/apps_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/apps_v1beta1_api.rb index c4691da5..6e789574 100644 --- a/kubernetes/lib/kubernetes/api/apps_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/apps_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] def create_namespaced_controller_revision(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_controller_revision_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_controller_revision(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers def create_namespaced_controller_revision_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_controller_revision_with_http_info(namespace, body, opts = # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -89,7 +95,9 @@ def create_namespaced_controller_revision_with_http_info(namespace, body, opts = # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] def create_namespaced_deployment(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_deployment_with_http_info(namespace, body, opts) @@ -101,7 +109,9 @@ def create_namespaced_deployment(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -120,7 +130,9 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -154,8 +166,10 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [AppsV1beta1DeploymentRollback] + # @return [V1Status] def create_namespaced_deployment_rollback(name, namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts) return data @@ -167,8 +181,10 @@ def create_namespaced_deployment_rollback(name, namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(AppsV1beta1DeploymentRollback, Fixnum, Hash)>] AppsV1beta1DeploymentRollback data, response status code and response headers + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta1Api.create_namespaced_deployment_rollback ..." @@ -190,6 +206,8 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -211,7 +229,7 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'AppsV1beta1DeploymentRollback') + :return_type => 'V1Status') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppsV1beta1Api#create_namespaced_deployment_rollback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -223,7 +241,9 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] def create_namespaced_stateful_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_stateful_set_with_http_info(namespace, body, opts) @@ -235,7 +255,9 @@ def create_namespaced_stateful_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -254,7 +276,9 @@ def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -286,14 +310,14 @@ def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_controller_revision(namespace, opts = {}) @@ -305,14 +329,14 @@ def delete_collection_namespaced_controller_revision(namespace, opts = {}) # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_controller_revision_with_http_info(namespace, opts = {}) @@ -328,10 +352,10 @@ def delete_collection_namespaced_controller_revision_with_http_info(namespace, o # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -368,14 +392,14 @@ def delete_collection_namespaced_controller_revision_with_http_info(namespace, o # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_deployment(namespace, opts = {}) @@ -387,14 +411,14 @@ def delete_collection_namespaced_deployment(namespace, opts = {}) # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -410,10 +434,10 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -450,14 +474,14 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_stateful_set(namespace, opts = {}) @@ -469,14 +493,14 @@ def delete_collection_namespaced_stateful_set(namespace, opts = {}) # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = {}) @@ -492,10 +516,10 @@ def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -532,15 +556,16 @@ def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = { # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_controller_revision(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, body, opts) + def delete_namespaced_controller_revision(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, opts) return data end @@ -548,14 +573,15 @@ def delete_namespaced_controller_revision(name, namespace, body, opts = {}) # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_controller_revision_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_controller_revision ..." end @@ -567,16 +593,13 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_controller_revision" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.delete_namespaced_controller_revision" - end # resource path local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -592,7 +615,7 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -611,15 +634,16 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_deployment(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, body, opts) + def delete_namespaced_deployment(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, opts) return data end @@ -627,14 +651,15 @@ def delete_namespaced_deployment(name, namespace, body, opts = {}) # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_deployment_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_deployment ..." end @@ -646,16 +671,13 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_deployment" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.delete_namespaced_deployment" - end # resource path local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -671,7 +693,7 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -690,15 +712,16 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_stateful_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_stateful_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, opts) return data end @@ -706,14 +729,15 @@ def delete_namespaced_stateful_set(name, namespace, body, opts = {}) # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_stateful_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta1Api.delete_namespaced_stateful_set ..." end @@ -725,16 +749,13 @@ def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta1Api.delete_namespaced_stateful_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta1Api.delete_namespaced_stateful_set" - end # resource path local_var_path = "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -750,7 +771,7 @@ def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -817,14 +838,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ControllerRevisionList] def list_controller_revision_for_all_namespaces(opts = {}) @@ -835,14 +856,14 @@ def list_controller_revision_for_all_namespaces(opts = {}) # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ControllerRevisionList, Fixnum, Hash)>] V1beta1ControllerRevisionList data, response status code and response headers def list_controller_revision_for_all_namespaces_with_http_info(opts = {}) @@ -893,14 +914,14 @@ def list_controller_revision_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [AppsV1beta1DeploymentList] def list_deployment_for_all_namespaces(opts = {}) @@ -911,14 +932,14 @@ def list_deployment_for_all_namespaces(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(AppsV1beta1DeploymentList, Fixnum, Hash)>] AppsV1beta1DeploymentList data, response status code and response headers def list_deployment_for_all_namespaces_with_http_info(opts = {}) @@ -970,14 +991,14 @@ def list_deployment_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ControllerRevisionList] def list_namespaced_controller_revision(namespace, opts = {}) @@ -989,14 +1010,14 @@ def list_namespaced_controller_revision(namespace, opts = {}) # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ControllerRevisionList, Fixnum, Hash)>] V1beta1ControllerRevisionList data, response status code and response headers def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) @@ -1012,10 +1033,10 @@ def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1052,14 +1073,14 @@ def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [AppsV1beta1DeploymentList] def list_namespaced_deployment(namespace, opts = {}) @@ -1071,14 +1092,14 @@ def list_namespaced_deployment(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(AppsV1beta1DeploymentList, Fixnum, Hash)>] AppsV1beta1DeploymentList data, response status code and response headers def list_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -1094,10 +1115,10 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1134,14 +1155,14 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StatefulSetList] def list_namespaced_stateful_set(namespace, opts = {}) @@ -1153,14 +1174,14 @@ def list_namespaced_stateful_set(namespace, opts = {}) # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1StatefulSetList, Fixnum, Hash)>] V1beta1StatefulSetList data, response status code and response headers def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) @@ -1176,10 +1197,10 @@ def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1215,14 +1236,14 @@ def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StatefulSetList] def list_stateful_set_for_all_namespaces(opts = {}) @@ -1233,14 +1254,14 @@ def list_stateful_set_for_all_namespaces(opts = {}) # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1StatefulSetList, Fixnum, Hash)>] V1beta1StatefulSetList data, response status code and response headers def list_stateful_set_for_all_namespaces_with_http_info(opts = {}) @@ -1295,6 +1316,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] def patch_namespaced_controller_revision(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts) @@ -1308,6 +1330,7 @@ def patch_namespaced_controller_revision(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers def patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1331,6 +1354,7 @@ def patch_namespaced_controller_revision_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1365,6 +1389,7 @@ def patch_namespaced_controller_revision_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] def patch_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -1378,6 +1403,7 @@ def patch_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1401,6 +1427,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1435,6 +1462,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -1448,6 +1476,7 @@ def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1471,6 +1500,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1505,6 +1535,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] def patch_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -1518,6 +1549,7 @@ def patch_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1541,6 +1573,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1575,6 +1608,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] def patch_namespaced_stateful_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts) @@ -1588,6 +1622,7 @@ def patch_namespaced_stateful_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1611,6 +1646,7 @@ def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1645,6 +1681,7 @@ def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) @@ -1658,6 +1695,7 @@ def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1681,6 +1719,7 @@ def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1715,6 +1754,7 @@ def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] def patch_namespaced_stateful_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) @@ -1728,6 +1768,7 @@ def patch_namespaced_stateful_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1751,6 +1792,7 @@ def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2251,6 +2293,7 @@ def read_namespaced_stateful_set_status_with_http_info(name, namespace, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] def replace_namespaced_controller_revision(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts) @@ -2264,6 +2307,7 @@ def replace_namespaced_controller_revision(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ControllerRevision, Fixnum, Hash)>] V1beta1ControllerRevision data, response status code and response headers def replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2287,6 +2331,7 @@ def replace_namespaced_controller_revision_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2321,6 +2366,7 @@ def replace_namespaced_controller_revision_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] def replace_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -2334,6 +2380,7 @@ def replace_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2357,6 +2404,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2391,6 +2439,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -2404,6 +2453,7 @@ def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2427,6 +2477,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2461,6 +2512,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] def replace_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -2474,6 +2526,7 @@ def replace_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Deployment, Fixnum, Hash)>] AppsV1beta1Deployment data, response status code and response headers def replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2497,6 +2550,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2531,6 +2585,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] def replace_namespaced_stateful_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts) @@ -2544,6 +2599,7 @@ def replace_namespaced_stateful_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2567,6 +2623,7 @@ def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2601,6 +2658,7 @@ def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) @@ -2614,6 +2672,7 @@ def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(AppsV1beta1Scale, Fixnum, Hash)>] AppsV1beta1Scale data, response status code and response headers def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2637,6 +2696,7 @@ def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2671,6 +2731,7 @@ def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] def replace_namespaced_stateful_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) @@ -2684,6 +2745,7 @@ def replace_namespaced_stateful_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StatefulSet, Fixnum, Hash)>] V1beta1StatefulSet data, response status code and response headers def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2707,6 +2769,7 @@ def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/apps_v1beta2_api.rb b/kubernetes/lib/kubernetes/api/apps_v1beta2_api.rb index fd565e9d..65732795 100644 --- a/kubernetes/lib/kubernetes/api/apps_v1beta2_api.rb +++ b/kubernetes/lib/kubernetes/api/apps_v1beta2_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] def create_namespaced_controller_revision(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_controller_revision_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_controller_revision(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ControllerRevision, Fixnum, Hash)>] V1beta2ControllerRevision data, response status code and response headers def create_namespaced_controller_revision_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_controller_revision_with_http_info(namespace, body, opts = # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -89,7 +95,9 @@ def create_namespaced_controller_revision_with_http_info(namespace, body, opts = # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] def create_namespaced_daemon_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_daemon_set_with_http_info(namespace, body, opts) @@ -101,7 +109,9 @@ def create_namespaced_daemon_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2DaemonSet, Fixnum, Hash)>] V1beta2DaemonSet data, response status code and response headers def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -120,7 +130,9 @@ def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -153,7 +165,9 @@ def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] def create_namespaced_deployment(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_deployment_with_http_info(namespace, body, opts) @@ -165,7 +179,9 @@ def create_namespaced_deployment(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Deployment, Fixnum, Hash)>] V1beta2Deployment data, response status code and response headers def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -184,7 +200,9 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -217,7 +235,9 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] def create_namespaced_replica_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_replica_set_with_http_info(namespace, body, opts) @@ -229,7 +249,9 @@ def create_namespaced_replica_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ReplicaSet, Fixnum, Hash)>] V1beta2ReplicaSet data, response status code and response headers def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -248,7 +270,9 @@ def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -281,7 +305,9 @@ def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] def create_namespaced_stateful_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_stateful_set_with_http_info(namespace, body, opts) @@ -293,7 +319,9 @@ def create_namespaced_stateful_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2StatefulSet, Fixnum, Hash)>] V1beta2StatefulSet data, response status code and response headers def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -312,7 +340,9 @@ def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -344,14 +374,14 @@ def create_namespaced_stateful_set_with_http_info(namespace, body, opts = {}) # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_controller_revision(namespace, opts = {}) @@ -363,14 +393,14 @@ def delete_collection_namespaced_controller_revision(namespace, opts = {}) # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_controller_revision_with_http_info(namespace, opts = {}) @@ -386,10 +416,10 @@ def delete_collection_namespaced_controller_revision_with_http_info(namespace, o # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -426,14 +456,14 @@ def delete_collection_namespaced_controller_revision_with_http_info(namespace, o # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_daemon_set(namespace, opts = {}) @@ -445,14 +475,14 @@ def delete_collection_namespaced_daemon_set(namespace, opts = {}) # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) @@ -468,10 +498,10 @@ def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -508,14 +538,14 @@ def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_deployment(namespace, opts = {}) @@ -527,14 +557,14 @@ def delete_collection_namespaced_deployment(namespace, opts = {}) # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -550,10 +580,10 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -590,14 +620,14 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_replica_set(namespace, opts = {}) @@ -609,14 +639,14 @@ def delete_collection_namespaced_replica_set(namespace, opts = {}) # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {}) @@ -632,10 +662,10 @@ def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {} # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -672,14 +702,14 @@ def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {} # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_stateful_set(namespace, opts = {}) @@ -691,14 +721,14 @@ def delete_collection_namespaced_stateful_set(namespace, opts = {}) # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = {}) @@ -714,10 +744,10 @@ def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -754,15 +784,16 @@ def delete_collection_namespaced_stateful_set_with_http_info(namespace, opts = { # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_controller_revision(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, body, opts) + def delete_namespaced_controller_revision(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_controller_revision_with_http_info(name, namespace, opts) return data end @@ -770,14 +801,15 @@ def delete_namespaced_controller_revision(name, namespace, body, opts = {}) # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_controller_revision_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta2Api.delete_namespaced_controller_revision ..." end @@ -789,16 +821,13 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta2Api.delete_namespaced_controller_revision" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta2Api.delete_namespaced_controller_revision" - end # resource path local_var_path = "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -814,7 +843,7 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -833,15 +862,16 @@ def delete_namespaced_controller_revision_with_http_info(name, namespace, body, # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_daemon_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_daemon_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_daemon_set_with_http_info(name, namespace, opts) return data end @@ -849,14 +879,15 @@ def delete_namespaced_daemon_set(name, namespace, body, opts = {}) # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_daemon_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta2Api.delete_namespaced_daemon_set ..." end @@ -868,16 +899,13 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta2Api.delete_namespaced_daemon_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta2Api.delete_namespaced_daemon_set" - end # resource path local_var_path = "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -893,7 +921,7 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -912,15 +940,16 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_deployment(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, body, opts) + def delete_namespaced_deployment(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, opts) return data end @@ -928,14 +957,15 @@ def delete_namespaced_deployment(name, namespace, body, opts = {}) # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_deployment_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta2Api.delete_namespaced_deployment ..." end @@ -947,16 +977,13 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta2Api.delete_namespaced_deployment" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta2Api.delete_namespaced_deployment" - end # resource path local_var_path = "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -972,7 +999,7 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -991,15 +1018,16 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_replica_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_replica_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_replica_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_replica_set_with_http_info(name, namespace, opts) return data end @@ -1007,14 +1035,15 @@ def delete_namespaced_replica_set(name, namespace, body, opts = {}) # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_replica_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta2Api.delete_namespaced_replica_set ..." end @@ -1026,16 +1055,13 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta2Api.delete_namespaced_replica_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta2Api.delete_namespaced_replica_set" - end # resource path local_var_path = "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1051,7 +1077,7 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1070,15 +1096,16 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_stateful_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_stateful_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_stateful_set_with_http_info(name, namespace, opts) return data end @@ -1086,14 +1113,15 @@ def delete_namespaced_stateful_set(name, namespace, body, opts = {}) # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_stateful_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppsV1beta2Api.delete_namespaced_stateful_set ..." end @@ -1105,16 +1133,13 @@ def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AppsV1beta2Api.delete_namespaced_stateful_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AppsV1beta2Api.delete_namespaced_stateful_set" - end # resource path local_var_path = "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1130,7 +1155,7 @@ def delete_namespaced_stateful_set_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1197,14 +1222,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ControllerRevisionList] def list_controller_revision_for_all_namespaces(opts = {}) @@ -1215,14 +1240,14 @@ def list_controller_revision_for_all_namespaces(opts = {}) # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2ControllerRevisionList, Fixnum, Hash)>] V1beta2ControllerRevisionList data, response status code and response headers def list_controller_revision_for_all_namespaces_with_http_info(opts = {}) @@ -1273,14 +1298,14 @@ def list_controller_revision_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DaemonSetList] def list_daemon_set_for_all_namespaces(opts = {}) @@ -1291,14 +1316,14 @@ def list_daemon_set_for_all_namespaces(opts = {}) # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2DaemonSetList, Fixnum, Hash)>] V1beta2DaemonSetList data, response status code and response headers def list_daemon_set_for_all_namespaces_with_http_info(opts = {}) @@ -1349,14 +1374,14 @@ def list_daemon_set_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DeploymentList] def list_deployment_for_all_namespaces(opts = {}) @@ -1367,14 +1392,14 @@ def list_deployment_for_all_namespaces(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2DeploymentList, Fixnum, Hash)>] V1beta2DeploymentList data, response status code and response headers def list_deployment_for_all_namespaces_with_http_info(opts = {}) @@ -1426,14 +1451,14 @@ def list_deployment_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ControllerRevisionList] def list_namespaced_controller_revision(namespace, opts = {}) @@ -1445,14 +1470,14 @@ def list_namespaced_controller_revision(namespace, opts = {}) # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2ControllerRevisionList, Fixnum, Hash)>] V1beta2ControllerRevisionList data, response status code and response headers def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) @@ -1468,10 +1493,10 @@ def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1508,14 +1533,14 @@ def list_namespaced_controller_revision_with_http_info(namespace, opts = {}) # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DaemonSetList] def list_namespaced_daemon_set(namespace, opts = {}) @@ -1527,14 +1552,14 @@ def list_namespaced_daemon_set(namespace, opts = {}) # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2DaemonSetList, Fixnum, Hash)>] V1beta2DaemonSetList data, response status code and response headers def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) @@ -1550,10 +1575,10 @@ def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1590,14 +1615,14 @@ def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DeploymentList] def list_namespaced_deployment(namespace, opts = {}) @@ -1609,14 +1634,14 @@ def list_namespaced_deployment(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2DeploymentList, Fixnum, Hash)>] V1beta2DeploymentList data, response status code and response headers def list_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -1632,10 +1657,10 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1672,14 +1697,14 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ReplicaSetList] def list_namespaced_replica_set(namespace, opts = {}) @@ -1691,14 +1716,14 @@ def list_namespaced_replica_set(namespace, opts = {}) # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2ReplicaSetList, Fixnum, Hash)>] V1beta2ReplicaSetList data, response status code and response headers def list_namespaced_replica_set_with_http_info(namespace, opts = {}) @@ -1714,10 +1739,10 @@ def list_namespaced_replica_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1754,14 +1779,14 @@ def list_namespaced_replica_set_with_http_info(namespace, opts = {}) # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2StatefulSetList] def list_namespaced_stateful_set(namespace, opts = {}) @@ -1773,14 +1798,14 @@ def list_namespaced_stateful_set(namespace, opts = {}) # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2StatefulSetList, Fixnum, Hash)>] V1beta2StatefulSetList data, response status code and response headers def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) @@ -1796,10 +1821,10 @@ def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1835,14 +1860,14 @@ def list_namespaced_stateful_set_with_http_info(namespace, opts = {}) # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ReplicaSetList] def list_replica_set_for_all_namespaces(opts = {}) @@ -1853,14 +1878,14 @@ def list_replica_set_for_all_namespaces(opts = {}) # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2ReplicaSetList, Fixnum, Hash)>] V1beta2ReplicaSetList data, response status code and response headers def list_replica_set_for_all_namespaces_with_http_info(opts = {}) @@ -1911,14 +1936,14 @@ def list_replica_set_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2StatefulSetList] def list_stateful_set_for_all_namespaces(opts = {}) @@ -1929,14 +1954,14 @@ def list_stateful_set_for_all_namespaces(opts = {}) # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta2StatefulSetList, Fixnum, Hash)>] V1beta2StatefulSetList data, response status code and response headers def list_stateful_set_for_all_namespaces_with_http_info(opts = {}) @@ -1991,6 +2016,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] def patch_namespaced_controller_revision(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts) @@ -2004,6 +2030,7 @@ def patch_namespaced_controller_revision(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ControllerRevision, Fixnum, Hash)>] V1beta2ControllerRevision data, response status code and response headers def patch_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2027,6 +2054,7 @@ def patch_namespaced_controller_revision_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2061,6 +2089,7 @@ def patch_namespaced_controller_revision_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] def patch_namespaced_daemon_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts) @@ -2074,6 +2103,7 @@ def patch_namespaced_daemon_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2DaemonSet, Fixnum, Hash)>] V1beta2DaemonSet data, response status code and response headers def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2097,6 +2127,7 @@ def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2131,6 +2162,7 @@ def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] def patch_namespaced_daemon_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) @@ -2144,6 +2176,7 @@ def patch_namespaced_daemon_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2DaemonSet, Fixnum, Hash)>] V1beta2DaemonSet data, response status code and response headers def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2167,6 +2200,7 @@ def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2201,6 +2235,7 @@ def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] def patch_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -2214,6 +2249,7 @@ def patch_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Deployment, Fixnum, Hash)>] V1beta2Deployment data, response status code and response headers def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2237,6 +2273,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2271,6 +2308,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -2284,6 +2322,7 @@ def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2307,6 +2346,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2341,6 +2381,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] def patch_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -2354,6 +2395,7 @@ def patch_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Deployment, Fixnum, Hash)>] V1beta2Deployment data, response status code and response headers def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2377,6 +2419,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2411,6 +2454,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] def patch_namespaced_replica_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_with_http_info(name, namespace, body, opts) @@ -2424,6 +2468,7 @@ def patch_namespaced_replica_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ReplicaSet, Fixnum, Hash)>] V1beta2ReplicaSet data, response status code and response headers def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2447,6 +2492,7 @@ def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {} # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2481,6 +2527,7 @@ def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {} # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def patch_namespaced_replica_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) @@ -2494,6 +2541,7 @@ def patch_namespaced_replica_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2517,6 +2565,7 @@ def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2551,6 +2600,7 @@ def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] def patch_namespaced_replica_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) @@ -2564,6 +2614,7 @@ def patch_namespaced_replica_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ReplicaSet, Fixnum, Hash)>] V1beta2ReplicaSet data, response status code and response headers def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2587,6 +2638,7 @@ def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2621,6 +2673,7 @@ def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] def patch_namespaced_stateful_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts) @@ -2634,6 +2687,7 @@ def patch_namespaced_stateful_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2StatefulSet, Fixnum, Hash)>] V1beta2StatefulSet data, response status code and response headers def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2657,6 +2711,7 @@ def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2691,6 +2746,7 @@ def patch_namespaced_stateful_set_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) @@ -2704,6 +2760,7 @@ def patch_namespaced_stateful_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2727,6 +2784,7 @@ def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2761,6 +2819,7 @@ def patch_namespaced_stateful_set_scale_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] def patch_namespaced_stateful_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) @@ -2774,6 +2833,7 @@ def patch_namespaced_stateful_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2StatefulSet, Fixnum, Hash)>] V1beta2StatefulSet data, response status code and response headers def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2797,6 +2857,7 @@ def patch_namespaced_stateful_set_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3629,6 +3690,7 @@ def read_namespaced_stateful_set_status_with_http_info(name, namespace, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] def replace_namespaced_controller_revision(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts) @@ -3642,6 +3704,7 @@ def replace_namespaced_controller_revision(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ControllerRevision, Fixnum, Hash)>] V1beta2ControllerRevision data, response status code and response headers def replace_namespaced_controller_revision_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3665,6 +3728,7 @@ def replace_namespaced_controller_revision_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3699,6 +3763,7 @@ def replace_namespaced_controller_revision_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] def replace_namespaced_daemon_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts) @@ -3712,6 +3777,7 @@ def replace_namespaced_daemon_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2DaemonSet, Fixnum, Hash)>] V1beta2DaemonSet data, response status code and response headers def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3735,6 +3801,7 @@ def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3769,6 +3836,7 @@ def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] def replace_namespaced_daemon_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) @@ -3782,6 +3850,7 @@ def replace_namespaced_daemon_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2DaemonSet, Fixnum, Hash)>] V1beta2DaemonSet data, response status code and response headers def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3805,6 +3874,7 @@ def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3839,6 +3909,7 @@ def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] def replace_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -3852,6 +3923,7 @@ def replace_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Deployment, Fixnum, Hash)>] V1beta2Deployment data, response status code and response headers def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3875,6 +3947,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3909,6 +3982,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -3922,6 +3996,7 @@ def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3945,6 +4020,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3979,6 +4055,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] def replace_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -3992,6 +4069,7 @@ def replace_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Deployment, Fixnum, Hash)>] V1beta2Deployment data, response status code and response headers def replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4015,6 +4093,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4049,6 +4128,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] def replace_namespaced_replica_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_with_http_info(name, namespace, body, opts) @@ -4062,6 +4142,7 @@ def replace_namespaced_replica_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ReplicaSet, Fixnum, Hash)>] V1beta2ReplicaSet data, response status code and response headers def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4085,6 +4166,7 @@ def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4119,6 +4201,7 @@ def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def replace_namespaced_replica_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) @@ -4132,6 +4215,7 @@ def replace_namespaced_replica_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4155,6 +4239,7 @@ def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4189,6 +4274,7 @@ def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] def replace_namespaced_replica_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) @@ -4202,6 +4288,7 @@ def replace_namespaced_replica_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2ReplicaSet, Fixnum, Hash)>] V1beta2ReplicaSet data, response status code and response headers def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4225,6 +4312,7 @@ def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4259,6 +4347,7 @@ def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] def replace_namespaced_stateful_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts) @@ -4272,6 +4361,7 @@ def replace_namespaced_stateful_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2StatefulSet, Fixnum, Hash)>] V1beta2StatefulSet data, response status code and response headers def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4295,6 +4385,7 @@ def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4329,6 +4420,7 @@ def replace_namespaced_stateful_set_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts) @@ -4342,6 +4434,7 @@ def replace_namespaced_stateful_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2Scale, Fixnum, Hash)>] V1beta2Scale data, response status code and response headers def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4365,6 +4458,7 @@ def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4399,6 +4493,7 @@ def replace_namespaced_stateful_set_scale_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] def replace_namespaced_stateful_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts) @@ -4412,6 +4507,7 @@ def replace_namespaced_stateful_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta2StatefulSet, Fixnum, Hash)>] V1beta2StatefulSet data, response status code and response headers def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4435,6 +4531,7 @@ def replace_namespaced_stateful_set_status_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/auditregistration_api.rb b/kubernetes/lib/kubernetes/api/auditregistration_api.rb new file mode 100644 index 00000000..67f4679f --- /dev/null +++ b/kubernetes/lib/kubernetes/api/auditregistration_api.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class AuditregistrationApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + def get_api_group(opts = {}) + data, _status_code, _headers = get_api_group_with_http_info(opts) + return data + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIGroup, Fixnum, Hash)>] V1APIGroup data, response status code and response headers + def get_api_group_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationApi.get_api_group ..." + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIGroup') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationApi#get_api_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/auditregistration_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/auditregistration_v1alpha1_api.rb new file mode 100644 index 00000000..e724dfc5 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/auditregistration_v1alpha1_api.rb @@ -0,0 +1,558 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class AuditregistrationV1alpha1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create an AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + def create_audit_sink(body, opts = {}) + data, _status_code, _headers = create_audit_sink_with_http_info(body, opts) + return data + end + + # + # create an AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1AuditSink, Fixnum, Hash)>] V1alpha1AuditSink data, response status code and response headers + def create_audit_sink_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.create_audit_sink ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AuditregistrationV1alpha1Api.create_audit_sink" + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1AuditSink') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#create_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete an AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_audit_sink(name, opts = {}) + data, _status_code, _headers = delete_audit_sink_with_http_info(name, opts) + return data + end + + # + # delete an AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_audit_sink_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.delete_audit_sink ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AuditregistrationV1alpha1Api.delete_audit_sink" + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#delete_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_audit_sink(opts = {}) + data, _status_code, _headers = delete_collection_audit_sink_with_http_info(opts) + return data + end + + # + # delete collection of AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_audit_sink_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.delete_collection_audit_sink ..." + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#delete_collection_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1alpha1AuditSinkList] + def list_audit_sink(opts = {}) + data, _status_code, _headers = list_audit_sink_with_http_info(opts) + return data + end + + # + # list or watch objects of kind AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1alpha1AuditSinkList, Fixnum, Hash)>] V1alpha1AuditSinkList data, response status code and response headers + def list_audit_sink_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.list_audit_sink ..." + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1AuditSinkList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#list_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + def patch_audit_sink(name, body, opts = {}) + data, _status_code, _headers = patch_audit_sink_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1AuditSink, Fixnum, Hash)>] V1alpha1AuditSink data, response status code and response headers + def patch_audit_sink_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.patch_audit_sink ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AuditregistrationV1alpha1Api.patch_audit_sink" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AuditregistrationV1alpha1Api.patch_audit_sink" + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1AuditSink') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#patch_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1alpha1AuditSink] + def read_audit_sink(name, opts = {}) + data, _status_code, _headers = read_audit_sink_with_http_info(name, opts) + return data + end + + # + # read the specified AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1alpha1AuditSink, Fixnum, Hash)>] V1alpha1AuditSink data, response status code and response headers + def read_audit_sink_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.read_audit_sink ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AuditregistrationV1alpha1Api.read_audit_sink" + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1AuditSink') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#read_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + def replace_audit_sink(name, body, opts = {}) + data, _status_code, _headers = replace_audit_sink_with_http_info(name, body, opts) + return data + end + + # + # replace the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1AuditSink, Fixnum, Hash)>] V1alpha1AuditSink data, response status code and response headers + def replace_audit_sink_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AuditregistrationV1alpha1Api.replace_audit_sink ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AuditregistrationV1alpha1Api.replace_audit_sink" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AuditregistrationV1alpha1Api.replace_audit_sink" + end + # resource path + local_var_path = "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1AuditSink') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AuditregistrationV1alpha1Api#replace_audit_sink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/authentication_api.rb b/kubernetes/lib/kubernetes/api/authentication_api.rb index 7dca7c7e..98b5ec24 100644 --- a/kubernetes/lib/kubernetes/api/authentication_api.rb +++ b/kubernetes/lib/kubernetes/api/authentication_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/authentication_v1_api.rb b/kubernetes/lib/kubernetes/api/authentication_v1_api.rb index aeb8462c..f327e377 100644 --- a/kubernetes/lib/kubernetes/api/authentication_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/authentication_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,6 +24,8 @@ def initialize(api_client = ApiClient.default) # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1TokenReview] def create_token_review(body, opts = {}) @@ -35,6 +37,8 @@ def create_token_review(body, opts = {}) # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1TokenReview, Fixnum, Hash)>] V1TokenReview data, response status code and response headers def create_token_review_with_http_info(body, opts = {}) @@ -50,6 +54,8 @@ def create_token_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters diff --git a/kubernetes/lib/kubernetes/api/authentication_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/authentication_v1beta1_api.rb index 2413b8cf..bbbd4d55 100644 --- a/kubernetes/lib/kubernetes/api/authentication_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/authentication_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,6 +24,8 @@ def initialize(api_client = ApiClient.default) # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1TokenReview] def create_token_review(body, opts = {}) @@ -35,6 +37,8 @@ def create_token_review(body, opts = {}) # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1TokenReview, Fixnum, Hash)>] V1beta1TokenReview data, response status code and response headers def create_token_review_with_http_info(body, opts = {}) @@ -50,6 +54,8 @@ def create_token_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters diff --git a/kubernetes/lib/kubernetes/api/authorization_api.rb b/kubernetes/lib/kubernetes/api/authorization_api.rb index c7644b36..53ff6b5a 100644 --- a/kubernetes/lib/kubernetes/api/authorization_api.rb +++ b/kubernetes/lib/kubernetes/api/authorization_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/authorization_v1_api.rb b/kubernetes/lib/kubernetes/api/authorization_v1_api.rb index f2e3b386..a733300a 100644 --- a/kubernetes/lib/kubernetes/api/authorization_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/authorization_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,6 +25,8 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1LocalSubjectAccessReview] def create_namespaced_local_subject_access_review(namespace, body, opts = {}) @@ -37,6 +39,8 @@ def create_namespaced_local_subject_access_review(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1LocalSubjectAccessReview, Fixnum, Hash)>] V1LocalSubjectAccessReview data, response status code and response headers def create_namespaced_local_subject_access_review_with_http_info(namespace, body, opts = {}) @@ -56,6 +60,8 @@ def create_namespaced_local_subject_access_review_with_http_info(namespace, body # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -88,6 +94,8 @@ def create_namespaced_local_subject_access_review_with_http_info(namespace, body # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SelfSubjectAccessReview] def create_self_subject_access_review(body, opts = {}) @@ -99,6 +107,8 @@ def create_self_subject_access_review(body, opts = {}) # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1SelfSubjectAccessReview, Fixnum, Hash)>] V1SelfSubjectAccessReview data, response status code and response headers def create_self_subject_access_review_with_http_info(body, opts = {}) @@ -114,6 +124,8 @@ def create_self_subject_access_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -146,6 +158,8 @@ def create_self_subject_access_review_with_http_info(body, opts = {}) # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SelfSubjectRulesReview] def create_self_subject_rules_review(body, opts = {}) @@ -157,6 +171,8 @@ def create_self_subject_rules_review(body, opts = {}) # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1SelfSubjectRulesReview, Fixnum, Hash)>] V1SelfSubjectRulesReview data, response status code and response headers def create_self_subject_rules_review_with_http_info(body, opts = {}) @@ -172,6 +188,8 @@ def create_self_subject_rules_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -204,6 +222,8 @@ def create_self_subject_rules_review_with_http_info(body, opts = {}) # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SubjectAccessReview] def create_subject_access_review(body, opts = {}) @@ -215,6 +235,8 @@ def create_subject_access_review(body, opts = {}) # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1SubjectAccessReview, Fixnum, Hash)>] V1SubjectAccessReview data, response status code and response headers def create_subject_access_review_with_http_info(body, opts = {}) @@ -230,6 +252,8 @@ def create_subject_access_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters diff --git a/kubernetes/lib/kubernetes/api/authorization_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/authorization_v1beta1_api.rb index eebee8aa..a324b9cd 100644 --- a/kubernetes/lib/kubernetes/api/authorization_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/authorization_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,6 +25,8 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1LocalSubjectAccessReview] def create_namespaced_local_subject_access_review(namespace, body, opts = {}) @@ -37,6 +39,8 @@ def create_namespaced_local_subject_access_review(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1LocalSubjectAccessReview, Fixnum, Hash)>] V1beta1LocalSubjectAccessReview data, response status code and response headers def create_namespaced_local_subject_access_review_with_http_info(namespace, body, opts = {}) @@ -56,6 +60,8 @@ def create_namespaced_local_subject_access_review_with_http_info(namespace, body # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -88,6 +94,8 @@ def create_namespaced_local_subject_access_review_with_http_info(namespace, body # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SelfSubjectAccessReview] def create_self_subject_access_review(body, opts = {}) @@ -99,6 +107,8 @@ def create_self_subject_access_review(body, opts = {}) # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1SelfSubjectAccessReview, Fixnum, Hash)>] V1beta1SelfSubjectAccessReview data, response status code and response headers def create_self_subject_access_review_with_http_info(body, opts = {}) @@ -114,6 +124,8 @@ def create_self_subject_access_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -146,6 +158,8 @@ def create_self_subject_access_review_with_http_info(body, opts = {}) # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SelfSubjectRulesReview] def create_self_subject_rules_review(body, opts = {}) @@ -157,6 +171,8 @@ def create_self_subject_rules_review(body, opts = {}) # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1SelfSubjectRulesReview, Fixnum, Hash)>] V1beta1SelfSubjectRulesReview data, response status code and response headers def create_self_subject_rules_review_with_http_info(body, opts = {}) @@ -172,6 +188,8 @@ def create_self_subject_rules_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -204,6 +222,8 @@ def create_self_subject_rules_review_with_http_info(body, opts = {}) # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SubjectAccessReview] def create_subject_access_review(body, opts = {}) @@ -215,6 +235,8 @@ def create_subject_access_review(body, opts = {}) # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1SubjectAccessReview, Fixnum, Hash)>] V1beta1SubjectAccessReview data, response status code and response headers def create_subject_access_review_with_http_info(body, opts = {}) @@ -230,6 +252,8 @@ def create_subject_access_review_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters diff --git a/kubernetes/lib/kubernetes/api/autoscaling_api.rb b/kubernetes/lib/kubernetes/api/autoscaling_api.rb index 9931445f..bb22e8ec 100644 --- a/kubernetes/lib/kubernetes/api/autoscaling_api.rb +++ b/kubernetes/lib/kubernetes/api/autoscaling_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/autoscaling_v1_api.rb b/kubernetes/lib/kubernetes/api/autoscaling_v1_api.rb index 0715d34c..8a557bca 100644 --- a/kubernetes/lib/kubernetes/api/autoscaling_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/autoscaling_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] def create_namespaced_horizontal_pod_autoscaler(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_horizontal_pod_autoscaler(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1HorizontalPodAutoscaler, Fixnum, Hash)>] V1HorizontalPodAutoscaler data, response status code and response headers def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namesp # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namesp # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) + def delete_namespaced_horizontal_pod_autoscaler(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {} # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AutoscalingV1Api.delete_namespaced_horizontal_pod_autoscaler ..." end @@ -205,16 +213,13 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV1Api.delete_namespaced_horizontal_pod_autoscaler" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV1Api.delete_namespaced_horizontal_pod_autoscaler" - end # resource path local_var_path = "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -297,14 +302,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1HorizontalPodAutoscalerList] def list_horizontal_pod_autoscaler_for_all_namespaces(opts = {}) @@ -315,14 +320,14 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(opts = {}) # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1HorizontalPodAutoscalerList, Fixnum, Hash)>] V1HorizontalPodAutoscalerList data, response status code and response headers def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts = {}) @@ -374,14 +379,14 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1HorizontalPodAutoscalerList] def list_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) @@ -393,14 +398,14 @@ def list_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1HorizontalPodAutoscalerList, Fixnum, Hash)>] V1HorizontalPodAutoscalerList data, response status code and response headers def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) @@ -416,10 +421,10 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -459,6 +464,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] def patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1HorizontalPodAutoscaler, Fixnum, Hash)>] V1HorizontalPodAutoscaler data, response status code and response headers def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, b # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +537,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, b # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] def patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) @@ -542,6 +551,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1HorizontalPodAutoscaler, Fixnum, Hash)>] V1HorizontalPodAutoscaler data, response status code and response headers def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +575,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, names # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -733,6 +744,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namesp # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] def replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) @@ -746,6 +758,7 @@ def replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1HorizontalPodAutoscaler, Fixnum, Hash)>] V1HorizontalPodAutoscaler data, response status code and response headers def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +782,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +817,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] def replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) @@ -816,6 +831,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1HorizontalPodAutoscaler, Fixnum, Hash)>] V1HorizontalPodAutoscaler data, response status code and response headers def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +855,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, nam # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/autoscaling_v2beta1_api.rb b/kubernetes/lib/kubernetes/api/autoscaling_v2beta1_api.rb index 057a8b5a..721d5634 100644 --- a/kubernetes/lib/kubernetes/api/autoscaling_v2beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/autoscaling_v2beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] def create_namespaced_horizontal_pod_autoscaler(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_horizontal_pod_autoscaler(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2beta1HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta1HorizontalPodAutoscaler data, response status code and response headers def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namesp # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namesp # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) + def delete_namespaced_horizontal_pod_autoscaler(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {} # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AutoscalingV2beta1Api.delete_namespaced_horizontal_pod_autoscaler ..." end @@ -205,16 +213,13 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta1Api.delete_namespaced_horizontal_pod_autoscaler" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta1Api.delete_namespaced_horizontal_pod_autoscaler" - end # resource path local_var_path = "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -297,14 +302,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2beta1HorizontalPodAutoscalerList] def list_horizontal_pod_autoscaler_for_all_namespaces(opts = {}) @@ -315,14 +320,14 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(opts = {}) # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V2beta1HorizontalPodAutoscalerList, Fixnum, Hash)>] V2beta1HorizontalPodAutoscalerList data, response status code and response headers def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts = {}) @@ -374,14 +379,14 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2beta1HorizontalPodAutoscalerList] def list_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) @@ -393,14 +398,14 @@ def list_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V2beta1HorizontalPodAutoscalerList, Fixnum, Hash)>] V2beta1HorizontalPodAutoscalerList data, response status code and response headers def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) @@ -416,10 +421,10 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -459,6 +464,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] def patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2beta1HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta1HorizontalPodAutoscaler data, response status code and response headers def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, b # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +537,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, b # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] def patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) @@ -542,6 +551,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2beta1HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta1HorizontalPodAutoscaler data, response status code and response headers def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +575,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, names # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -733,6 +744,7 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namesp # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] def replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) @@ -746,6 +758,7 @@ def replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2beta1HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta1HorizontalPodAutoscaler data, response status code and response headers def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +782,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +817,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] def replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) @@ -816,6 +831,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2beta1HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta1HorizontalPodAutoscaler data, response status code and response headers def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +855,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, nam # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/autoscaling_v2beta2_api.rb b/kubernetes/lib/kubernetes/api/autoscaling_v2beta2_api.rb new file mode 100644 index 00000000..b8637e41 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/autoscaling_v2beta2_api.rb @@ -0,0 +1,886 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class AutoscalingV2beta2Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + def create_namespaced_horizontal_pod_autoscaler(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts) + return data + end + + # + # create a HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def create_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.create_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.create_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta2Api.create_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#create_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts) + return data + end + + # + # delete collection of HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.delete_collection_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.delete_collection_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#delete_collection_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_horizontal_pod_autoscaler(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts) + return data + end + + # + # delete a HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.delete_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.delete_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.delete_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#delete_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V2beta2HorizontalPodAutoscalerList] + def list_horizontal_pod_autoscaler_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V2beta2HorizontalPodAutoscalerList, Fixnum, Hash)>] V2beta2HorizontalPodAutoscalerList data, response status code and response headers + def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.list_horizontal_pod_autoscaler_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/horizontalpodautoscalers" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscalerList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#list_horizontal_pod_autoscaler_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V2beta2HorizontalPodAutoscalerList] + def list_namespaced_horizontal_pod_autoscaler(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V2beta2HorizontalPodAutoscalerList, Fixnum, Hash)>] V2beta2HorizontalPodAutoscalerList data, response status code and response headers + def list_namespaced_horizontal_pod_autoscaler_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.list_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.list_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscalerList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#list_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + def patch_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def patch_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#patch_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + def patch_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta2Api.patch_namespaced_horizontal_pod_autoscaler_status" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#patch_namespaced_horizontal_pod_autoscaler_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V2beta2HorizontalPodAutoscaler] + def read_namespaced_horizontal_pod_autoscaler(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def read_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#read_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V2beta2HorizontalPodAutoscaler] + def read_namespaced_horizontal_pod_autoscaler_status(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, opts) + return data + end + + # + # read status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.read_namespaced_horizontal_pod_autoscaler_status" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#read_namespaced_horizontal_pod_autoscaler_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + def replace_namespaced_horizontal_pod_autoscaler(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def replace_namespaced_horizontal_pod_autoscaler_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#replace_namespaced_horizontal_pod_autoscaler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + def replace_namespaced_horizontal_pod_autoscaler_status(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V2beta2HorizontalPodAutoscaler, Fixnum, Hash)>] V2beta2HorizontalPodAutoscaler data, response status code and response headers + def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling AutoscalingV2beta2Api.replace_namespaced_horizontal_pod_autoscaler_status" + end + # resource path + local_var_path = "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V2beta2HorizontalPodAutoscaler') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: AutoscalingV2beta2Api#replace_namespaced_horizontal_pod_autoscaler_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/batch_api.rb b/kubernetes/lib/kubernetes/api/batch_api.rb index e0f4dfa8..6b56e7a2 100644 --- a/kubernetes/lib/kubernetes/api/batch_api.rb +++ b/kubernetes/lib/kubernetes/api/batch_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/batch_v1_api.rb b/kubernetes/lib/kubernetes/api/batch_v1_api.rb index aea266e9..7d9cbc2e 100644 --- a/kubernetes/lib/kubernetes/api/batch_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/batch_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] def create_namespaced_job(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_job_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_job(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Job, Fixnum, Hash)>] V1Job data, response status code and response headers def create_namespaced_job_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_job_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_job_with_http_info(namespace, body, opts = {}) # delete collection of Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_job(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_job(namespace, opts = {}) # delete collection of Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_job_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_job_with_http_info(namespace, opts = {}) # delete a Job # @param name name of the Job # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_job(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_job_with_http_info(name, namespace, body, opts) + def delete_namespaced_job(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_job_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_job(name, namespace, body, opts = {}) # delete a Job # @param name name of the Job # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_job_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_job_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: BatchV1Api.delete_namespaced_job ..." end @@ -205,16 +213,13 @@ def delete_namespaced_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling BatchV1Api.delete_namespaced_job" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling BatchV1Api.delete_namespaced_job" - end # resource path local_var_path = "/apis/batch/v1/namespaces/{namespace}/jobs/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_job_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -297,14 +302,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind Job # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1JobList] def list_job_for_all_namespaces(opts = {}) @@ -315,14 +320,14 @@ def list_job_for_all_namespaces(opts = {}) # # list or watch objects of kind Job # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1JobList, Fixnum, Hash)>] V1JobList data, response status code and response headers def list_job_for_all_namespaces_with_http_info(opts = {}) @@ -374,14 +379,14 @@ def list_job_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1JobList] def list_namespaced_job(namespace, opts = {}) @@ -393,14 +398,14 @@ def list_namespaced_job(namespace, opts = {}) # list or watch objects of kind Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1JobList, Fixnum, Hash)>] V1JobList data, response status code and response headers def list_namespaced_job_with_http_info(namespace, opts = {}) @@ -416,10 +421,10 @@ def list_namespaced_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -459,6 +464,7 @@ def list_namespaced_job_with_http_info(namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] def patch_namespaced_job(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_job_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Job, Fixnum, Hash)>] V1Job data, response status code and response headers def patch_namespaced_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +537,7 @@ def patch_namespaced_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] def patch_namespaced_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_job_status_with_http_info(name, namespace, body, opts) @@ -542,6 +551,7 @@ def patch_namespaced_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Job, Fixnum, Hash)>] V1Job data, response status code and response headers def patch_namespaced_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +575,7 @@ def patch_namespaced_job_status_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -733,6 +744,7 @@ def read_namespaced_job_status_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] def replace_namespaced_job(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_job_with_http_info(name, namespace, body, opts) @@ -746,6 +758,7 @@ def replace_namespaced_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Job, Fixnum, Hash)>] V1Job data, response status code and response headers def replace_namespaced_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +782,7 @@ def replace_namespaced_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +817,7 @@ def replace_namespaced_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] def replace_namespaced_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_job_status_with_http_info(name, namespace, body, opts) @@ -816,6 +831,7 @@ def replace_namespaced_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Job, Fixnum, Hash)>] V1Job data, response status code and response headers def replace_namespaced_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +855,7 @@ def replace_namespaced_job_status_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/batch_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/batch_v1beta1_api.rb index 05e6221b..b5b4213f 100644 --- a/kubernetes/lib/kubernetes/api/batch_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/batch_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] def create_namespaced_cron_job(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_cron_job_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_cron_job(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CronJob, Fixnum, Hash)>] V1beta1CronJob data, response status code and response headers def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_cron_job(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_cron_job(namespace, opts = {}) # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_cron_job(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_cron_job_with_http_info(name, namespace, body, opts) + def delete_namespaced_cron_job(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_cron_job_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_cron_job(name, namespace, body, opts = {}) # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_cron_job_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: BatchV1beta1Api.delete_namespaced_cron_job ..." end @@ -205,16 +213,13 @@ def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling BatchV1beta1Api.delete_namespaced_cron_job" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling BatchV1beta1Api.delete_namespaced_cron_job" - end # resource path local_var_path = "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -297,14 +302,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CronJobList] def list_cron_job_for_all_namespaces(opts = {}) @@ -315,14 +320,14 @@ def list_cron_job_for_all_namespaces(opts = {}) # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1CronJobList, Fixnum, Hash)>] V1beta1CronJobList data, response status code and response headers def list_cron_job_for_all_namespaces_with_http_info(opts = {}) @@ -374,14 +379,14 @@ def list_cron_job_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CronJobList] def list_namespaced_cron_job(namespace, opts = {}) @@ -393,14 +398,14 @@ def list_namespaced_cron_job(namespace, opts = {}) # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1CronJobList, Fixnum, Hash)>] V1beta1CronJobList data, response status code and response headers def list_namespaced_cron_job_with_http_info(namespace, opts = {}) @@ -416,10 +421,10 @@ def list_namespaced_cron_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -459,6 +464,7 @@ def list_namespaced_cron_job_with_http_info(namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] def patch_namespaced_cron_job(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_cron_job_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_cron_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CronJob, Fixnum, Hash)>] V1beta1CronJob data, response status code and response headers def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +537,7 @@ def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] def patch_namespaced_cron_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts) @@ -542,6 +551,7 @@ def patch_namespaced_cron_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CronJob, Fixnum, Hash)>] V1beta1CronJob data, response status code and response headers def patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +575,7 @@ def patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -733,6 +744,7 @@ def read_namespaced_cron_job_status_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] def replace_namespaced_cron_job(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_cron_job_with_http_info(name, namespace, body, opts) @@ -746,6 +758,7 @@ def replace_namespaced_cron_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CronJob, Fixnum, Hash)>] V1beta1CronJob data, response status code and response headers def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +782,7 @@ def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +817,7 @@ def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] def replace_namespaced_cron_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opts) @@ -816,6 +831,7 @@ def replace_namespaced_cron_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CronJob, Fixnum, Hash)>] V1beta1CronJob data, response status code and response headers def replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +855,7 @@ def replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/batch_v2alpha1_api.rb b/kubernetes/lib/kubernetes/api/batch_v2alpha1_api.rb index 68f41d74..fbc59ef1 100644 --- a/kubernetes/lib/kubernetes/api/batch_v2alpha1_api.rb +++ b/kubernetes/lib/kubernetes/api/batch_v2alpha1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] def create_namespaced_cron_job(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_cron_job_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_cron_job(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2alpha1CronJob, Fixnum, Hash)>] V2alpha1CronJob data, response status code and response headers def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_cron_job_with_http_info(namespace, body, opts = {}) # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_cron_job(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_cron_job(namespace, opts = {}) # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_cron_job_with_http_info(namespace, opts = {}) # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_cron_job(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_cron_job_with_http_info(name, namespace, body, opts) + def delete_namespaced_cron_job(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_cron_job_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_cron_job(name, namespace, body, opts = {}) # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_cron_job_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: BatchV2alpha1Api.delete_namespaced_cron_job ..." end @@ -205,16 +213,13 @@ def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling BatchV2alpha1Api.delete_namespaced_cron_job" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling BatchV2alpha1Api.delete_namespaced_cron_job" - end # resource path local_var_path = "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -297,14 +302,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2alpha1CronJobList] def list_cron_job_for_all_namespaces(opts = {}) @@ -315,14 +320,14 @@ def list_cron_job_for_all_namespaces(opts = {}) # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V2alpha1CronJobList, Fixnum, Hash)>] V2alpha1CronJobList data, response status code and response headers def list_cron_job_for_all_namespaces_with_http_info(opts = {}) @@ -374,14 +379,14 @@ def list_cron_job_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2alpha1CronJobList] def list_namespaced_cron_job(namespace, opts = {}) @@ -393,14 +398,14 @@ def list_namespaced_cron_job(namespace, opts = {}) # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V2alpha1CronJobList, Fixnum, Hash)>] V2alpha1CronJobList data, response status code and response headers def list_namespaced_cron_job_with_http_info(namespace, opts = {}) @@ -416,10 +421,10 @@ def list_namespaced_cron_job_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -459,6 +464,7 @@ def list_namespaced_cron_job_with_http_info(namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] def patch_namespaced_cron_job(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_cron_job_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_cron_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2alpha1CronJob, Fixnum, Hash)>] V2alpha1CronJob data, response status code and response headers def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +537,7 @@ def patch_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] def patch_namespaced_cron_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts) @@ -542,6 +551,7 @@ def patch_namespaced_cron_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2alpha1CronJob, Fixnum, Hash)>] V2alpha1CronJob data, response status code and response headers def patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +575,7 @@ def patch_namespaced_cron_job_status_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -733,6 +744,7 @@ def read_namespaced_cron_job_status_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] def replace_namespaced_cron_job(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_cron_job_with_http_info(name, namespace, body, opts) @@ -746,6 +758,7 @@ def replace_namespaced_cron_job(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2alpha1CronJob, Fixnum, Hash)>] V2alpha1CronJob data, response status code and response headers def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +782,7 @@ def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +817,7 @@ def replace_namespaced_cron_job_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] def replace_namespaced_cron_job_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opts) @@ -816,6 +831,7 @@ def replace_namespaced_cron_job_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V2alpha1CronJob, Fixnum, Hash)>] V2alpha1CronJob data, response status code and response headers def replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +855,7 @@ def replace_namespaced_cron_job_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/certificates_api.rb b/kubernetes/lib/kubernetes/api/certificates_api.rb index 39637aaf..89186004 100644 --- a/kubernetes/lib/kubernetes/api/certificates_api.rb +++ b/kubernetes/lib/kubernetes/api/certificates_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/certificates_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/certificates_v1beta1_api.rb index 8b6e32c5..4a62bd19 100644 --- a/kubernetes/lib/kubernetes/api/certificates_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/certificates_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] def create_certificate_signing_request(body, opts = {}) data, _status_code, _headers = create_certificate_signing_request_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_certificate_signing_request(body, opts = {}) # create a CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers def create_certificate_signing_request_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_certificate_signing_request_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -81,29 +87,31 @@ def create_certificate_signing_request_with_http_info(body, opts = {}) # # delete a CertificateSigningRequest # @param name name of the CertificateSigningRequest - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_certificate_signing_request(name, body, opts = {}) - data, _status_code, _headers = delete_certificate_signing_request_with_http_info(name, body, opts) + def delete_certificate_signing_request(name, opts = {}) + data, _status_code, _headers = delete_certificate_signing_request_with_http_info(name, opts) return data end # # delete a CertificateSigningRequest # @param name name of the CertificateSigningRequest - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_certificate_signing_request_with_http_info(name, body, opts = {}) + def delete_certificate_signing_request_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CertificatesV1beta1Api.delete_certificate_signing_request ..." end @@ -111,16 +119,13 @@ def delete_certificate_signing_request_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling CertificatesV1beta1Api.delete_certificate_signing_request" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CertificatesV1beta1Api.delete_certificate_signing_request" - end # resource path local_var_path = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -136,7 +141,7 @@ def delete_certificate_signing_request_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -154,14 +159,14 @@ def delete_certificate_signing_request_with_http_info(name, body, opts = {}) # # delete collection of CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_certificate_signing_request(opts = {}) @@ -172,14 +177,14 @@ def delete_collection_certificate_signing_request(opts = {}) # # delete collection of CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_certificate_signing_request_with_http_info(opts = {}) @@ -191,10 +196,10 @@ def delete_collection_certificate_signing_request_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -279,14 +284,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CertificateSigningRequestList] def list_certificate_signing_request(opts = {}) @@ -297,14 +302,14 @@ def list_certificate_signing_request(opts = {}) # # list or watch objects of kind CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1CertificateSigningRequestList, Fixnum, Hash)>] V1beta1CertificateSigningRequestList data, response status code and response headers def list_certificate_signing_request_with_http_info(opts = {}) @@ -316,10 +321,10 @@ def list_certificate_signing_request_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -358,6 +363,7 @@ def list_certificate_signing_request_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] def patch_certificate_signing_request(name, body, opts = {}) data, _status_code, _headers = patch_certificate_signing_request_with_http_info(name, body, opts) @@ -370,6 +376,7 @@ def patch_certificate_signing_request(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers def patch_certificate_signing_request_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +396,7 @@ def patch_certificate_signing_request_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -416,6 +424,73 @@ def patch_certificate_signing_request_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # partially update status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1CertificateSigningRequest] + def patch_certificate_signing_request_status(name, body, opts = {}) + data, _status_code, _headers = patch_certificate_signing_request_status_with_http_info(name, body, opts) + return data + end + + # + # partially update status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers + def patch_certificate_signing_request_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CertificatesV1beta1Api.patch_certificate_signing_request_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CertificatesV1beta1Api.patch_certificate_signing_request_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CertificatesV1beta1Api.patch_certificate_signing_request_status" + end + # resource path + local_var_path = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1CertificateSigningRequest') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CertificatesV1beta1Api#patch_certificate_signing_request_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # read the specified CertificateSigningRequest # @param name name of the CertificateSigningRequest @@ -480,12 +555,71 @@ def read_certificate_signing_request_with_http_info(name, opts = {}) return data, status_code, headers end + # + # read status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1CertificateSigningRequest] + def read_certificate_signing_request_status(name, opts = {}) + data, _status_code, _headers = read_certificate_signing_request_status_with_http_info(name, opts) + return data + end + + # + # read status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers + def read_certificate_signing_request_status_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CertificatesV1beta1Api.read_certificate_signing_request_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CertificatesV1beta1Api.read_certificate_signing_request_status" + end + # resource path + local_var_path = "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1CertificateSigningRequest') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CertificatesV1beta1Api#read_certificate_signing_request_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified CertificateSigningRequest # @param name name of the CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] def replace_certificate_signing_request(name, body, opts = {}) data, _status_code, _headers = replace_certificate_signing_request_with_http_info(name, body, opts) @@ -498,6 +632,7 @@ def replace_certificate_signing_request(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers def replace_certificate_signing_request_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +652,7 @@ def replace_certificate_signing_request_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -549,6 +685,7 @@ def replace_certificate_signing_request_with_http_info(name, body, opts = {}) # @param name name of the CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1CertificateSigningRequest] def replace_certificate_signing_request_approval(name, body, opts = {}) @@ -561,6 +698,7 @@ def replace_certificate_signing_request_approval(name, body, opts = {}) # @param name name of the CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers def replace_certificate_signing_request_approval_with_http_info(name, body, opts = {}) @@ -580,6 +718,7 @@ def replace_certificate_signing_request_approval_with_http_info(name, body, opts # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -614,6 +753,7 @@ def replace_certificate_signing_request_approval_with_http_info(name, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] def replace_certificate_signing_request_status(name, body, opts = {}) data, _status_code, _headers = replace_certificate_signing_request_status_with_http_info(name, body, opts) @@ -626,6 +766,7 @@ def replace_certificate_signing_request_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1CertificateSigningRequest, Fixnum, Hash)>] V1beta1CertificateSigningRequest data, response status code and response headers def replace_certificate_signing_request_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -645,6 +786,7 @@ def replace_certificate_signing_request_status_with_http_info(name, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/coordination_api.rb b/kubernetes/lib/kubernetes/api/coordination_api.rb new file mode 100644 index 00000000..344b60a0 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/coordination_api.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class CoordinationApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + def get_api_group(opts = {}) + data, _status_code, _headers = get_api_group_with_http_info(opts) + return data + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIGroup, Fixnum, Hash)>] V1APIGroup data, response status code and response headers + def get_api_group_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationApi.get_api_group ..." + end + # resource path + local_var_path = "/apis/coordination.k8s.io/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIGroup') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationApi#get_api_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/coordination_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/coordination_v1beta1_api.rb new file mode 100644 index 00000000..e4a7f560 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/coordination_v1beta1_api.rb @@ -0,0 +1,676 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class CoordinationV1beta1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + def create_namespaced_lease(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_lease_with_http_info(namespace, body, opts) + return data + end + + # + # create a Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Lease, Fixnum, Hash)>] V1beta1Lease data, response status code and response headers + def create_namespaced_lease_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.create_namespaced_lease ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.create_namespaced_lease" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CoordinationV1beta1Api.create_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Lease') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#create_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_lease(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_lease_with_http_info(namespace, opts) + return data + end + + # + # delete collection of Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_lease_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.delete_collection_namespaced_lease ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.delete_collection_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#delete_collection_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_lease(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_lease_with_http_info(name, namespace, opts) + return data + end + + # + # delete a Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_lease_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.delete_namespaced_lease ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CoordinationV1beta1Api.delete_namespaced_lease" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.delete_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#delete_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Lease + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1LeaseList] + def list_lease_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_lease_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind Lease + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1LeaseList, Fixnum, Hash)>] V1beta1LeaseList data, response status code and response headers + def list_lease_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.list_lease_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/leases" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1LeaseList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#list_lease_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1LeaseList] + def list_namespaced_lease(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_lease_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1LeaseList, Fixnum, Hash)>] V1beta1LeaseList data, response status code and response headers + def list_namespaced_lease_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.list_namespaced_lease ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.list_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1LeaseList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#list_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + def patch_namespaced_lease(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_lease_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Lease, Fixnum, Hash)>] V1beta1Lease data, response status code and response headers + def patch_namespaced_lease_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.patch_namespaced_lease ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CoordinationV1beta1Api.patch_namespaced_lease" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.patch_namespaced_lease" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CoordinationV1beta1Api.patch_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Lease') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#patch_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1Lease] + def read_namespaced_lease(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_lease_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1Lease, Fixnum, Hash)>] V1beta1Lease data, response status code and response headers + def read_namespaced_lease_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.read_namespaced_lease ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CoordinationV1beta1Api.read_namespaced_lease" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.read_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Lease') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#read_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + def replace_namespaced_lease(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_lease_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Lease, Fixnum, Hash)>] V1beta1Lease data, response status code and response headers + def replace_namespaced_lease_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CoordinationV1beta1Api.replace_namespaced_lease ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CoordinationV1beta1Api.replace_namespaced_lease" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CoordinationV1beta1Api.replace_namespaced_lease" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CoordinationV1beta1Api.replace_namespaced_lease" + end + # resource path + local_var_path = "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Lease') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CoordinationV1beta1Api#replace_namespaced_lease\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/core_api.rb b/kubernetes/lib/kubernetes/api/core_api.rb index e8b03ddf..a30c0dc1 100644 --- a/kubernetes/lib/kubernetes/api/core_api.rb +++ b/kubernetes/lib/kubernetes/api/core_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/core_v1_api.rb b/kubernetes/lib/kubernetes/api/core_v1_api.rb index a5ccef26..e7fbac3b 100644 --- a/kubernetes/lib/kubernetes/api/core_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/core_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -22,7 +22,7 @@ def initialize(api_client = ApiClient.default) # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -34,7 +34,7 @@ def connect_delete_namespaced_pod_proxy(name, namespace, opts = {}) # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -86,7 +86,7 @@ def connect_delete_namespaced_pod_proxy_with_http_info(name, namespace, opts = { # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -99,7 +99,7 @@ def connect_delete_namespaced_pod_proxy_with_path(name, namespace, path, opts = # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -156,7 +156,7 @@ def connect_delete_namespaced_pod_proxy_with_path_with_http_info(name, namespace # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -168,7 +168,7 @@ def connect_delete_namespaced_service_proxy(name, namespace, opts = {}) # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -220,7 +220,7 @@ def connect_delete_namespaced_service_proxy_with_http_info(name, namespace, opts # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -233,7 +233,7 @@ def connect_delete_namespaced_service_proxy_with_path(name, namespace, path, opt # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -290,7 +290,7 @@ def connect_delete_namespaced_service_proxy_with_path_with_http_info(name, names # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -301,7 +301,7 @@ def connect_delete_node_proxy(name, opts = {}) # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -348,7 +348,7 @@ def connect_delete_node_proxy_with_http_info(name, opts = {}) # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -360,7 +360,7 @@ def connect_delete_node_proxy_with_path(name, path, opts = {}) # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -412,7 +412,7 @@ def connect_delete_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect GET requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -428,7 +428,7 @@ def connect_get_namespaced_pod_attach(name, namespace, opts = {}) # # connect GET requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -488,7 +488,7 @@ def connect_get_namespaced_pod_attach_with_http_info(name, namespace, opts = {}) # # connect GET requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -505,7 +505,7 @@ def connect_get_namespaced_pod_exec(name, namespace, opts = {}) # # connect GET requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -567,7 +567,7 @@ def connect_get_namespaced_pod_exec_with_http_info(name, namespace, opts = {}) # # connect GET requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -579,7 +579,7 @@ def connect_get_namespaced_pod_portforward(name, namespace, opts = {}) # # connect GET requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -631,7 +631,7 @@ def connect_get_namespaced_pod_portforward_with_http_info(name, namespace, opts # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -643,7 +643,7 @@ def connect_get_namespaced_pod_proxy(name, namespace, opts = {}) # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -695,7 +695,7 @@ def connect_get_namespaced_pod_proxy_with_http_info(name, namespace, opts = {}) # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -708,7 +708,7 @@ def connect_get_namespaced_pod_proxy_with_path(name, namespace, path, opts = {}) # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -765,7 +765,7 @@ def connect_get_namespaced_pod_proxy_with_path_with_http_info(name, namespace, p # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -777,7 +777,7 @@ def connect_get_namespaced_service_proxy(name, namespace, opts = {}) # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -829,7 +829,7 @@ def connect_get_namespaced_service_proxy_with_http_info(name, namespace, opts = # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -842,7 +842,7 @@ def connect_get_namespaced_service_proxy_with_path(name, namespace, path, opts = # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -899,7 +899,7 @@ def connect_get_namespaced_service_proxy_with_path_with_http_info(name, namespac # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -910,7 +910,7 @@ def connect_get_node_proxy(name, opts = {}) # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -957,7 +957,7 @@ def connect_get_node_proxy_with_http_info(name, opts = {}) # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -969,7 +969,7 @@ def connect_get_node_proxy_with_path(name, path, opts = {}) # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -1021,7 +1021,7 @@ def connect_get_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1033,7 +1033,7 @@ def connect_head_namespaced_pod_proxy(name, namespace, opts = {}) # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1085,7 +1085,7 @@ def connect_head_namespaced_pod_proxy_with_http_info(name, namespace, opts = {}) # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1098,7 +1098,7 @@ def connect_head_namespaced_pod_proxy_with_path(name, namespace, path, opts = {} # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1155,7 +1155,7 @@ def connect_head_namespaced_pod_proxy_with_path_with_http_info(name, namespace, # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1167,7 +1167,7 @@ def connect_head_namespaced_service_proxy(name, namespace, opts = {}) # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1219,7 +1219,7 @@ def connect_head_namespaced_service_proxy_with_http_info(name, namespace, opts = # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1232,7 +1232,7 @@ def connect_head_namespaced_service_proxy_with_path(name, namespace, path, opts # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1289,7 +1289,7 @@ def connect_head_namespaced_service_proxy_with_path_with_http_info(name, namespa # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -1300,7 +1300,7 @@ def connect_head_node_proxy(name, opts = {}) # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -1347,7 +1347,7 @@ def connect_head_node_proxy_with_http_info(name, opts = {}) # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -1359,7 +1359,7 @@ def connect_head_node_proxy_with_path(name, path, opts = {}) # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -1411,7 +1411,7 @@ def connect_head_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1423,7 +1423,7 @@ def connect_options_namespaced_pod_proxy(name, namespace, opts = {}) # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1475,7 +1475,7 @@ def connect_options_namespaced_pod_proxy_with_http_info(name, namespace, opts = # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1488,7 +1488,7 @@ def connect_options_namespaced_pod_proxy_with_path(name, namespace, path, opts = # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1545,7 +1545,7 @@ def connect_options_namespaced_pod_proxy_with_path_with_http_info(name, namespac # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1557,7 +1557,7 @@ def connect_options_namespaced_service_proxy(name, namespace, opts = {}) # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1609,7 +1609,7 @@ def connect_options_namespaced_service_proxy_with_http_info(name, namespace, opt # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1622,7 +1622,7 @@ def connect_options_namespaced_service_proxy_with_path(name, namespace, path, op # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1679,7 +1679,7 @@ def connect_options_namespaced_service_proxy_with_path_with_http_info(name, name # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -1690,7 +1690,7 @@ def connect_options_node_proxy(name, opts = {}) # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -1737,7 +1737,7 @@ def connect_options_node_proxy_with_http_info(name, opts = {}) # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -1749,7 +1749,7 @@ def connect_options_node_proxy_with_path(name, path, opts = {}) # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -1801,7 +1801,7 @@ def connect_options_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1813,7 +1813,7 @@ def connect_patch_namespaced_pod_proxy(name, namespace, opts = {}) # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -1865,7 +1865,7 @@ def connect_patch_namespaced_pod_proxy_with_http_info(name, namespace, opts = {} # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1878,7 +1878,7 @@ def connect_patch_namespaced_pod_proxy_with_path(name, namespace, path, opts = { # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -1935,7 +1935,7 @@ def connect_patch_namespaced_pod_proxy_with_path_with_http_info(name, namespace, # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1947,7 +1947,7 @@ def connect_patch_namespaced_service_proxy(name, namespace, opts = {}) # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -1999,7 +1999,7 @@ def connect_patch_namespaced_service_proxy_with_http_info(name, namespace, opts # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2012,7 +2012,7 @@ def connect_patch_namespaced_service_proxy_with_path(name, namespace, path, opts # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2069,7 +2069,7 @@ def connect_patch_namespaced_service_proxy_with_path_with_http_info(name, namesp # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -2080,7 +2080,7 @@ def connect_patch_node_proxy(name, opts = {}) # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -2127,7 +2127,7 @@ def connect_patch_node_proxy_with_http_info(name, opts = {}) # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -2139,7 +2139,7 @@ def connect_patch_node_proxy_with_path(name, path, opts = {}) # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -2191,7 +2191,7 @@ def connect_patch_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect POST requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -2207,7 +2207,7 @@ def connect_post_namespaced_pod_attach(name, namespace, opts = {}) # # connect POST requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -2267,7 +2267,7 @@ def connect_post_namespaced_pod_attach_with_http_info(name, namespace, opts = {} # # connect POST requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -2284,7 +2284,7 @@ def connect_post_namespaced_pod_exec(name, namespace, opts = {}) # # connect POST requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -2346,7 +2346,7 @@ def connect_post_namespaced_pod_exec_with_http_info(name, namespace, opts = {}) # # connect POST requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -2358,7 +2358,7 @@ def connect_post_namespaced_pod_portforward(name, namespace, opts = {}) # # connect POST requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -2410,7 +2410,7 @@ def connect_post_namespaced_pod_portforward_with_http_info(name, namespace, opts # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -2422,7 +2422,7 @@ def connect_post_namespaced_pod_proxy(name, namespace, opts = {}) # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -2474,7 +2474,7 @@ def connect_post_namespaced_pod_proxy_with_http_info(name, namespace, opts = {}) # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2487,7 +2487,7 @@ def connect_post_namespaced_pod_proxy_with_path(name, namespace, path, opts = {} # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2544,7 +2544,7 @@ def connect_post_namespaced_pod_proxy_with_path_with_http_info(name, namespace, # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -2556,7 +2556,7 @@ def connect_post_namespaced_service_proxy(name, namespace, opts = {}) # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -2608,7 +2608,7 @@ def connect_post_namespaced_service_proxy_with_http_info(name, namespace, opts = # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2621,7 +2621,7 @@ def connect_post_namespaced_service_proxy_with_path(name, namespace, path, opts # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2678,7 +2678,7 @@ def connect_post_namespaced_service_proxy_with_path_with_http_info(name, namespa # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -2689,7 +2689,7 @@ def connect_post_node_proxy(name, opts = {}) # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -2736,7 +2736,7 @@ def connect_post_node_proxy_with_http_info(name, opts = {}) # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -2748,7 +2748,7 @@ def connect_post_node_proxy_with_path(name, path, opts = {}) # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -2800,7 +2800,7 @@ def connect_post_node_proxy_with_path_with_http_info(name, path, opts = {}) # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -2812,7 +2812,7 @@ def connect_put_namespaced_pod_proxy(name, namespace, opts = {}) # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -2864,7 +2864,7 @@ def connect_put_namespaced_pod_proxy_with_http_info(name, namespace, opts = {}) # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2877,7 +2877,7 @@ def connect_put_namespaced_pod_proxy_with_path(name, namespace, path, opts = {}) # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -2934,7 +2934,7 @@ def connect_put_namespaced_pod_proxy_with_path_with_http_info(name, namespace, p # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -2946,7 +2946,7 @@ def connect_put_namespaced_service_proxy(name, namespace, opts = {}) # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -2998,7 +2998,7 @@ def connect_put_namespaced_service_proxy_with_http_info(name, namespace, opts = # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -3011,7 +3011,7 @@ def connect_put_namespaced_service_proxy_with_path(name, namespace, path, opts = # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -3068,7 +3068,7 @@ def connect_put_namespaced_service_proxy_with_path_with_http_info(name, namespac # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -3079,7 +3079,7 @@ def connect_put_node_proxy(name, opts = {}) # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers @@ -3126,7 +3126,7 @@ def connect_put_node_proxy_with_http_info(name, opts = {}) # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -3138,7 +3138,7 @@ def connect_put_node_proxy_with_path(name, path, opts = {}) # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -3192,7 +3192,9 @@ def connect_put_node_proxy_with_path_with_http_info(name, path, opts = {}) # create a Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] def create_namespace(body, opts = {}) data, _status_code, _headers = create_namespace_with_http_info(body, opts) @@ -3203,7 +3205,9 @@ def create_namespace(body, opts = {}) # create a Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def create_namespace_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -3218,7 +3222,9 @@ def create_namespace_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3251,6 +3257,8 @@ def create_namespace_with_http_info(body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Binding] def create_namespaced_binding(namespace, body, opts = {}) @@ -3263,6 +3271,8 @@ def create_namespaced_binding(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1Binding, Fixnum, Hash)>] V1Binding data, response status code and response headers def create_namespaced_binding_with_http_info(namespace, body, opts = {}) @@ -3282,6 +3292,8 @@ def create_namespaced_binding_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -3315,7 +3327,9 @@ def create_namespaced_binding_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] def create_namespaced_config_map(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_config_map_with_http_info(namespace, body, opts) @@ -3327,7 +3341,9 @@ def create_namespaced_config_map(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ConfigMap, Fixnum, Hash)>] V1ConfigMap data, response status code and response headers def create_namespaced_config_map_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3346,7 +3362,9 @@ def create_namespaced_config_map_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3379,7 +3397,9 @@ def create_namespaced_config_map_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] def create_namespaced_endpoints(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_endpoints_with_http_info(namespace, body, opts) @@ -3391,7 +3411,9 @@ def create_namespaced_endpoints(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Endpoints, Fixnum, Hash)>] V1Endpoints data, response status code and response headers def create_namespaced_endpoints_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3410,7 +3432,9 @@ def create_namespaced_endpoints_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3443,7 +3467,9 @@ def create_namespaced_endpoints_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] def create_namespaced_event(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_event_with_http_info(namespace, body, opts) @@ -3455,7 +3481,9 @@ def create_namespaced_event(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Event, Fixnum, Hash)>] V1Event data, response status code and response headers def create_namespaced_event_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3474,7 +3502,9 @@ def create_namespaced_event_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3507,7 +3537,9 @@ def create_namespaced_event_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] def create_namespaced_limit_range(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_limit_range_with_http_info(namespace, body, opts) @@ -3519,7 +3551,9 @@ def create_namespaced_limit_range(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1LimitRange, Fixnum, Hash)>] V1LimitRange data, response status code and response headers def create_namespaced_limit_range_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3538,7 +3572,9 @@ def create_namespaced_limit_range_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3571,7 +3607,9 @@ def create_namespaced_limit_range_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] def create_namespaced_persistent_volume_claim(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_persistent_volume_claim_with_http_info(namespace, body, opts) @@ -3583,7 +3621,9 @@ def create_namespaced_persistent_volume_claim(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolumeClaim, Fixnum, Hash)>] V1PersistentVolumeClaim data, response status code and response headers def create_namespaced_persistent_volume_claim_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3602,7 +3642,9 @@ def create_namespaced_persistent_volume_claim_with_http_info(namespace, body, op # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3635,7 +3677,9 @@ def create_namespaced_persistent_volume_claim_with_http_info(namespace, body, op # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] def create_namespaced_pod(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_pod_with_http_info(namespace, body, opts) @@ -3647,7 +3691,9 @@ def create_namespaced_pod(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Pod, Fixnum, Hash)>] V1Pod data, response status code and response headers def create_namespaced_pod_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3666,7 +3712,9 @@ def create_namespaced_pod_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3700,6 +3748,8 @@ def create_namespaced_pod_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Binding] def create_namespaced_pod_binding(name, namespace, body, opts = {}) @@ -3713,6 +3763,8 @@ def create_namespaced_pod_binding(name, namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1Binding, Fixnum, Hash)>] V1Binding data, response status code and response headers def create_namespaced_pod_binding_with_http_info(name, namespace, body, opts = {}) @@ -3736,6 +3788,8 @@ def create_namespaced_pod_binding_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -3770,6 +3824,8 @@ def create_namespaced_pod_binding_with_http_info(name, namespace, body, opts = { # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1Eviction] def create_namespaced_pod_eviction(name, namespace, body, opts = {}) @@ -3783,6 +3839,8 @@ def create_namespaced_pod_eviction(name, namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1beta1Eviction, Fixnum, Hash)>] V1beta1Eviction data, response status code and response headers def create_namespaced_pod_eviction_with_http_info(name, namespace, body, opts = {}) @@ -3806,6 +3864,8 @@ def create_namespaced_pod_eviction_with_http_info(name, namespace, body, opts = # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -3839,7 +3899,9 @@ def create_namespaced_pod_eviction_with_http_info(name, namespace, body, opts = # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] def create_namespaced_pod_template(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_pod_template_with_http_info(namespace, body, opts) @@ -3851,7 +3913,9 @@ def create_namespaced_pod_template(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PodTemplate, Fixnum, Hash)>] V1PodTemplate data, response status code and response headers def create_namespaced_pod_template_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3870,7 +3934,9 @@ def create_namespaced_pod_template_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3903,7 +3969,9 @@ def create_namespaced_pod_template_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] def create_namespaced_replication_controller(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_replication_controller_with_http_info(namespace, body, opts) @@ -3915,7 +3983,9 @@ def create_namespaced_replication_controller(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ReplicationController, Fixnum, Hash)>] V1ReplicationController data, response status code and response headers def create_namespaced_replication_controller_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3934,7 +4004,9 @@ def create_namespaced_replication_controller_with_http_info(namespace, body, opt # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3967,7 +4039,9 @@ def create_namespaced_replication_controller_with_http_info(namespace, body, opt # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] def create_namespaced_resource_quota(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_resource_quota_with_http_info(namespace, body, opts) @@ -3979,7 +4053,9 @@ def create_namespaced_resource_quota(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ResourceQuota, Fixnum, Hash)>] V1ResourceQuota data, response status code and response headers def create_namespaced_resource_quota_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -3998,7 +4074,9 @@ def create_namespaced_resource_quota_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4031,7 +4109,9 @@ def create_namespaced_resource_quota_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] def create_namespaced_secret(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_secret_with_http_info(namespace, body, opts) @@ -4043,7 +4123,9 @@ def create_namespaced_secret(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Secret, Fixnum, Hash)>] V1Secret data, response status code and response headers def create_namespaced_secret_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -4062,7 +4144,9 @@ def create_namespaced_secret_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4095,7 +4179,9 @@ def create_namespaced_secret_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] def create_namespaced_service(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_service_with_http_info(namespace, body, opts) @@ -4107,7 +4193,9 @@ def create_namespaced_service(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Service, Fixnum, Hash)>] V1Service data, response status code and response headers def create_namespaced_service_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -4126,7 +4214,9 @@ def create_namespaced_service_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4159,7 +4249,9 @@ def create_namespaced_service_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] def create_namespaced_service_account(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_service_account_with_http_info(namespace, body, opts) @@ -4171,7 +4263,9 @@ def create_namespaced_service_account(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ServiceAccount, Fixnum, Hash)>] V1ServiceAccount data, response status code and response headers def create_namespaced_service_account_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -4190,7 +4284,9 @@ def create_namespaced_service_account_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4222,7 +4318,9 @@ def create_namespaced_service_account_with_http_info(namespace, body, opts = {}) # create a Node # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] def create_node(body, opts = {}) data, _status_code, _headers = create_node_with_http_info(body, opts) @@ -4233,7 +4331,9 @@ def create_node(body, opts = {}) # create a Node # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Node, Fixnum, Hash)>] V1Node data, response status code and response headers def create_node_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -4248,7 +4348,9 @@ def create_node_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4280,7 +4382,9 @@ def create_node_with_http_info(body, opts = {}) # create a PersistentVolume # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] def create_persistent_volume(body, opts = {}) data, _status_code, _headers = create_persistent_volume_with_http_info(body, opts) @@ -4291,7 +4395,9 @@ def create_persistent_volume(body, opts = {}) # create a PersistentVolume # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolume, Fixnum, Hash)>] V1PersistentVolume data, response status code and response headers def create_persistent_volume_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -4306,7 +4412,9 @@ def create_persistent_volume_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4338,14 +4446,14 @@ def create_persistent_volume_with_http_info(body, opts = {}) # delete collection of ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_config_map(namespace, opts = {}) @@ -4357,14 +4465,14 @@ def delete_collection_namespaced_config_map(namespace, opts = {}) # delete collection of ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_config_map_with_http_info(namespace, opts = {}) @@ -4380,10 +4488,10 @@ def delete_collection_namespaced_config_map_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4420,14 +4528,14 @@ def delete_collection_namespaced_config_map_with_http_info(namespace, opts = {}) # delete collection of Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_endpoints(namespace, opts = {}) @@ -4439,14 +4547,14 @@ def delete_collection_namespaced_endpoints(namespace, opts = {}) # delete collection of Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_endpoints_with_http_info(namespace, opts = {}) @@ -4462,10 +4570,10 @@ def delete_collection_namespaced_endpoints_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4502,14 +4610,14 @@ def delete_collection_namespaced_endpoints_with_http_info(namespace, opts = {}) # delete collection of Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_event(namespace, opts = {}) @@ -4521,14 +4629,14 @@ def delete_collection_namespaced_event(namespace, opts = {}) # delete collection of Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_event_with_http_info(namespace, opts = {}) @@ -4544,10 +4652,10 @@ def delete_collection_namespaced_event_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4584,14 +4692,14 @@ def delete_collection_namespaced_event_with_http_info(namespace, opts = {}) # delete collection of LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_limit_range(namespace, opts = {}) @@ -4603,14 +4711,14 @@ def delete_collection_namespaced_limit_range(namespace, opts = {}) # delete collection of LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_limit_range_with_http_info(namespace, opts = {}) @@ -4626,10 +4734,10 @@ def delete_collection_namespaced_limit_range_with_http_info(namespace, opts = {} # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4666,14 +4774,14 @@ def delete_collection_namespaced_limit_range_with_http_info(namespace, opts = {} # delete collection of PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_persistent_volume_claim(namespace, opts = {}) @@ -4685,14 +4793,14 @@ def delete_collection_namespaced_persistent_volume_claim(namespace, opts = {}) # delete collection of PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_persistent_volume_claim_with_http_info(namespace, opts = {}) @@ -4708,10 +4816,10 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(namespac # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4748,14 +4856,14 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(namespac # delete collection of Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_pod(namespace, opts = {}) @@ -4767,14 +4875,14 @@ def delete_collection_namespaced_pod(namespace, opts = {}) # delete collection of Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_pod_with_http_info(namespace, opts = {}) @@ -4790,10 +4898,10 @@ def delete_collection_namespaced_pod_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4830,14 +4938,14 @@ def delete_collection_namespaced_pod_with_http_info(namespace, opts = {}) # delete collection of PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_pod_template(namespace, opts = {}) @@ -4849,14 +4957,14 @@ def delete_collection_namespaced_pod_template(namespace, opts = {}) # delete collection of PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_pod_template_with_http_info(namespace, opts = {}) @@ -4872,10 +4980,10 @@ def delete_collection_namespaced_pod_template_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4912,14 +5020,14 @@ def delete_collection_namespaced_pod_template_with_http_info(namespace, opts = { # delete collection of ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_replication_controller(namespace, opts = {}) @@ -4931,14 +5039,14 @@ def delete_collection_namespaced_replication_controller(namespace, opts = {}) # delete collection of ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_replication_controller_with_http_info(namespace, opts = {}) @@ -4954,10 +5062,10 @@ def delete_collection_namespaced_replication_controller_with_http_info(namespace # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -4994,14 +5102,14 @@ def delete_collection_namespaced_replication_controller_with_http_info(namespace # delete collection of ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_resource_quota(namespace, opts = {}) @@ -5013,14 +5121,14 @@ def delete_collection_namespaced_resource_quota(namespace, opts = {}) # delete collection of ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_resource_quota_with_http_info(namespace, opts = {}) @@ -5036,10 +5144,10 @@ def delete_collection_namespaced_resource_quota_with_http_info(namespace, opts = # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -5076,14 +5184,14 @@ def delete_collection_namespaced_resource_quota_with_http_info(namespace, opts = # delete collection of Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_secret(namespace, opts = {}) @@ -5095,14 +5203,14 @@ def delete_collection_namespaced_secret(namespace, opts = {}) # delete collection of Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_secret_with_http_info(namespace, opts = {}) @@ -5118,10 +5226,10 @@ def delete_collection_namespaced_secret_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -5158,14 +5266,14 @@ def delete_collection_namespaced_secret_with_http_info(namespace, opts = {}) # delete collection of ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_service_account(namespace, opts = {}) @@ -5177,14 +5285,14 @@ def delete_collection_namespaced_service_account(namespace, opts = {}) # delete collection of ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_service_account_with_http_info(namespace, opts = {}) @@ -5200,10 +5308,10 @@ def delete_collection_namespaced_service_account_with_http_info(namespace, opts # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -5239,14 +5347,14 @@ def delete_collection_namespaced_service_account_with_http_info(namespace, opts # # delete collection of Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_node(opts = {}) @@ -5257,14 +5365,14 @@ def delete_collection_node(opts = {}) # # delete collection of Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_node_with_http_info(opts = {}) @@ -5276,10 +5384,10 @@ def delete_collection_node_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -5315,14 +5423,14 @@ def delete_collection_node_with_http_info(opts = {}) # # delete collection of PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_persistent_volume(opts = {}) @@ -5333,14 +5441,14 @@ def delete_collection_persistent_volume(opts = {}) # # delete collection of PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_persistent_volume_with_http_info(opts = {}) @@ -5352,10 +5460,10 @@ def delete_collection_persistent_volume_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -5391,29 +5499,31 @@ def delete_collection_persistent_volume_with_http_info(opts = {}) # # delete a Namespace # @param name name of the Namespace - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespace(name, body, opts = {}) - data, _status_code, _headers = delete_namespace_with_http_info(name, body, opts) + def delete_namespace(name, opts = {}) + data, _status_code, _headers = delete_namespace_with_http_info(name, opts) return data end # # delete a Namespace # @param name name of the Namespace - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespace_with_http_info(name, body, opts = {}) + def delete_namespace_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespace ..." end @@ -5421,16 +5531,13 @@ def delete_namespace_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.delete_namespace" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespace" - end # resource path local_var_path = "/api/v1/namespaces/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5446,7 +5553,7 @@ def delete_namespace_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5465,15 +5572,16 @@ def delete_namespace_with_http_info(name, body, opts = {}) # delete a ConfigMap # @param name name of the ConfigMap # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_config_map(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_config_map_with_http_info(name, namespace, body, opts) + def delete_namespaced_config_map(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_config_map_with_http_info(name, namespace, opts) return data end @@ -5481,14 +5589,15 @@ def delete_namespaced_config_map(name, namespace, body, opts = {}) # delete a ConfigMap # @param name name of the ConfigMap # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_config_map_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_config_map_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_config_map ..." end @@ -5500,16 +5609,13 @@ def delete_namespaced_config_map_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_config_map" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_config_map" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/configmaps/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5525,7 +5631,7 @@ def delete_namespaced_config_map_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5544,15 +5650,16 @@ def delete_namespaced_config_map_with_http_info(name, namespace, body, opts = {} # delete Endpoints # @param name name of the Endpoints # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_endpoints(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_endpoints_with_http_info(name, namespace, body, opts) + def delete_namespaced_endpoints(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_endpoints_with_http_info(name, namespace, opts) return data end @@ -5560,14 +5667,15 @@ def delete_namespaced_endpoints(name, namespace, body, opts = {}) # delete Endpoints # @param name name of the Endpoints # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_endpoints_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_endpoints ..." end @@ -5579,16 +5687,13 @@ def delete_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_endpoints" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_endpoints" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/endpoints/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5604,7 +5709,7 @@ def delete_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5623,15 +5728,16 @@ def delete_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) # delete an Event # @param name name of the Event # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_event(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_event_with_http_info(name, namespace, body, opts) + def delete_namespaced_event(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_event_with_http_info(name, namespace, opts) return data end @@ -5639,14 +5745,15 @@ def delete_namespaced_event(name, namespace, body, opts = {}) # delete an Event # @param name name of the Event # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_event_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_event_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_event ..." end @@ -5658,16 +5765,13 @@ def delete_namespaced_event_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_event" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_event" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/events/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5683,7 +5787,7 @@ def delete_namespaced_event_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5702,15 +5806,16 @@ def delete_namespaced_event_with_http_info(name, namespace, body, opts = {}) # delete a LimitRange # @param name name of the LimitRange # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_limit_range(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_limit_range_with_http_info(name, namespace, body, opts) + def delete_namespaced_limit_range(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_limit_range_with_http_info(name, namespace, opts) return data end @@ -5718,14 +5823,15 @@ def delete_namespaced_limit_range(name, namespace, body, opts = {}) # delete a LimitRange # @param name name of the LimitRange # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_limit_range_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_limit_range_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_limit_range ..." end @@ -5737,16 +5843,13 @@ def delete_namespaced_limit_range_with_http_info(name, namespace, body, opts = { if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_limit_range" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_limit_range" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/limitranges/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5762,7 +5865,7 @@ def delete_namespaced_limit_range_with_http_info(name, namespace, body, opts = { form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5781,15 +5884,16 @@ def delete_namespaced_limit_range_with_http_info(name, namespace, body, opts = { # delete a PersistentVolumeClaim # @param name name of the PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts) + def delete_namespaced_persistent_volume_claim(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, opts) return data end @@ -5797,14 +5901,15 @@ def delete_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) # delete a PersistentVolumeClaim # @param name name of the PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_persistent_volume_claim ..." end @@ -5816,16 +5921,13 @@ def delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, bo if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_persistent_volume_claim" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_persistent_volume_claim" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5841,7 +5943,7 @@ def delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, bo form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5860,15 +5962,16 @@ def delete_namespaced_persistent_volume_claim_with_http_info(name, namespace, bo # delete a Pod # @param name name of the Pod # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_pod(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_pod_with_http_info(name, namespace, body, opts) + def delete_namespaced_pod(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_pod_with_http_info(name, namespace, opts) return data end @@ -5876,14 +5979,15 @@ def delete_namespaced_pod(name, namespace, body, opts = {}) # delete a Pod # @param name name of the Pod # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_pod_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_pod_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_pod ..." end @@ -5895,16 +5999,13 @@ def delete_namespaced_pod_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_pod" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_pod" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5920,7 +6021,7 @@ def delete_namespaced_pod_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -5939,15 +6040,16 @@ def delete_namespaced_pod_with_http_info(name, namespace, body, opts = {}) # delete a PodTemplate # @param name name of the PodTemplate # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_pod_template(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_pod_template_with_http_info(name, namespace, body, opts) + def delete_namespaced_pod_template(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_pod_template_with_http_info(name, namespace, opts) return data end @@ -5955,14 +6057,15 @@ def delete_namespaced_pod_template(name, namespace, body, opts = {}) # delete a PodTemplate # @param name name of the PodTemplate # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_pod_template_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_pod_template_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_pod_template ..." end @@ -5974,16 +6077,13 @@ def delete_namespaced_pod_template_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_pod_template" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_pod_template" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/podtemplates/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -5999,7 +6099,7 @@ def delete_namespaced_pod_template_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6018,15 +6118,16 @@ def delete_namespaced_pod_template_with_http_info(name, namespace, body, opts = # delete a ReplicationController # @param name name of the ReplicationController # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_replication_controller(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_replication_controller_with_http_info(name, namespace, body, opts) + def delete_namespaced_replication_controller(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_replication_controller_with_http_info(name, namespace, opts) return data end @@ -6034,14 +6135,15 @@ def delete_namespaced_replication_controller(name, namespace, body, opts = {}) # delete a ReplicationController # @param name name of the ReplicationController # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_replication_controller_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_replication_controller_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_replication_controller ..." end @@ -6053,16 +6155,13 @@ def delete_namespaced_replication_controller_with_http_info(name, namespace, bod if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_replication_controller" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_replication_controller" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6078,7 +6177,7 @@ def delete_namespaced_replication_controller_with_http_info(name, namespace, bod form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6097,15 +6196,16 @@ def delete_namespaced_replication_controller_with_http_info(name, namespace, bod # delete a ResourceQuota # @param name name of the ResourceQuota # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_resource_quota(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_resource_quota_with_http_info(name, namespace, body, opts) + def delete_namespaced_resource_quota(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_resource_quota_with_http_info(name, namespace, opts) return data end @@ -6113,14 +6213,15 @@ def delete_namespaced_resource_quota(name, namespace, body, opts = {}) # delete a ResourceQuota # @param name name of the ResourceQuota # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_resource_quota_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_resource_quota_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_resource_quota ..." end @@ -6132,16 +6233,13 @@ def delete_namespaced_resource_quota_with_http_info(name, namespace, body, opts if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_resource_quota" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_resource_quota" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/resourcequotas/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6157,7 +6255,7 @@ def delete_namespaced_resource_quota_with_http_info(name, namespace, body, opts form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6176,15 +6274,16 @@ def delete_namespaced_resource_quota_with_http_info(name, namespace, body, opts # delete a Secret # @param name name of the Secret # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_secret(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_secret_with_http_info(name, namespace, body, opts) + def delete_namespaced_secret(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_secret_with_http_info(name, namespace, opts) return data end @@ -6192,14 +6291,15 @@ def delete_namespaced_secret(name, namespace, body, opts = {}) # delete a Secret # @param name name of the Secret # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_secret_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_secret_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_secret ..." end @@ -6211,16 +6311,13 @@ def delete_namespaced_secret_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_secret" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_secret" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/secrets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6236,7 +6333,7 @@ def delete_namespaced_secret_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6257,6 +6354,11 @@ def delete_namespaced_secret_with_http_info(name, namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] def delete_namespaced_service(name, namespace, opts = {}) data, _status_code, _headers = delete_namespaced_service_with_http_info(name, namespace, opts) @@ -6269,6 +6371,11 @@ def delete_namespaced_service(name, namespace, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_namespaced_service_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @@ -6288,6 +6395,10 @@ def delete_namespaced_service_with_http_info(name, namespace, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? # header parameters header_params = {} @@ -6300,7 +6411,7 @@ def delete_namespaced_service_with_http_info(name, namespace, opts = {}) form_params = {} # http body (model) - post_body = nil + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6319,15 +6430,16 @@ def delete_namespaced_service_with_http_info(name, namespace, opts = {}) # delete a ServiceAccount # @param name name of the ServiceAccount # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_service_account(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_service_account_with_http_info(name, namespace, body, opts) + def delete_namespaced_service_account(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_service_account_with_http_info(name, namespace, opts) return data end @@ -6335,14 +6447,15 @@ def delete_namespaced_service_account(name, namespace, body, opts = {}) # delete a ServiceAccount # @param name name of the ServiceAccount # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_service_account_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_service_account_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_namespaced_service_account ..." end @@ -6354,16 +6467,13 @@ def delete_namespaced_service_account_with_http_info(name, namespace, body, opts if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.delete_namespaced_service_account" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_namespaced_service_account" - end # resource path local_var_path = "/api/v1/namespaces/{namespace}/serviceaccounts/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6379,7 +6489,7 @@ def delete_namespaced_service_account_with_http_info(name, namespace, body, opts form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6397,29 +6507,31 @@ def delete_namespaced_service_account_with_http_info(name, namespace, body, opts # # delete a Node # @param name name of the Node - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_node(name, body, opts = {}) - data, _status_code, _headers = delete_node_with_http_info(name, body, opts) + def delete_node(name, opts = {}) + data, _status_code, _headers = delete_node_with_http_info(name, opts) return data end # # delete a Node # @param name name of the Node - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_node_with_http_info(name, body, opts = {}) + def delete_node_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_node ..." end @@ -6427,16 +6539,13 @@ def delete_node_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.delete_node" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_node" - end # resource path local_var_path = "/api/v1/nodes/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6452,7 +6561,7 @@ def delete_node_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6470,29 +6579,31 @@ def delete_node_with_http_info(name, body, opts = {}) # # delete a PersistentVolume # @param name name of the PersistentVolume - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_persistent_volume(name, body, opts = {}) - data, _status_code, _headers = delete_persistent_volume_with_http_info(name, body, opts) + def delete_persistent_volume(name, opts = {}) + data, _status_code, _headers = delete_persistent_volume_with_http_info(name, opts) return data end # # delete a PersistentVolume # @param name name of the PersistentVolume - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_persistent_volume_with_http_info(name, body, opts = {}) + def delete_persistent_volume_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: CoreV1Api.delete_persistent_volume ..." end @@ -6500,16 +6611,13 @@ def delete_persistent_volume_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.delete_persistent_volume" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CoreV1Api.delete_persistent_volume" - end # resource path local_var_path = "/api/v1/persistentvolumes/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -6525,7 +6633,7 @@ def delete_persistent_volume_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -6592,14 +6700,14 @@ def get_api_resources_with_http_info(opts = {}) # # list objects of kind ComponentStatus # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ComponentStatusList] def list_component_status(opts = {}) @@ -6610,14 +6718,14 @@ def list_component_status(opts = {}) # # list objects of kind ComponentStatus # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ComponentStatusList, Fixnum, Hash)>] V1ComponentStatusList data, response status code and response headers def list_component_status_with_http_info(opts = {}) @@ -6668,14 +6776,14 @@ def list_component_status_with_http_info(opts = {}) # # list or watch objects of kind ConfigMap # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ConfigMapList] def list_config_map_for_all_namespaces(opts = {}) @@ -6686,14 +6794,14 @@ def list_config_map_for_all_namespaces(opts = {}) # # list or watch objects of kind ConfigMap # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ConfigMapList, Fixnum, Hash)>] V1ConfigMapList data, response status code and response headers def list_config_map_for_all_namespaces_with_http_info(opts = {}) @@ -6744,14 +6852,14 @@ def list_config_map_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Endpoints # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EndpointsList] def list_endpoints_for_all_namespaces(opts = {}) @@ -6762,14 +6870,14 @@ def list_endpoints_for_all_namespaces(opts = {}) # # list or watch objects of kind Endpoints # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1EndpointsList, Fixnum, Hash)>] V1EndpointsList data, response status code and response headers def list_endpoints_for_all_namespaces_with_http_info(opts = {}) @@ -6820,14 +6928,14 @@ def list_endpoints_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Event # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EventList] def list_event_for_all_namespaces(opts = {}) @@ -6838,14 +6946,14 @@ def list_event_for_all_namespaces(opts = {}) # # list or watch objects of kind Event # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1EventList, Fixnum, Hash)>] V1EventList data, response status code and response headers def list_event_for_all_namespaces_with_http_info(opts = {}) @@ -6896,14 +7004,14 @@ def list_event_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind LimitRange # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1LimitRangeList] def list_limit_range_for_all_namespaces(opts = {}) @@ -6914,14 +7022,14 @@ def list_limit_range_for_all_namespaces(opts = {}) # # list or watch objects of kind LimitRange # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1LimitRangeList, Fixnum, Hash)>] V1LimitRangeList data, response status code and response headers def list_limit_range_for_all_namespaces_with_http_info(opts = {}) @@ -6972,14 +7080,14 @@ def list_limit_range_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Namespace # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NamespaceList] def list_namespace(opts = {}) @@ -6990,14 +7098,14 @@ def list_namespace(opts = {}) # # list or watch objects of kind Namespace # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1NamespaceList, Fixnum, Hash)>] V1NamespaceList data, response status code and response headers def list_namespace_with_http_info(opts = {}) @@ -7009,10 +7117,10 @@ def list_namespace_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7049,14 +7157,14 @@ def list_namespace_with_http_info(opts = {}) # list or watch objects of kind ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ConfigMapList] def list_namespaced_config_map(namespace, opts = {}) @@ -7068,14 +7176,14 @@ def list_namespaced_config_map(namespace, opts = {}) # list or watch objects of kind ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ConfigMapList, Fixnum, Hash)>] V1ConfigMapList data, response status code and response headers def list_namespaced_config_map_with_http_info(namespace, opts = {}) @@ -7091,10 +7199,10 @@ def list_namespaced_config_map_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7131,14 +7239,14 @@ def list_namespaced_config_map_with_http_info(namespace, opts = {}) # list or watch objects of kind Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EndpointsList] def list_namespaced_endpoints(namespace, opts = {}) @@ -7150,14 +7258,14 @@ def list_namespaced_endpoints(namespace, opts = {}) # list or watch objects of kind Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1EndpointsList, Fixnum, Hash)>] V1EndpointsList data, response status code and response headers def list_namespaced_endpoints_with_http_info(namespace, opts = {}) @@ -7173,10 +7281,10 @@ def list_namespaced_endpoints_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7213,14 +7321,14 @@ def list_namespaced_endpoints_with_http_info(namespace, opts = {}) # list or watch objects of kind Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EventList] def list_namespaced_event(namespace, opts = {}) @@ -7232,14 +7340,14 @@ def list_namespaced_event(namespace, opts = {}) # list or watch objects of kind Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1EventList, Fixnum, Hash)>] V1EventList data, response status code and response headers def list_namespaced_event_with_http_info(namespace, opts = {}) @@ -7255,10 +7363,10 @@ def list_namespaced_event_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7295,14 +7403,14 @@ def list_namespaced_event_with_http_info(namespace, opts = {}) # list or watch objects of kind LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1LimitRangeList] def list_namespaced_limit_range(namespace, opts = {}) @@ -7314,14 +7422,14 @@ def list_namespaced_limit_range(namespace, opts = {}) # list or watch objects of kind LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1LimitRangeList, Fixnum, Hash)>] V1LimitRangeList data, response status code and response headers def list_namespaced_limit_range_with_http_info(namespace, opts = {}) @@ -7337,10 +7445,10 @@ def list_namespaced_limit_range_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7377,14 +7485,14 @@ def list_namespaced_limit_range_with_http_info(namespace, opts = {}) # list or watch objects of kind PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeClaimList] def list_namespaced_persistent_volume_claim(namespace, opts = {}) @@ -7396,14 +7504,14 @@ def list_namespaced_persistent_volume_claim(namespace, opts = {}) # list or watch objects of kind PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PersistentVolumeClaimList, Fixnum, Hash)>] V1PersistentVolumeClaimList data, response status code and response headers def list_namespaced_persistent_volume_claim_with_http_info(namespace, opts = {}) @@ -7419,10 +7527,10 @@ def list_namespaced_persistent_volume_claim_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7459,14 +7567,14 @@ def list_namespaced_persistent_volume_claim_with_http_info(namespace, opts = {}) # list or watch objects of kind Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodList] def list_namespaced_pod(namespace, opts = {}) @@ -7478,14 +7586,14 @@ def list_namespaced_pod(namespace, opts = {}) # list or watch objects of kind Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PodList, Fixnum, Hash)>] V1PodList data, response status code and response headers def list_namespaced_pod_with_http_info(namespace, opts = {}) @@ -7501,10 +7609,10 @@ def list_namespaced_pod_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7541,14 +7649,14 @@ def list_namespaced_pod_with_http_info(namespace, opts = {}) # list or watch objects of kind PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodTemplateList] def list_namespaced_pod_template(namespace, opts = {}) @@ -7560,14 +7668,14 @@ def list_namespaced_pod_template(namespace, opts = {}) # list or watch objects of kind PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PodTemplateList, Fixnum, Hash)>] V1PodTemplateList data, response status code and response headers def list_namespaced_pod_template_with_http_info(namespace, opts = {}) @@ -7583,10 +7691,10 @@ def list_namespaced_pod_template_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7623,14 +7731,14 @@ def list_namespaced_pod_template_with_http_info(namespace, opts = {}) # list or watch objects of kind ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ReplicationControllerList] def list_namespaced_replication_controller(namespace, opts = {}) @@ -7642,14 +7750,14 @@ def list_namespaced_replication_controller(namespace, opts = {}) # list or watch objects of kind ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ReplicationControllerList, Fixnum, Hash)>] V1ReplicationControllerList data, response status code and response headers def list_namespaced_replication_controller_with_http_info(namespace, opts = {}) @@ -7665,10 +7773,10 @@ def list_namespaced_replication_controller_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7705,14 +7813,14 @@ def list_namespaced_replication_controller_with_http_info(namespace, opts = {}) # list or watch objects of kind ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ResourceQuotaList] def list_namespaced_resource_quota(namespace, opts = {}) @@ -7724,14 +7832,14 @@ def list_namespaced_resource_quota(namespace, opts = {}) # list or watch objects of kind ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ResourceQuotaList, Fixnum, Hash)>] V1ResourceQuotaList data, response status code and response headers def list_namespaced_resource_quota_with_http_info(namespace, opts = {}) @@ -7747,10 +7855,10 @@ def list_namespaced_resource_quota_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7787,14 +7895,14 @@ def list_namespaced_resource_quota_with_http_info(namespace, opts = {}) # list or watch objects of kind Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1SecretList] def list_namespaced_secret(namespace, opts = {}) @@ -7806,14 +7914,14 @@ def list_namespaced_secret(namespace, opts = {}) # list or watch objects of kind Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1SecretList, Fixnum, Hash)>] V1SecretList data, response status code and response headers def list_namespaced_secret_with_http_info(namespace, opts = {}) @@ -7829,10 +7937,10 @@ def list_namespaced_secret_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7869,14 +7977,14 @@ def list_namespaced_secret_with_http_info(namespace, opts = {}) # list or watch objects of kind Service # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceList] def list_namespaced_service(namespace, opts = {}) @@ -7888,14 +7996,14 @@ def list_namespaced_service(namespace, opts = {}) # list or watch objects of kind Service # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ServiceList, Fixnum, Hash)>] V1ServiceList data, response status code and response headers def list_namespaced_service_with_http_info(namespace, opts = {}) @@ -7911,10 +8019,10 @@ def list_namespaced_service_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -7951,14 +8059,14 @@ def list_namespaced_service_with_http_info(namespace, opts = {}) # list or watch objects of kind ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceAccountList] def list_namespaced_service_account(namespace, opts = {}) @@ -7970,14 +8078,14 @@ def list_namespaced_service_account(namespace, opts = {}) # list or watch objects of kind ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ServiceAccountList, Fixnum, Hash)>] V1ServiceAccountList data, response status code and response headers def list_namespaced_service_account_with_http_info(namespace, opts = {}) @@ -7993,10 +8101,10 @@ def list_namespaced_service_account_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -8032,14 +8140,14 @@ def list_namespaced_service_account_with_http_info(namespace, opts = {}) # # list or watch objects of kind Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NodeList] def list_node(opts = {}) @@ -8050,14 +8158,14 @@ def list_node(opts = {}) # # list or watch objects of kind Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1NodeList, Fixnum, Hash)>] V1NodeList data, response status code and response headers def list_node_with_http_info(opts = {}) @@ -8069,10 +8177,10 @@ def list_node_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -8108,14 +8216,14 @@ def list_node_with_http_info(opts = {}) # # list or watch objects of kind PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeList] def list_persistent_volume(opts = {}) @@ -8126,14 +8234,14 @@ def list_persistent_volume(opts = {}) # # list or watch objects of kind PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PersistentVolumeList, Fixnum, Hash)>] V1PersistentVolumeList data, response status code and response headers def list_persistent_volume_with_http_info(opts = {}) @@ -8145,10 +8253,10 @@ def list_persistent_volume_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -8184,14 +8292,14 @@ def list_persistent_volume_with_http_info(opts = {}) # # list or watch objects of kind PersistentVolumeClaim # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeClaimList] def list_persistent_volume_claim_for_all_namespaces(opts = {}) @@ -8202,14 +8310,14 @@ def list_persistent_volume_claim_for_all_namespaces(opts = {}) # # list or watch objects of kind PersistentVolumeClaim # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PersistentVolumeClaimList, Fixnum, Hash)>] V1PersistentVolumeClaimList data, response status code and response headers def list_persistent_volume_claim_for_all_namespaces_with_http_info(opts = {}) @@ -8260,14 +8368,14 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Pod # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodList] def list_pod_for_all_namespaces(opts = {}) @@ -8278,14 +8386,14 @@ def list_pod_for_all_namespaces(opts = {}) # # list or watch objects of kind Pod # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PodList, Fixnum, Hash)>] V1PodList data, response status code and response headers def list_pod_for_all_namespaces_with_http_info(opts = {}) @@ -8336,14 +8444,14 @@ def list_pod_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind PodTemplate # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodTemplateList] def list_pod_template_for_all_namespaces(opts = {}) @@ -8354,14 +8462,14 @@ def list_pod_template_for_all_namespaces(opts = {}) # # list or watch objects of kind PodTemplate # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1PodTemplateList, Fixnum, Hash)>] V1PodTemplateList data, response status code and response headers def list_pod_template_for_all_namespaces_with_http_info(opts = {}) @@ -8412,14 +8520,14 @@ def list_pod_template_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind ReplicationController # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ReplicationControllerList] def list_replication_controller_for_all_namespaces(opts = {}) @@ -8430,14 +8538,14 @@ def list_replication_controller_for_all_namespaces(opts = {}) # # list or watch objects of kind ReplicationController # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ReplicationControllerList, Fixnum, Hash)>] V1ReplicationControllerList data, response status code and response headers def list_replication_controller_for_all_namespaces_with_http_info(opts = {}) @@ -8488,14 +8596,14 @@ def list_replication_controller_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind ResourceQuota # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ResourceQuotaList] def list_resource_quota_for_all_namespaces(opts = {}) @@ -8506,14 +8614,14 @@ def list_resource_quota_for_all_namespaces(opts = {}) # # list or watch objects of kind ResourceQuota # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ResourceQuotaList, Fixnum, Hash)>] V1ResourceQuotaList data, response status code and response headers def list_resource_quota_for_all_namespaces_with_http_info(opts = {}) @@ -8564,14 +8672,14 @@ def list_resource_quota_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Secret # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1SecretList] def list_secret_for_all_namespaces(opts = {}) @@ -8582,14 +8690,14 @@ def list_secret_for_all_namespaces(opts = {}) # # list or watch objects of kind Secret # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1SecretList, Fixnum, Hash)>] V1SecretList data, response status code and response headers def list_secret_for_all_namespaces_with_http_info(opts = {}) @@ -8640,14 +8748,14 @@ def list_secret_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind ServiceAccount # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceAccountList] def list_service_account_for_all_namespaces(opts = {}) @@ -8658,14 +8766,14 @@ def list_service_account_for_all_namespaces(opts = {}) # # list or watch objects of kind ServiceAccount # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ServiceAccountList, Fixnum, Hash)>] V1ServiceAccountList data, response status code and response headers def list_service_account_for_all_namespaces_with_http_info(opts = {}) @@ -8716,14 +8824,14 @@ def list_service_account_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Service # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceList] def list_service_for_all_namespaces(opts = {}) @@ -8734,14 +8842,14 @@ def list_service_for_all_namespaces(opts = {}) # # list or watch objects of kind Service # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ServiceList, Fixnum, Hash)>] V1ServiceList data, response status code and response headers def list_service_for_all_namespaces_with_http_info(opts = {}) @@ -8795,6 +8903,7 @@ def list_service_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] def patch_namespace(name, body, opts = {}) data, _status_code, _headers = patch_namespace_with_http_info(name, body, opts) @@ -8807,6 +8916,7 @@ def patch_namespace(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def patch_namespace_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -8826,6 +8936,7 @@ def patch_namespace_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -8859,6 +8970,7 @@ def patch_namespace_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] def patch_namespace_status(name, body, opts = {}) data, _status_code, _headers = patch_namespace_status_with_http_info(name, body, opts) @@ -8871,6 +8983,7 @@ def patch_namespace_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def patch_namespace_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -8890,6 +9003,7 @@ def patch_namespace_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -8924,6 +9038,7 @@ def patch_namespace_status_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] def patch_namespaced_config_map(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_config_map_with_http_info(name, namespace, body, opts) @@ -8937,6 +9052,7 @@ def patch_namespaced_config_map(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ConfigMap, Fixnum, Hash)>] V1ConfigMap data, response status code and response headers def patch_namespaced_config_map_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -8960,6 +9076,7 @@ def patch_namespaced_config_map_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -8994,6 +9111,7 @@ def patch_namespaced_config_map_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] def patch_namespaced_endpoints(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_endpoints_with_http_info(name, namespace, body, opts) @@ -9007,6 +9125,7 @@ def patch_namespaced_endpoints(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Endpoints, Fixnum, Hash)>] V1Endpoints data, response status code and response headers def patch_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9030,6 +9149,7 @@ def patch_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9064,6 +9184,7 @@ def patch_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] def patch_namespaced_event(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_event_with_http_info(name, namespace, body, opts) @@ -9077,6 +9198,7 @@ def patch_namespaced_event(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Event, Fixnum, Hash)>] V1Event data, response status code and response headers def patch_namespaced_event_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9100,6 +9222,7 @@ def patch_namespaced_event_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9134,6 +9257,7 @@ def patch_namespaced_event_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] def patch_namespaced_limit_range(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_limit_range_with_http_info(name, namespace, body, opts) @@ -9147,6 +9271,7 @@ def patch_namespaced_limit_range(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1LimitRange, Fixnum, Hash)>] V1LimitRange data, response status code and response headers def patch_namespaced_limit_range_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9170,6 +9295,7 @@ def patch_namespaced_limit_range_with_http_info(name, namespace, body, opts = {} # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9204,6 +9330,7 @@ def patch_namespaced_limit_range_with_http_info(name, namespace, body, opts = {} # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] def patch_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts) @@ -9217,6 +9344,7 @@ def patch_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolumeClaim, Fixnum, Hash)>] V1PersistentVolumeClaim data, response status code and response headers def patch_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9240,6 +9368,7 @@ def patch_namespaced_persistent_volume_claim_with_http_info(name, namespace, bod # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9274,6 +9403,7 @@ def patch_namespaced_persistent_volume_claim_with_http_info(name, namespace, bod # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] def patch_namespaced_persistent_volume_claim_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_persistent_volume_claim_status_with_http_info(name, namespace, body, opts) @@ -9287,6 +9417,7 @@ def patch_namespaced_persistent_volume_claim_status(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolumeClaim, Fixnum, Hash)>] V1PersistentVolumeClaim data, response status code and response headers def patch_namespaced_persistent_volume_claim_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9310,6 +9441,7 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(name, namespa # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9344,6 +9476,7 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(name, namespa # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] def patch_namespaced_pod(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_with_http_info(name, namespace, body, opts) @@ -9357,6 +9490,7 @@ def patch_namespaced_pod(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Pod, Fixnum, Hash)>] V1Pod data, response status code and response headers def patch_namespaced_pod_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9380,6 +9514,7 @@ def patch_namespaced_pod_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9414,6 +9549,7 @@ def patch_namespaced_pod_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] def patch_namespaced_pod_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_status_with_http_info(name, namespace, body, opts) @@ -9427,6 +9563,7 @@ def patch_namespaced_pod_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Pod, Fixnum, Hash)>] V1Pod data, response status code and response headers def patch_namespaced_pod_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9450,6 +9587,7 @@ def patch_namespaced_pod_status_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9484,6 +9622,7 @@ def patch_namespaced_pod_status_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] def patch_namespaced_pod_template(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_template_with_http_info(name, namespace, body, opts) @@ -9497,6 +9636,7 @@ def patch_namespaced_pod_template(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PodTemplate, Fixnum, Hash)>] V1PodTemplate data, response status code and response headers def patch_namespaced_pod_template_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9520,6 +9660,7 @@ def patch_namespaced_pod_template_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9554,6 +9695,7 @@ def patch_namespaced_pod_template_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] def patch_namespaced_replication_controller(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replication_controller_with_http_info(name, namespace, body, opts) @@ -9567,6 +9709,7 @@ def patch_namespaced_replication_controller(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ReplicationController, Fixnum, Hash)>] V1ReplicationController data, response status code and response headers def patch_namespaced_replication_controller_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9590,6 +9733,7 @@ def patch_namespaced_replication_controller_with_http_info(name, namespace, body # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9624,6 +9768,7 @@ def patch_namespaced_replication_controller_with_http_info(name, namespace, body # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Scale] def patch_namespaced_replication_controller_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replication_controller_scale_with_http_info(name, namespace, body, opts) @@ -9637,6 +9782,7 @@ def patch_namespaced_replication_controller_scale(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers def patch_namespaced_replication_controller_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9660,6 +9806,7 @@ def patch_namespaced_replication_controller_scale_with_http_info(name, namespace # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9694,6 +9841,7 @@ def patch_namespaced_replication_controller_scale_with_http_info(name, namespace # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] def patch_namespaced_replication_controller_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replication_controller_status_with_http_info(name, namespace, body, opts) @@ -9707,6 +9855,7 @@ def patch_namespaced_replication_controller_status(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ReplicationController, Fixnum, Hash)>] V1ReplicationController data, response status code and response headers def patch_namespaced_replication_controller_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9730,6 +9879,7 @@ def patch_namespaced_replication_controller_status_with_http_info(name, namespac # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9764,6 +9914,7 @@ def patch_namespaced_replication_controller_status_with_http_info(name, namespac # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] def patch_namespaced_resource_quota(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_resource_quota_with_http_info(name, namespace, body, opts) @@ -9777,6 +9928,7 @@ def patch_namespaced_resource_quota(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ResourceQuota, Fixnum, Hash)>] V1ResourceQuota data, response status code and response headers def patch_namespaced_resource_quota_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9800,6 +9952,7 @@ def patch_namespaced_resource_quota_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9834,6 +9987,7 @@ def patch_namespaced_resource_quota_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] def patch_namespaced_resource_quota_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_resource_quota_status_with_http_info(name, namespace, body, opts) @@ -9847,6 +10001,7 @@ def patch_namespaced_resource_quota_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ResourceQuota, Fixnum, Hash)>] V1ResourceQuota data, response status code and response headers def patch_namespaced_resource_quota_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9870,6 +10025,7 @@ def patch_namespaced_resource_quota_status_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9904,6 +10060,7 @@ def patch_namespaced_resource_quota_status_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] def patch_namespaced_secret(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_secret_with_http_info(name, namespace, body, opts) @@ -9917,6 +10074,7 @@ def patch_namespaced_secret(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Secret, Fixnum, Hash)>] V1Secret data, response status code and response headers def patch_namespaced_secret_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -9940,6 +10098,7 @@ def patch_namespaced_secret_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -9974,6 +10133,7 @@ def patch_namespaced_secret_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] def patch_namespaced_service(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_service_with_http_info(name, namespace, body, opts) @@ -9987,6 +10147,7 @@ def patch_namespaced_service(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Service, Fixnum, Hash)>] V1Service data, response status code and response headers def patch_namespaced_service_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -10010,6 +10171,7 @@ def patch_namespaced_service_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10044,6 +10206,7 @@ def patch_namespaced_service_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] def patch_namespaced_service_account(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_service_account_with_http_info(name, namespace, body, opts) @@ -10057,6 +10220,7 @@ def patch_namespaced_service_account(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ServiceAccount, Fixnum, Hash)>] V1ServiceAccount data, response status code and response headers def patch_namespaced_service_account_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -10080,6 +10244,7 @@ def patch_namespaced_service_account_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10114,6 +10279,7 @@ def patch_namespaced_service_account_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] def patch_namespaced_service_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_service_status_with_http_info(name, namespace, body, opts) @@ -10127,6 +10293,7 @@ def patch_namespaced_service_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Service, Fixnum, Hash)>] V1Service data, response status code and response headers def patch_namespaced_service_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -10150,6 +10317,7 @@ def patch_namespaced_service_status_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10183,6 +10351,7 @@ def patch_namespaced_service_status_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] def patch_node(name, body, opts = {}) data, _status_code, _headers = patch_node_with_http_info(name, body, opts) @@ -10195,6 +10364,7 @@ def patch_node(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Node, Fixnum, Hash)>] V1Node data, response status code and response headers def patch_node_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -10214,6 +10384,7 @@ def patch_node_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10247,6 +10418,7 @@ def patch_node_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] def patch_node_status(name, body, opts = {}) data, _status_code, _headers = patch_node_status_with_http_info(name, body, opts) @@ -10259,6 +10431,7 @@ def patch_node_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Node, Fixnum, Hash)>] V1Node data, response status code and response headers def patch_node_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -10278,6 +10451,7 @@ def patch_node_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10311,6 +10485,7 @@ def patch_node_status_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] def patch_persistent_volume(name, body, opts = {}) data, _status_code, _headers = patch_persistent_volume_with_http_info(name, body, opts) @@ -10323,6 +10498,7 @@ def patch_persistent_volume(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolume, Fixnum, Hash)>] V1PersistentVolume data, response status code and response headers def patch_persistent_volume_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -10342,6 +10518,7 @@ def patch_persistent_volume_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10375,6 +10552,7 @@ def patch_persistent_volume_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] def patch_persistent_volume_status(name, body, opts = {}) data, _status_code, _headers = patch_persistent_volume_status_with_http_info(name, body, opts) @@ -10387,6 +10565,7 @@ def patch_persistent_volume_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolume, Fixnum, Hash)>] V1PersistentVolume data, response status code and response headers def patch_persistent_volume_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -10406,6 +10585,7 @@ def patch_persistent_volume_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -10433,2610 +10613,6 @@ def patch_persistent_volume_status_with_http_info(name, body, opts = {}) return data, status_code, headers end - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_delete_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_delete_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_delete_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_delete_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_delete_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_delete_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_delete_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_delete_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_delete_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_delete_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_node(name, opts = {}) - data, _status_code, _headers = proxy_delete_node_with_http_info(name, opts) - return data - end - - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_delete_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_delete_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_delete_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_delete_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_delete_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_delete_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_delete_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_get_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_get_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_get_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_get_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_get_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_get_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_get_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_get_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_get_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_get_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_node(name, opts = {}) - data, _status_code, _headers = proxy_get_node_with_http_info(name, opts) - return data - end - - # - # proxy GET requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy GET requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_get_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_get_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy GET requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_get_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_get_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_get_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_get_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_get_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_head_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_head_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_head_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_head_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_head_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_head_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_head_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_head_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_head_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_head_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_node(name, opts = {}) - data, _status_code, _headers = proxy_head_node_with_http_info(name, opts) - return data - end - - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_head_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_head_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_head_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_head_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_head_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_head_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:HEAD, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_head_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_options_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_options_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_options_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_options_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_options_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_options_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_options_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_options_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_options_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_options_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_node(name, opts = {}) - data, _status_code, _headers = proxy_options_node_with_http_info(name, opts) - return data - end - - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_options_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_options_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_options_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_options_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_options_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_options_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:OPTIONS, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_options_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_patch_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_patch_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_patch_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_patch_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_patch_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_patch_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_patch_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_patch_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_patch_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_patch_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_node(name, opts = {}) - data, _status_code, _headers = proxy_patch_node_with_http_info(name, opts) - return data - end - - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_patch_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_patch_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_patch_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_patch_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_patch_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_patch_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_patch_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_post_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_post_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_post_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_post_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_post_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_post_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_post_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_post_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_post_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_post_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_node(name, opts = {}) - data, _status_code, _headers = proxy_post_node_with_http_info(name, opts) - return data - end - - # - # proxy POST requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy POST requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_post_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_post_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy POST requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_post_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_post_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_post_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_post_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:POST, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_post_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_namespaced_pod(name, namespace, opts = {}) - data, _status_code, _headers = proxy_put_namespaced_pod_with_http_info(name, namespace, opts) - return data - end - - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_namespaced_pod_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_namespaced_pod ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_namespaced_pod" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_put_namespaced_pod" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_namespaced_pod\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_namespaced_pod_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_put_namespaced_pod_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_namespaced_pod_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_namespaced_pod_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_namespaced_pod_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_put_namespaced_pod_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_put_namespaced_pod_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_namespaced_pod_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_namespaced_service(name, namespace, opts = {}) - data, _status_code, _headers = proxy_put_namespaced_service_with_http_info(name, namespace, opts) - return data - end - - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_namespaced_service_with_http_info(name, namespace, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_namespaced_service ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_namespaced_service" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_put_namespaced_service" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_namespaced_service\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_namespaced_service_with_path(name, namespace, path, opts = {}) - data, _status_code, _headers = proxy_put_namespaced_service_with_path_with_http_info(name, namespace, path, opts) - return data - end - - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_namespaced_service_with_path_with_http_info(name, namespace, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_namespaced_service_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_namespaced_service_with_path" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CoreV1Api.proxy_put_namespaced_service_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_put_namespaced_service_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_namespaced_service_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_node(name, opts = {}) - data, _status_code, _headers = proxy_put_node_with_http_info(name, opts) - return data - end - - # - # proxy PUT requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_node_with_http_info(name, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_node ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_node" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}".sub('{' + 'name' + '}', name.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # - # proxy PUT requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - def proxy_put_node_with_path(name, path, opts = {}) - data, _status_code, _headers = proxy_put_node_with_path_with_http_info(name, path, opts) - return data - end - - # - # proxy PUT requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers - def proxy_put_node_with_path_with_http_info(name, path, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CoreV1Api.proxy_put_node_with_path ..." - end - # verify the required parameter 'name' is set - if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CoreV1Api.proxy_put_node_with_path" - end - # verify the required parameter 'path' is set - if @api_client.config.client_side_validation && path.nil? - fail ArgumentError, "Missing the required parameter 'path' when calling CoreV1Api.proxy_put_node_with_path" - end - # resource path - local_var_path = "/api/v1/proxy/nodes/{name}/{path}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'path' + '}', path.to_s) - - # query parameters - query_params = {} - - # header parameters - header_params = {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['*/*']) - # HTTP header 'Content-Type' - header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) - - # form parameters - form_params = {} - - # http body (model) - post_body = nil - auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:PUT, local_var_path, - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => 'String') - if @api_client.config.debugging - @api_client.config.logger.debug "API called: CoreV1Api#proxy_put_node_with_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # # read the specified ComponentStatus # @param name name of the ComponentStatus @@ -14776,6 +12352,7 @@ def read_persistent_volume_status_with_http_info(name, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] def replace_namespace(name, body, opts = {}) data, _status_code, _headers = replace_namespace_with_http_info(name, body, opts) @@ -14788,6 +12365,7 @@ def replace_namespace(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def replace_namespace_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -14807,6 +12385,7 @@ def replace_namespace_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -14839,6 +12418,7 @@ def replace_namespace_with_http_info(name, body, opts = {}) # @param name name of the Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Namespace] def replace_namespace_finalize(name, body, opts = {}) @@ -14851,6 +12431,7 @@ def replace_namespace_finalize(name, body, opts = {}) # @param name name of the Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def replace_namespace_finalize_with_http_info(name, body, opts = {}) @@ -14870,6 +12451,7 @@ def replace_namespace_finalize_with_http_info(name, body, opts = {}) # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -14904,6 +12486,7 @@ def replace_namespace_finalize_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] def replace_namespace_status(name, body, opts = {}) data, _status_code, _headers = replace_namespace_status_with_http_info(name, body, opts) @@ -14916,6 +12499,7 @@ def replace_namespace_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Namespace, Fixnum, Hash)>] V1Namespace data, response status code and response headers def replace_namespace_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -14935,6 +12519,7 @@ def replace_namespace_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -14969,6 +12554,7 @@ def replace_namespace_status_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] def replace_namespaced_config_map(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_config_map_with_http_info(name, namespace, body, opts) @@ -14982,6 +12568,7 @@ def replace_namespaced_config_map(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ConfigMap, Fixnum, Hash)>] V1ConfigMap data, response status code and response headers def replace_namespaced_config_map_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15005,6 +12592,7 @@ def replace_namespaced_config_map_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15039,6 +12627,7 @@ def replace_namespaced_config_map_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] def replace_namespaced_endpoints(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_endpoints_with_http_info(name, namespace, body, opts) @@ -15052,6 +12641,7 @@ def replace_namespaced_endpoints(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Endpoints, Fixnum, Hash)>] V1Endpoints data, response status code and response headers def replace_namespaced_endpoints_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15075,6 +12665,7 @@ def replace_namespaced_endpoints_with_http_info(name, namespace, body, opts = {} # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15109,6 +12700,7 @@ def replace_namespaced_endpoints_with_http_info(name, namespace, body, opts = {} # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] def replace_namespaced_event(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_event_with_http_info(name, namespace, body, opts) @@ -15122,6 +12714,7 @@ def replace_namespaced_event(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Event, Fixnum, Hash)>] V1Event data, response status code and response headers def replace_namespaced_event_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15145,6 +12738,7 @@ def replace_namespaced_event_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15179,6 +12773,7 @@ def replace_namespaced_event_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] def replace_namespaced_limit_range(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_limit_range_with_http_info(name, namespace, body, opts) @@ -15192,6 +12787,7 @@ def replace_namespaced_limit_range(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1LimitRange, Fixnum, Hash)>] V1LimitRange data, response status code and response headers def replace_namespaced_limit_range_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15215,6 +12811,7 @@ def replace_namespaced_limit_range_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15249,6 +12846,7 @@ def replace_namespaced_limit_range_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] def replace_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts) @@ -15262,6 +12860,7 @@ def replace_namespaced_persistent_volume_claim(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolumeClaim, Fixnum, Hash)>] V1PersistentVolumeClaim data, response status code and response headers def replace_namespaced_persistent_volume_claim_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15285,6 +12884,7 @@ def replace_namespaced_persistent_volume_claim_with_http_info(name, namespace, b # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15319,6 +12919,7 @@ def replace_namespaced_persistent_volume_claim_with_http_info(name, namespace, b # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] def replace_namespaced_persistent_volume_claim_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_persistent_volume_claim_status_with_http_info(name, namespace, body, opts) @@ -15332,6 +12933,7 @@ def replace_namespaced_persistent_volume_claim_status(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolumeClaim, Fixnum, Hash)>] V1PersistentVolumeClaim data, response status code and response headers def replace_namespaced_persistent_volume_claim_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15355,6 +12957,7 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(name, names # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15389,6 +12992,7 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(name, names # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] def replace_namespaced_pod(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_with_http_info(name, namespace, body, opts) @@ -15402,6 +13006,7 @@ def replace_namespaced_pod(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Pod, Fixnum, Hash)>] V1Pod data, response status code and response headers def replace_namespaced_pod_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15425,6 +13030,7 @@ def replace_namespaced_pod_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15459,6 +13065,7 @@ def replace_namespaced_pod_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] def replace_namespaced_pod_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_status_with_http_info(name, namespace, body, opts) @@ -15472,6 +13079,7 @@ def replace_namespaced_pod_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Pod, Fixnum, Hash)>] V1Pod data, response status code and response headers def replace_namespaced_pod_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15495,6 +13103,7 @@ def replace_namespaced_pod_status_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15529,6 +13138,7 @@ def replace_namespaced_pod_status_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] def replace_namespaced_pod_template(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_template_with_http_info(name, namespace, body, opts) @@ -15542,6 +13152,7 @@ def replace_namespaced_pod_template(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PodTemplate, Fixnum, Hash)>] V1PodTemplate data, response status code and response headers def replace_namespaced_pod_template_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15565,6 +13176,7 @@ def replace_namespaced_pod_template_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15599,6 +13211,7 @@ def replace_namespaced_pod_template_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] def replace_namespaced_replication_controller(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replication_controller_with_http_info(name, namespace, body, opts) @@ -15612,6 +13225,7 @@ def replace_namespaced_replication_controller(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ReplicationController, Fixnum, Hash)>] V1ReplicationController data, response status code and response headers def replace_namespaced_replication_controller_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15635,6 +13249,7 @@ def replace_namespaced_replication_controller_with_http_info(name, namespace, bo # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15669,6 +13284,7 @@ def replace_namespaced_replication_controller_with_http_info(name, namespace, bo # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Scale] def replace_namespaced_replication_controller_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replication_controller_scale_with_http_info(name, namespace, body, opts) @@ -15682,6 +13298,7 @@ def replace_namespaced_replication_controller_scale(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Scale, Fixnum, Hash)>] V1Scale data, response status code and response headers def replace_namespaced_replication_controller_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15705,6 +13322,7 @@ def replace_namespaced_replication_controller_scale_with_http_info(name, namespa # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15739,6 +13357,7 @@ def replace_namespaced_replication_controller_scale_with_http_info(name, namespa # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] def replace_namespaced_replication_controller_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replication_controller_status_with_http_info(name, namespace, body, opts) @@ -15752,6 +13371,7 @@ def replace_namespaced_replication_controller_status(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ReplicationController, Fixnum, Hash)>] V1ReplicationController data, response status code and response headers def replace_namespaced_replication_controller_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15775,6 +13395,7 @@ def replace_namespaced_replication_controller_status_with_http_info(name, namesp # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15809,6 +13430,7 @@ def replace_namespaced_replication_controller_status_with_http_info(name, namesp # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] def replace_namespaced_resource_quota(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_resource_quota_with_http_info(name, namespace, body, opts) @@ -15822,6 +13444,7 @@ def replace_namespaced_resource_quota(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ResourceQuota, Fixnum, Hash)>] V1ResourceQuota data, response status code and response headers def replace_namespaced_resource_quota_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15845,6 +13468,7 @@ def replace_namespaced_resource_quota_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15879,6 +13503,7 @@ def replace_namespaced_resource_quota_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] def replace_namespaced_resource_quota_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_resource_quota_status_with_http_info(name, namespace, body, opts) @@ -15892,6 +13517,7 @@ def replace_namespaced_resource_quota_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ResourceQuota, Fixnum, Hash)>] V1ResourceQuota data, response status code and response headers def replace_namespaced_resource_quota_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15915,6 +13541,7 @@ def replace_namespaced_resource_quota_status_with_http_info(name, namespace, bod # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -15949,6 +13576,7 @@ def replace_namespaced_resource_quota_status_with_http_info(name, namespace, bod # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] def replace_namespaced_secret(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_secret_with_http_info(name, namespace, body, opts) @@ -15962,6 +13590,7 @@ def replace_namespaced_secret(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Secret, Fixnum, Hash)>] V1Secret data, response status code and response headers def replace_namespaced_secret_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -15985,6 +13614,7 @@ def replace_namespaced_secret_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16019,6 +13649,7 @@ def replace_namespaced_secret_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] def replace_namespaced_service(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_service_with_http_info(name, namespace, body, opts) @@ -16032,6 +13663,7 @@ def replace_namespaced_service(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Service, Fixnum, Hash)>] V1Service data, response status code and response headers def replace_namespaced_service_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -16055,6 +13687,7 @@ def replace_namespaced_service_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16089,6 +13722,7 @@ def replace_namespaced_service_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] def replace_namespaced_service_account(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_service_account_with_http_info(name, namespace, body, opts) @@ -16102,6 +13736,7 @@ def replace_namespaced_service_account(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ServiceAccount, Fixnum, Hash)>] V1ServiceAccount data, response status code and response headers def replace_namespaced_service_account_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -16125,6 +13760,7 @@ def replace_namespaced_service_account_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16159,6 +13795,7 @@ def replace_namespaced_service_account_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] def replace_namespaced_service_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_service_status_with_http_info(name, namespace, body, opts) @@ -16172,6 +13809,7 @@ def replace_namespaced_service_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Service, Fixnum, Hash)>] V1Service data, response status code and response headers def replace_namespaced_service_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -16195,6 +13833,7 @@ def replace_namespaced_service_status_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16228,6 +13867,7 @@ def replace_namespaced_service_status_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] def replace_node(name, body, opts = {}) data, _status_code, _headers = replace_node_with_http_info(name, body, opts) @@ -16240,6 +13880,7 @@ def replace_node(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Node, Fixnum, Hash)>] V1Node data, response status code and response headers def replace_node_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -16259,6 +13900,7 @@ def replace_node_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16292,6 +13934,7 @@ def replace_node_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] def replace_node_status(name, body, opts = {}) data, _status_code, _headers = replace_node_status_with_http_info(name, body, opts) @@ -16304,6 +13947,7 @@ def replace_node_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Node, Fixnum, Hash)>] V1Node data, response status code and response headers def replace_node_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -16323,6 +13967,7 @@ def replace_node_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16356,6 +14001,7 @@ def replace_node_status_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] def replace_persistent_volume(name, body, opts = {}) data, _status_code, _headers = replace_persistent_volume_with_http_info(name, body, opts) @@ -16368,6 +14014,7 @@ def replace_persistent_volume(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolume, Fixnum, Hash)>] V1PersistentVolume data, response status code and response headers def replace_persistent_volume_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -16387,6 +14034,7 @@ def replace_persistent_volume_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -16420,6 +14068,7 @@ def replace_persistent_volume_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] def replace_persistent_volume_status(name, body, opts = {}) data, _status_code, _headers = replace_persistent_volume_status_with_http_info(name, body, opts) @@ -16432,6 +14081,7 @@ def replace_persistent_volume_status(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1PersistentVolume, Fixnum, Hash)>] V1PersistentVolume data, response status code and response headers def replace_persistent_volume_status_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -16451,6 +14101,7 @@ def replace_persistent_volume_status_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/custom_objects_api.rb b/kubernetes/lib/kubernetes/api/custom_objects_api.rb index 016b68db..35baea16 100644 --- a/kubernetes/lib/kubernetes/api/custom_objects_api.rb +++ b/kubernetes/lib/kubernetes/api/custom_objects_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -429,55 +429,1179 @@ def get_cluster_custom_object_with_http_info(group, version, plural, name, opts return data, status_code, headers end + # + # read scale of the specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + def get_cluster_custom_object_scale(group, version, plural, name, opts = {}) + data, _status_code, _headers = get_cluster_custom_object_scale_with_http_info(group, version, plural, name, opts) + return data + end + + # + # read scale of the specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def get_cluster_custom_object_scale_with_http_info(group, version, plural, name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_cluster_custom_object_scale ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_cluster_custom_object_scale" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_cluster_custom_object_scale" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_cluster_custom_object_scale" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_cluster_custom_object_scale" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#get_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + def get_cluster_custom_object_status(group, version, plural, name, opts = {}) + data, _status_code, _headers = get_cluster_custom_object_status_with_http_info(group, version, plural, name, opts) + return data + end + + # + # read status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def get_cluster_custom_object_status_with_http_info(group, version, plural, name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_cluster_custom_object_status ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_cluster_custom_object_status" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_cluster_custom_object_status" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_cluster_custom_object_status" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_cluster_custom_object_status" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#get_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # Returns a namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + def get_namespaced_custom_object(group, version, namespace, plural, name, opts = {}) + data, _status_code, _headers = get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts) + return data + end + # # Returns a namespace scoped custom object # @param group the custom resource's group # @param version the custom resource's version - # @param namespace The custom resource's namespace + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + def get_namespaced_custom_object_scale(group, version, namespace, plural, name, opts = {}) + data, _status_code, _headers = get_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, opts) + return data + end + + # + # read scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def get_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object_scale ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object_scale" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object_scale" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object_scale" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object_scale" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + def get_namespaced_custom_object_status(group, version, namespace, plural, name, opts = {}) + data, _status_code, _headers = get_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, opts) + return data + end + + # + # read status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def get_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object_status ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object_status" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object_status" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object_status" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object_status" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch cluster scoped custom objects + # @param group The custom resource's group name + # @param version The custom resource's version + # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. + # @return [Object] + def list_cluster_custom_object(group, version, plural, opts = {}) + data, _status_code, _headers = list_cluster_custom_object_with_http_info(group, version, plural, opts) + return data + end + + # + # list or watch cluster scoped custom objects + # @param group The custom resource's group name + # @param version The custom resource's version + # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def list_cluster_custom_object_with_http_info(group, version, plural, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.list_cluster_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_cluster_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_cluster_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_cluster_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#list_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch namespace scoped custom objects + # @param group The custom resource's group name + # @param version The custom resource's version + # @param namespace The custom resource's namespace + # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. + # @return [Object] + def list_namespaced_custom_object(group, version, namespace, plural, opts = {}) + data, _status_code, _headers = list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts) + return data + end + + # + # list or watch namespace scoped custom objects + # @param group The custom resource's group name + # @param version The custom resource's version + # @param namespace The custom resource's namespace + # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.list_namespaced_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_namespaced_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_namespaced_custom_object" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.list_namespaced_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_namespaced_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#list_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # patch the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_cluster_custom_object(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = patch_cluster_custom_object_with_http_info(group, version, plural, name, body, opts) + return data + end + + # + # patch the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update scale of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_cluster_custom_object_scale(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = patch_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts) + return data + end + + # + # partially update scale of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object_scale ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object_scale" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object_scale" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object_scale" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object_scale" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_cluster_custom_object_status(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = patch_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts) + return data + end + + # + # partially update status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_cluster_custom_object_status ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_cluster_custom_object_status" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_cluster_custom_object_status" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_cluster_custom_object_status" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_cluster_custom_object_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_cluster_custom_object_status" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # patch the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = patch_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts) + return data + end + + # + # patch the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_namespaced_custom_object_scale(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = patch_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts) + return data + end + + # + # partially update scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object_scale ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object_scale" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + def patch_namespaced_custom_object_status(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = patch_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts) + return data + end + + # + # partially update status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def patch_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.patch_namespaced_custom_object_status ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.patch_namespaced_custom_object_status" + end + # resource path + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#patch_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to replace. + # @param [Hash] opts the optional parameters + # @return [Object] + def replace_cluster_custom_object(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts) + return data + end + + # + # replace the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to replace. + # @param [Hash] opts the optional parameters + # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers + def replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object ..." + end + # verify the required parameter 'group' is set + if @api_client.config.client_side_validation && group.nil? + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object" + end + # verify the required parameter 'version' is set + if @api_client.config.client_side_validation && version.nil? + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object" + end + # verify the required parameter 'plural' is set + if @api_client.config.client_side_validation && plural.nil? + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object" + end + # resource path + local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'Object') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace scale of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name + # @param body # @param [Hash] opts the optional parameters # @return [Object] - def get_namespaced_custom_object(group, version, namespace, plural, name, opts = {}) - data, _status_code, _headers = get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts) + def replace_cluster_custom_object_scale(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = replace_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts) return data end # - # Returns a namespace scoped custom object + # replace scale of the specified cluster scoped custom object # @param group the custom resource's group # @param version the custom resource's version - # @param namespace The custom resource's namespace # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name + # @param body # @param [Hash] opts the optional parameters # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers - def get_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, opts = {}) + def replace_cluster_custom_object_scale_with_http_info(group, version, plural, name, body, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CustomObjectsApi.get_namespaced_custom_object ..." + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object_scale ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? - fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.get_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object_scale" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? - fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.get_namespaced_custom_object" - end - # verify the required parameter 'namespace' is set - if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.get_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object_scale" end # verify the required parameter 'plural' is set if @api_client.config.client_side_validation && plural.nil? - fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.get_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object_scale" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.get_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object_scale" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object_scale" end # resource path - local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + local_var_path = "/apis/{group}/{version}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} @@ -485,7 +1609,7 @@ def get_namespaced_custom_object_with_http_info(group, version, namespace, plura # header parameters header_params = {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) @@ -493,9 +1617,9 @@ def get_namespaced_custom_object_with_http_info(group, version, namespace, plura form_params = {} # http body (model) - post_body = nil + post_body = @api_client.object_to_http_body(body) auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -503,68 +1627,68 @@ def get_namespaced_custom_object_with_http_info(group, version, namespace, plura :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging - @api_client.config.logger.debug "API called: CustomObjectsApi#get_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # - # list or watch cluster scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # replace status of the cluster scoped specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Object] - def list_cluster_custom_object(group, version, plural, opts = {}) - data, _status_code, _headers = list_cluster_custom_object_with_http_info(group, version, plural, opts) + def replace_cluster_custom_object_status(group, version, plural, name, body, opts = {}) + data, _status_code, _headers = replace_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts) return data end # - # list or watch cluster scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # replace status of the cluster scoped specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers - def list_cluster_custom_object_with_http_info(group, version, plural, opts = {}) + def replace_cluster_custom_object_status_with_http_info(group, version, plural, name, body, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CustomObjectsApi.list_cluster_custom_object ..." + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object_status ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? - fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object_status" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? - fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object_status" end # verify the required parameter 'plural' is set if @api_client.config.client_side_validation && plural.nil? - fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object_status" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object_status" end # resource path - local_var_path = "/apis/{group}/{version}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s) + local_var_path = "/apis/{group}/{version}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? - query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? - query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch']) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) @@ -572,9 +1696,9 @@ def list_cluster_custom_object_with_http_info(group, version, plural, opts = {}) form_params = {} # http body (model) - post_body = nil + post_body = @api_client.object_to_http_body(body) auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -582,74 +1706,74 @@ def list_cluster_custom_object_with_http_info(group, version, plural, opts = {}) :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging - @api_client.config.logger.debug "API called: CustomObjectsApi#list_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # - # list or watch namespace scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version + # replace the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version # @param namespace The custom resource's namespace - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to replace. # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Object] - def list_namespaced_custom_object(group, version, namespace, plural, opts = {}) - data, _status_code, _headers = list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts) + def replace_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts) return data end # - # list or watch namespace scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version + # replace the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version # @param namespace The custom resource's namespace - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to replace. # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers - def list_namespaced_custom_object_with_http_info(group, version, namespace, plural, opts = {}) + def replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CustomObjectsApi.list_namespaced_custom_object ..." + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? - fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.list_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? - fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.list_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object" end # verify the required parameter 'namespace' is set if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.list_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object" end # verify the required parameter 'plural' is set if @api_client.config.client_side_validation && plural.nil? - fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.list_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object" + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object" end # resource path - local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s) + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} - query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? - query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? - query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? - query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/json;stream=watch']) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) @@ -657,9 +1781,9 @@ def list_namespaced_custom_object_with_http_info(group, version, namespace, plur form_params = {} # http body (model) - post_body = nil + post_body = @api_client.object_to_http_body(body) auth_names = ['BearerToken'] - data, status_code, headers = @api_client.call_api(:GET, local_var_path, + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -667,60 +1791,66 @@ def list_namespaced_custom_object_with_http_info(group, version, namespace, plur :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging - @api_client.config.logger.debug "API called: CustomObjectsApi#list_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # - # replace the specified cluster scoped custom object + # replace scale of the specified namespace scoped custom object # @param group the custom resource's group # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. + # @param body # @param [Hash] opts the optional parameters # @return [Object] - def replace_cluster_custom_object(group, version, plural, name, body, opts = {}) - data, _status_code, _headers = replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts) + def replace_namespaced_custom_object_scale(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = replace_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts) return data end # - # replace the specified cluster scoped custom object + # replace scale of the specified namespace scoped custom object # @param group the custom resource's group # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. + # @param body # @param [Hash] opts the optional parameters # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers - def replace_cluster_custom_object_with_http_info(group, version, plural, name, body, opts = {}) + def replace_namespaced_custom_object_scale_with_http_info(group, version, namespace, plural, name, body, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_cluster_custom_object ..." + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object_scale ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? - fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? - fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" end # verify the required parameter 'plural' is set if @api_client.config.client_side_validation && plural.nil? - fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_cluster_custom_object" + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object_scale" end # resource path - local_var_path = "/apis/{group}/{version}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} @@ -728,7 +1858,7 @@ def replace_cluster_custom_object_with_http_info(group, version, plural, name, b # header parameters header_params = {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) @@ -746,66 +1876,66 @@ def replace_cluster_custom_object_with_http_info(group, version, plural, name, b :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging - @api_client.config.logger.debug "API called: CustomObjectsApi#replace_cluster_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object_scale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # - # replace the specified namespace scoped custom object + # replace status of the specified namespace scoped custom object # @param group the custom resource's group # @param version the custom resource's version # @param namespace The custom resource's namespace # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. + # @param body # @param [Hash] opts the optional parameters # @return [Object] - def replace_namespaced_custom_object(group, version, namespace, plural, name, body, opts = {}) - data, _status_code, _headers = replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts) + def replace_namespaced_custom_object_status(group, version, namespace, plural, name, body, opts = {}) + data, _status_code, _headers = replace_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts) return data end # - # replace the specified namespace scoped custom object + # replace status of the specified namespace scoped custom object # @param group the custom resource's group # @param version the custom resource's version # @param namespace The custom resource's namespace # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. + # @param body # @param [Hash] opts the optional parameters # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers - def replace_namespaced_custom_object_with_http_info(group, version, namespace, plural, name, body, opts = {}) + def replace_namespaced_custom_object_status_with_http_info(group, version, namespace, plural, name, body, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object ..." + @api_client.config.logger.debug "Calling API: CustomObjectsApi.replace_namespaced_custom_object_status ..." end # verify the required parameter 'group' is set if @api_client.config.client_side_validation && group.nil? - fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'group' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # verify the required parameter 'version' is set if @api_client.config.client_side_validation && version.nil? - fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'version' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # verify the required parameter 'namespace' is set if @api_client.config.client_side_validation && namespace.nil? - fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'namespace' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # verify the required parameter 'plural' is set if @api_client.config.client_side_validation && plural.nil? - fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'plural' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # verify the required parameter 'name' is set if @api_client.config.client_side_validation && name.nil? - fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'name' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # verify the required parameter 'body' is set if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object" + fail ArgumentError, "Missing the required parameter 'body' when calling CustomObjectsApi.replace_namespaced_custom_object_status" end # resource path - local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) + local_var_path = "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status".sub('{' + 'group' + '}', group.to_s).sub('{' + 'version' + '}', version.to_s).sub('{' + 'namespace' + '}', namespace.to_s).sub('{' + 'plural' + '}', plural.to_s).sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} @@ -813,7 +1943,7 @@ def replace_namespaced_custom_object_with_http_info(group, version, namespace, p # header parameters header_params = {} # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) @@ -831,7 +1961,7 @@ def replace_namespaced_custom_object_with_http_info(group, version, namespace, p :auth_names => auth_names, :return_type => 'Object') if @api_client.config.debugging - @api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: CustomObjectsApi#replace_namespaced_custom_object_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end diff --git a/kubernetes/lib/kubernetes/api/events_api.rb b/kubernetes/lib/kubernetes/api/events_api.rb new file mode 100644 index 00000000..98da6f59 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/events_api.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class EventsApi + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + def get_api_group(opts = {}) + data, _status_code, _headers = get_api_group_with_http_info(opts) + return data + end + + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIGroup, Fixnum, Hash)>] V1APIGroup data, response status code and response headers + def get_api_group_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsApi.get_api_group ..." + end + # resource path + local_var_path = "/apis/events.k8s.io/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIGroup') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsApi#get_api_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/events_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/events_v1beta1_api.rb new file mode 100644 index 00000000..be639843 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/events_v1beta1_api.rb @@ -0,0 +1,676 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class EventsV1beta1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create an Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + def create_namespaced_event(namespace, body, opts = {}) + data, _status_code, _headers = create_namespaced_event_with_http_info(namespace, body, opts) + return data + end + + # + # create an Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Event, Fixnum, Hash)>] V1beta1Event data, response status code and response headers + def create_namespaced_event_with_http_info(namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.create_namespaced_event ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.create_namespaced_event" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling EventsV1beta1Api.create_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Event') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#create_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_namespaced_event(namespace, opts = {}) + data, _status_code, _headers = delete_collection_namespaced_event_with_http_info(namespace, opts) + return data + end + + # + # delete collection of Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_namespaced_event_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.delete_collection_namespaced_event ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.delete_collection_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#delete_collection_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete an Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_namespaced_event(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_event_with_http_info(name, namespace, opts) + return data + end + + # + # delete an Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_namespaced_event_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.delete_namespaced_event ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling EventsV1beta1Api.delete_namespaced_event" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.delete_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#delete_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Event + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1EventList] + def list_event_for_all_namespaces(opts = {}) + data, _status_code, _headers = list_event_for_all_namespaces_with_http_info(opts) + return data + end + + # + # list or watch objects of kind Event + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1EventList, Fixnum, Hash)>] V1beta1EventList data, response status code and response headers + def list_event_for_all_namespaces_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.list_event_for_all_namespaces ..." + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/events" + + # query parameters + query_params = {} + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1EventList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#list_event_for_all_namespaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1EventList] + def list_namespaced_event(namespace, opts = {}) + data, _status_code, _headers = list_namespaced_event_with_http_info(namespace, opts) + return data + end + + # + # list or watch objects of kind Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1EventList, Fixnum, Hash)>] V1beta1EventList data, response status code and response headers + def list_namespaced_event_with_http_info(namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.list_namespaced_event ..." + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.list_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events".sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1EventList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#list_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + def patch_namespaced_event(name, namespace, body, opts = {}) + data, _status_code, _headers = patch_namespaced_event_with_http_info(name, namespace, body, opts) + return data + end + + # + # partially update the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Event, Fixnum, Hash)>] V1beta1Event data, response status code and response headers + def patch_namespaced_event_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.patch_namespaced_event ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling EventsV1beta1Api.patch_namespaced_event" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.patch_namespaced_event" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling EventsV1beta1Api.patch_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Event') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#patch_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1Event] + def read_namespaced_event(name, namespace, opts = {}) + data, _status_code, _headers = read_namespaced_event_with_http_info(name, namespace, opts) + return data + end + + # + # read the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1Event, Fixnum, Hash)>] V1beta1Event data, response status code and response headers + def read_namespaced_event_with_http_info(name, namespace, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.read_namespaced_event ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling EventsV1beta1Api.read_namespaced_event" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.read_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Event') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#read_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + def replace_namespaced_event(name, namespace, body, opts = {}) + data, _status_code, _headers = replace_namespaced_event_with_http_info(name, namespace, body, opts) + return data + end + + # + # replace the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1Event, Fixnum, Hash)>] V1beta1Event data, response status code and response headers + def replace_namespaced_event_with_http_info(name, namespace, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: EventsV1beta1Api.replace_namespaced_event ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling EventsV1beta1Api.replace_namespaced_event" + end + # verify the required parameter 'namespace' is set + if @api_client.config.client_side_validation && namespace.nil? + fail ArgumentError, "Missing the required parameter 'namespace' when calling EventsV1beta1Api.replace_namespaced_event" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling EventsV1beta1Api.replace_namespaced_event" + end + # resource path + local_var_path = "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1Event') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: EventsV1beta1Api#replace_namespaced_event\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/extensions_api.rb b/kubernetes/lib/kubernetes/api/extensions_api.rb index ab81c3e6..d3f9efce 100644 --- a/kubernetes/lib/kubernetes/api/extensions_api.rb +++ b/kubernetes/lib/kubernetes/api/extensions_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/extensions_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/extensions_v1beta1_api.rb index fb1b55bb..6e8d9b90 100644 --- a/kubernetes/lib/kubernetes/api/extensions_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/extensions_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] def create_namespaced_daemon_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_daemon_set_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_daemon_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1DaemonSet, Fixnum, Hash)>] V1beta1DaemonSet data, response status code and response headers def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -89,7 +95,9 @@ def create_namespaced_daemon_set_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] def create_namespaced_deployment(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_deployment_with_http_info(namespace, body, opts) @@ -101,7 +109,9 @@ def create_namespaced_deployment(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Deployment, Fixnum, Hash)>] ExtensionsV1beta1Deployment data, response status code and response headers def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -120,7 +130,9 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -154,8 +166,10 @@ def create_namespaced_deployment_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1DeploymentRollback] + # @return [V1Status] def create_namespaced_deployment_rollback(name, namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts) return data @@ -167,8 +181,10 @@ def create_namespaced_deployment_rollback(name, namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(ExtensionsV1beta1DeploymentRollback, Fixnum, Hash)>] ExtensionsV1beta1DeploymentRollback data, response status code and response headers + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.create_namespaced_deployment_rollback ..." @@ -190,6 +206,8 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, # query parameters query_params = {} + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? # header parameters @@ -211,7 +229,7 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'ExtensionsV1beta1DeploymentRollback') + :return_type => 'V1Status') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#create_namespaced_deployment_rollback\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -223,7 +241,9 @@ def create_namespaced_deployment_rollback_with_http_info(name, namespace, body, # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] def create_namespaced_ingress(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_ingress_with_http_info(namespace, body, opts) @@ -235,7 +255,9 @@ def create_namespaced_ingress(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Ingress, Fixnum, Hash)>] V1beta1Ingress data, response status code and response headers def create_namespaced_ingress_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -254,7 +276,9 @@ def create_namespaced_ingress_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -287,7 +311,9 @@ def create_namespaced_ingress_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] def create_namespaced_network_policy(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_network_policy_with_http_info(namespace, body, opts) @@ -299,7 +325,9 @@ def create_namespaced_network_policy(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1NetworkPolicy, Fixnum, Hash)>] V1beta1NetworkPolicy data, response status code and response headers def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -318,7 +346,9 @@ def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -351,7 +381,9 @@ def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] def create_namespaced_replica_set(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_replica_set_with_http_info(namespace, body, opts) @@ -363,7 +395,9 @@ def create_namespaced_replica_set(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ReplicaSet, Fixnum, Hash)>] V1beta1ReplicaSet data, response status code and response headers def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -382,7 +416,9 @@ def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -414,8 +450,10 @@ def create_namespaced_replica_set_with_http_info(namespace, body, opts = {}) # create a PodSecurityPolicy # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] def create_pod_security_policy(body, opts = {}) data, _status_code, _headers = create_pod_security_policy_with_http_info(body, opts) return data @@ -425,8 +463,10 @@ def create_pod_security_policy(body, opts = {}) # create a PodSecurityPolicy # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1beta1PodSecurityPolicy, Fixnum, Hash)>] V1beta1PodSecurityPolicy data, response status code and response headers + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(ExtensionsV1beta1PodSecurityPolicy, Fixnum, Hash)>] ExtensionsV1beta1PodSecurityPolicy data, response status code and response headers def create_pod_security_policy_with_http_info(body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.create_pod_security_policy ..." @@ -440,7 +480,9 @@ def create_pod_security_policy_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -461,7 +503,7 @@ def create_pod_security_policy_with_http_info(body, opts = {}) :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'V1beta1PodSecurityPolicy') + :return_type => 'ExtensionsV1beta1PodSecurityPolicy') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#create_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -472,14 +514,14 @@ def create_pod_security_policy_with_http_info(body, opts = {}) # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_daemon_set(namespace, opts = {}) @@ -491,14 +533,14 @@ def delete_collection_namespaced_daemon_set(namespace, opts = {}) # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) @@ -514,10 +556,10 @@ def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -554,14 +596,14 @@ def delete_collection_namespaced_daemon_set_with_http_info(namespace, opts = {}) # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_deployment(namespace, opts = {}) @@ -573,14 +615,14 @@ def delete_collection_namespaced_deployment(namespace, opts = {}) # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -596,10 +638,10 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -636,14 +678,14 @@ def delete_collection_namespaced_deployment_with_http_info(namespace, opts = {}) # delete collection of Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_ingress(namespace, opts = {}) @@ -655,14 +697,14 @@ def delete_collection_namespaced_ingress(namespace, opts = {}) # delete collection of Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_ingress_with_http_info(namespace, opts = {}) @@ -678,10 +720,10 @@ def delete_collection_namespaced_ingress_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -718,14 +760,14 @@ def delete_collection_namespaced_ingress_with_http_info(namespace, opts = {}) # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_network_policy(namespace, opts = {}) @@ -737,14 +779,14 @@ def delete_collection_namespaced_network_policy(namespace, opts = {}) # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = {}) @@ -760,10 +802,10 @@ def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -800,14 +842,14 @@ def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_replica_set(namespace, opts = {}) @@ -819,14 +861,14 @@ def delete_collection_namespaced_replica_set(namespace, opts = {}) # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {}) @@ -842,10 +884,10 @@ def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {} # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -881,14 +923,14 @@ def delete_collection_namespaced_replica_set_with_http_info(namespace, opts = {} # # delete collection of PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_pod_security_policy(opts = {}) @@ -899,14 +941,14 @@ def delete_collection_pod_security_policy(opts = {}) # # delete collection of PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_pod_security_policy_with_http_info(opts = {}) @@ -918,10 +960,10 @@ def delete_collection_pod_security_policy_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -958,15 +1000,16 @@ def delete_collection_pod_security_policy_with_http_info(opts = {}) # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_daemon_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_daemon_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_daemon_set_with_http_info(name, namespace, opts) return data end @@ -974,14 +1017,15 @@ def delete_namespaced_daemon_set(name, namespace, body, opts = {}) # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_daemon_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_namespaced_daemon_set ..." end @@ -993,16 +1037,13 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling ExtensionsV1beta1Api.delete_namespaced_daemon_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_namespaced_daemon_set" - end # resource path local_var_path = "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1018,7 +1059,7 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1037,15 +1078,16 @@ def delete_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {} # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_deployment(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, body, opts) + def delete_namespaced_deployment(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_deployment_with_http_info(name, namespace, opts) return data end @@ -1053,14 +1095,15 @@ def delete_namespaced_deployment(name, namespace, body, opts = {}) # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_deployment_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_namespaced_deployment ..." end @@ -1072,16 +1115,13 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling ExtensionsV1beta1Api.delete_namespaced_deployment" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_namespaced_deployment" - end # resource path local_var_path = "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1097,7 +1137,7 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1116,15 +1156,16 @@ def delete_namespaced_deployment_with_http_info(name, namespace, body, opts = {} # delete an Ingress # @param name name of the Ingress # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_ingress(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_ingress_with_http_info(name, namespace, body, opts) + def delete_namespaced_ingress(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_ingress_with_http_info(name, namespace, opts) return data end @@ -1132,14 +1173,15 @@ def delete_namespaced_ingress(name, namespace, body, opts = {}) # delete an Ingress # @param name name of the Ingress # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_ingress_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_namespaced_ingress ..." end @@ -1151,16 +1193,13 @@ def delete_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling ExtensionsV1beta1Api.delete_namespaced_ingress" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_namespaced_ingress" - end # resource path local_var_path = "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1176,7 +1215,7 @@ def delete_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1195,15 +1234,16 @@ def delete_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_network_policy(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_network_policy_with_http_info(name, namespace, body, opts) + def delete_namespaced_network_policy(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_network_policy_with_http_info(name, namespace, opts) return data end @@ -1211,14 +1251,15 @@ def delete_namespaced_network_policy(name, namespace, body, opts = {}) # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_network_policy_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_namespaced_network_policy ..." end @@ -1230,16 +1271,13 @@ def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling ExtensionsV1beta1Api.delete_namespaced_network_policy" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_namespaced_network_policy" - end # resource path local_var_path = "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1255,7 +1293,7 @@ def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1274,15 +1312,16 @@ def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_replica_set(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_replica_set_with_http_info(name, namespace, body, opts) + def delete_namespaced_replica_set(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_replica_set_with_http_info(name, namespace, opts) return data end @@ -1290,14 +1329,15 @@ def delete_namespaced_replica_set(name, namespace, body, opts = {}) # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_replica_set_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_namespaced_replica_set ..." end @@ -1309,16 +1349,13 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling ExtensionsV1beta1Api.delete_namespaced_replica_set" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_namespaced_replica_set" - end # resource path local_var_path = "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1334,7 +1371,7 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1352,29 +1389,31 @@ def delete_namespaced_replica_set_with_http_info(name, namespace, body, opts = { # # delete a PodSecurityPolicy # @param name name of the PodSecurityPolicy - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_pod_security_policy(name, body, opts = {}) - data, _status_code, _headers = delete_pod_security_policy_with_http_info(name, body, opts) + def delete_pod_security_policy(name, opts = {}) + data, _status_code, _headers = delete_pod_security_policy_with_http_info(name, opts) return data end # # delete a PodSecurityPolicy # @param name name of the PodSecurityPolicy - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_pod_security_policy_with_http_info(name, body, opts = {}) + def delete_pod_security_policy_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.delete_pod_security_policy ..." end @@ -1382,16 +1421,13 @@ def delete_pod_security_policy_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling ExtensionsV1beta1Api.delete_pod_security_policy" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling ExtensionsV1beta1Api.delete_pod_security_policy" - end # resource path local_var_path = "/apis/extensions/v1beta1/podsecuritypolicies/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -1407,7 +1443,7 @@ def delete_pod_security_policy_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -1474,14 +1510,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1DaemonSetList] def list_daemon_set_for_all_namespaces(opts = {}) @@ -1492,14 +1528,14 @@ def list_daemon_set_for_all_namespaces(opts = {}) # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1DaemonSetList, Fixnum, Hash)>] V1beta1DaemonSetList data, response status code and response headers def list_daemon_set_for_all_namespaces_with_http_info(opts = {}) @@ -1550,14 +1586,14 @@ def list_daemon_set_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [ExtensionsV1beta1DeploymentList] def list_deployment_for_all_namespaces(opts = {}) @@ -1568,14 +1604,14 @@ def list_deployment_for_all_namespaces(opts = {}) # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(ExtensionsV1beta1DeploymentList, Fixnum, Hash)>] ExtensionsV1beta1DeploymentList data, response status code and response headers def list_deployment_for_all_namespaces_with_http_info(opts = {}) @@ -1626,14 +1662,14 @@ def list_deployment_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Ingress # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1IngressList] def list_ingress_for_all_namespaces(opts = {}) @@ -1644,14 +1680,14 @@ def list_ingress_for_all_namespaces(opts = {}) # # list or watch objects of kind Ingress # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1IngressList, Fixnum, Hash)>] V1beta1IngressList data, response status code and response headers def list_ingress_for_all_namespaces_with_http_info(opts = {}) @@ -1703,14 +1739,14 @@ def list_ingress_for_all_namespaces_with_http_info(opts = {}) # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1DaemonSetList] def list_namespaced_daemon_set(namespace, opts = {}) @@ -1722,14 +1758,14 @@ def list_namespaced_daemon_set(namespace, opts = {}) # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1DaemonSetList, Fixnum, Hash)>] V1beta1DaemonSetList data, response status code and response headers def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) @@ -1745,10 +1781,10 @@ def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1785,14 +1821,14 @@ def list_namespaced_daemon_set_with_http_info(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [ExtensionsV1beta1DeploymentList] def list_namespaced_deployment(namespace, opts = {}) @@ -1804,14 +1840,14 @@ def list_namespaced_deployment(namespace, opts = {}) # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(ExtensionsV1beta1DeploymentList, Fixnum, Hash)>] ExtensionsV1beta1DeploymentList data, response status code and response headers def list_namespaced_deployment_with_http_info(namespace, opts = {}) @@ -1827,10 +1863,10 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1867,14 +1903,14 @@ def list_namespaced_deployment_with_http_info(namespace, opts = {}) # list or watch objects of kind Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1IngressList] def list_namespaced_ingress(namespace, opts = {}) @@ -1886,14 +1922,14 @@ def list_namespaced_ingress(namespace, opts = {}) # list or watch objects of kind Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1IngressList, Fixnum, Hash)>] V1beta1IngressList data, response status code and response headers def list_namespaced_ingress_with_http_info(namespace, opts = {}) @@ -1909,10 +1945,10 @@ def list_namespaced_ingress_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1949,14 +1985,14 @@ def list_namespaced_ingress_with_http_info(namespace, opts = {}) # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1NetworkPolicyList] def list_namespaced_network_policy(namespace, opts = {}) @@ -1968,14 +2004,14 @@ def list_namespaced_network_policy(namespace, opts = {}) # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1NetworkPolicyList, Fixnum, Hash)>] V1beta1NetworkPolicyList data, response status code and response headers def list_namespaced_network_policy_with_http_info(namespace, opts = {}) @@ -1991,10 +2027,10 @@ def list_namespaced_network_policy_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -2031,14 +2067,14 @@ def list_namespaced_network_policy_with_http_info(namespace, opts = {}) # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ReplicaSetList] def list_namespaced_replica_set(namespace, opts = {}) @@ -2050,14 +2086,14 @@ def list_namespaced_replica_set(namespace, opts = {}) # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ReplicaSetList, Fixnum, Hash)>] V1beta1ReplicaSetList data, response status code and response headers def list_namespaced_replica_set_with_http_info(namespace, opts = {}) @@ -2073,10 +2109,10 @@ def list_namespaced_replica_set_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -2112,14 +2148,14 @@ def list_namespaced_replica_set_with_http_info(namespace, opts = {}) # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1NetworkPolicyList] def list_network_policy_for_all_namespaces(opts = {}) @@ -2130,14 +2166,14 @@ def list_network_policy_for_all_namespaces(opts = {}) # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1NetworkPolicyList, Fixnum, Hash)>] V1beta1NetworkPolicyList data, response status code and response headers def list_network_policy_for_all_namespaces_with_http_info(opts = {}) @@ -2188,16 +2224,16 @@ def list_network_policy_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1PodSecurityPolicyList] + # @return [ExtensionsV1beta1PodSecurityPolicyList] def list_pod_security_policy(opts = {}) data, _status_code, _headers = list_pod_security_policy_with_http_info(opts) return data @@ -2206,16 +2242,16 @@ def list_pod_security_policy(opts = {}) # # list or watch objects of kind PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [Array<(V1beta1PodSecurityPolicyList, Fixnum, Hash)>] V1beta1PodSecurityPolicyList data, response status code and response headers + # @return [Array<(ExtensionsV1beta1PodSecurityPolicyList, Fixnum, Hash)>] ExtensionsV1beta1PodSecurityPolicyList data, response status code and response headers def list_pod_security_policy_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.list_pod_security_policy ..." @@ -2225,10 +2261,10 @@ def list_pod_security_policy_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -2254,7 +2290,7 @@ def list_pod_security_policy_with_http_info(opts = {}) :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'V1beta1PodSecurityPolicyList') + :return_type => 'ExtensionsV1beta1PodSecurityPolicyList') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#list_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -2264,14 +2300,14 @@ def list_pod_security_policy_with_http_info(opts = {}) # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ReplicaSetList] def list_replica_set_for_all_namespaces(opts = {}) @@ -2282,14 +2318,14 @@ def list_replica_set_for_all_namespaces(opts = {}) # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ReplicaSetList, Fixnum, Hash)>] V1beta1ReplicaSetList data, response status code and response headers def list_replica_set_for_all_namespaces_with_http_info(opts = {}) @@ -2344,6 +2380,7 @@ def list_replica_set_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] def patch_namespaced_daemon_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts) @@ -2357,6 +2394,7 @@ def patch_namespaced_daemon_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1DaemonSet, Fixnum, Hash)>] V1beta1DaemonSet data, response status code and response headers def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2380,6 +2418,7 @@ def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2414,6 +2453,7 @@ def patch_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] def patch_namespaced_daemon_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) @@ -2427,6 +2467,7 @@ def patch_namespaced_daemon_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1DaemonSet, Fixnum, Hash)>] V1beta1DaemonSet data, response status code and response headers def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2450,6 +2491,7 @@ def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2484,6 +2526,7 @@ def patch_namespaced_daemon_set_status_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] def patch_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -2497,6 +2540,7 @@ def patch_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Deployment, Fixnum, Hash)>] ExtensionsV1beta1Deployment data, response status code and response headers def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2520,6 +2564,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2554,6 +2599,7 @@ def patch_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -2567,6 +2613,7 @@ def patch_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2590,6 +2637,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2624,6 +2672,7 @@ def patch_namespaced_deployment_scale_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] def patch_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -2637,6 +2686,7 @@ def patch_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Deployment, Fixnum, Hash)>] ExtensionsV1beta1Deployment data, response status code and response headers def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2660,6 +2710,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2694,6 +2745,7 @@ def patch_namespaced_deployment_status_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] def patch_namespaced_ingress(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_ingress_with_http_info(name, namespace, body, opts) @@ -2707,6 +2759,7 @@ def patch_namespaced_ingress(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Ingress, Fixnum, Hash)>] V1beta1Ingress data, response status code and response headers def patch_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2730,6 +2783,7 @@ def patch_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2764,6 +2818,7 @@ def patch_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] def patch_namespaced_ingress_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_ingress_status_with_http_info(name, namespace, body, opts) @@ -2777,6 +2832,7 @@ def patch_namespaced_ingress_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Ingress, Fixnum, Hash)>] V1beta1Ingress data, response status code and response headers def patch_namespaced_ingress_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2800,6 +2856,7 @@ def patch_namespaced_ingress_status_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2834,6 +2891,7 @@ def patch_namespaced_ingress_status_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] def patch_namespaced_network_policy(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_network_policy_with_http_info(name, namespace, body, opts) @@ -2847,6 +2905,7 @@ def patch_namespaced_network_policy(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1NetworkPolicy, Fixnum, Hash)>] V1beta1NetworkPolicy data, response status code and response headers def patch_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2870,6 +2929,7 @@ def patch_namespaced_network_policy_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2904,6 +2964,7 @@ def patch_namespaced_network_policy_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] def patch_namespaced_replica_set(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_with_http_info(name, namespace, body, opts) @@ -2917,6 +2978,7 @@ def patch_namespaced_replica_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ReplicaSet, Fixnum, Hash)>] V1beta1ReplicaSet data, response status code and response headers def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2940,6 +3002,7 @@ def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {} # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2974,6 +3037,7 @@ def patch_namespaced_replica_set_with_http_info(name, namespace, body, opts = {} # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def patch_namespaced_replica_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) @@ -2987,6 +3051,7 @@ def patch_namespaced_replica_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3010,6 +3075,7 @@ def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opt # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3044,6 +3110,7 @@ def patch_namespaced_replica_set_scale_with_http_info(name, namespace, body, opt # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] def patch_namespaced_replica_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) @@ -3057,6 +3124,7 @@ def patch_namespaced_replica_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ReplicaSet, Fixnum, Hash)>] V1beta1ReplicaSet data, response status code and response headers def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3080,6 +3148,7 @@ def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3114,6 +3183,7 @@ def patch_namespaced_replica_set_status_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def patch_namespaced_replication_controller_dummy_scale(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_replication_controller_dummy_scale_with_http_info(name, namespace, body, opts) @@ -3127,6 +3197,7 @@ def patch_namespaced_replication_controller_dummy_scale(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def patch_namespaced_replication_controller_dummy_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -3150,6 +3221,7 @@ def patch_namespaced_replication_controller_dummy_scale_with_http_info(name, nam # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3183,7 +3255,8 @@ def patch_namespaced_replication_controller_dummy_scale_with_http_info(name, nam # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] def patch_pod_security_policy(name, body, opts = {}) data, _status_code, _headers = patch_pod_security_policy_with_http_info(name, body, opts) return data @@ -3195,7 +3268,8 @@ def patch_pod_security_policy(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1beta1PodSecurityPolicy, Fixnum, Hash)>] V1beta1PodSecurityPolicy data, response status code and response headers + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(ExtensionsV1beta1PodSecurityPolicy, Fixnum, Hash)>] ExtensionsV1beta1PodSecurityPolicy data, response status code and response headers def patch_pod_security_policy_with_http_info(name, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.patch_pod_security_policy ..." @@ -3214,6 +3288,7 @@ def patch_pod_security_policy_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -3234,7 +3309,7 @@ def patch_pod_security_policy_with_http_info(name, body, opts = {}) :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'V1beta1PodSecurityPolicy') + :return_type => 'ExtensionsV1beta1PodSecurityPolicy') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#patch_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -4046,7 +4121,7 @@ def read_namespaced_replication_controller_dummy_scale_with_http_info(name, name # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1PodSecurityPolicy] + # @return [ExtensionsV1beta1PodSecurityPolicy] def read_pod_security_policy(name, opts = {}) data, _status_code, _headers = read_pod_security_policy_with_http_info(name, opts) return data @@ -4059,7 +4134,7 @@ def read_pod_security_policy(name, opts = {}) # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [Array<(V1beta1PodSecurityPolicy, Fixnum, Hash)>] V1beta1PodSecurityPolicy data, response status code and response headers + # @return [Array<(ExtensionsV1beta1PodSecurityPolicy, Fixnum, Hash)>] ExtensionsV1beta1PodSecurityPolicy data, response status code and response headers def read_pod_security_policy_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.read_pod_security_policy ..." @@ -4096,7 +4171,7 @@ def read_pod_security_policy_with_http_info(name, opts = {}) :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'V1beta1PodSecurityPolicy') + :return_type => 'ExtensionsV1beta1PodSecurityPolicy') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#read_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end @@ -4110,6 +4185,7 @@ def read_pod_security_policy_with_http_info(name, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] def replace_namespaced_daemon_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts) @@ -4123,6 +4199,7 @@ def replace_namespaced_daemon_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1DaemonSet, Fixnum, Hash)>] V1beta1DaemonSet data, response status code and response headers def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4146,6 +4223,7 @@ def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4180,6 +4258,7 @@ def replace_namespaced_daemon_set_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] def replace_namespaced_daemon_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts) @@ -4193,6 +4272,7 @@ def replace_namespaced_daemon_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1DaemonSet, Fixnum, Hash)>] V1beta1DaemonSet data, response status code and response headers def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4216,6 +4296,7 @@ def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4250,6 +4331,7 @@ def replace_namespaced_daemon_set_status_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] def replace_namespaced_deployment(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_with_http_info(name, namespace, body, opts) @@ -4263,6 +4345,7 @@ def replace_namespaced_deployment(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Deployment, Fixnum, Hash)>] ExtensionsV1beta1Deployment data, response status code and response headers def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4286,6 +4369,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4320,6 +4404,7 @@ def replace_namespaced_deployment_with_http_info(name, namespace, body, opts = { # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts) @@ -4333,6 +4418,7 @@ def replace_namespaced_deployment_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4356,6 +4442,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4390,6 +4477,7 @@ def replace_namespaced_deployment_scale_with_http_info(name, namespace, body, op # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] def replace_namespaced_deployment_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts) @@ -4403,6 +4491,7 @@ def replace_namespaced_deployment_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Deployment, Fixnum, Hash)>] ExtensionsV1beta1Deployment data, response status code and response headers def replace_namespaced_deployment_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4426,6 +4515,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4460,6 +4550,7 @@ def replace_namespaced_deployment_status_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] def replace_namespaced_ingress(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_ingress_with_http_info(name, namespace, body, opts) @@ -4473,6 +4564,7 @@ def replace_namespaced_ingress(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Ingress, Fixnum, Hash)>] V1beta1Ingress data, response status code and response headers def replace_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4496,6 +4588,7 @@ def replace_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4530,6 +4623,7 @@ def replace_namespaced_ingress_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] def replace_namespaced_ingress_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_ingress_status_with_http_info(name, namespace, body, opts) @@ -4543,6 +4637,7 @@ def replace_namespaced_ingress_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Ingress, Fixnum, Hash)>] V1beta1Ingress data, response status code and response headers def replace_namespaced_ingress_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4566,6 +4661,7 @@ def replace_namespaced_ingress_status_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4600,6 +4696,7 @@ def replace_namespaced_ingress_status_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] def replace_namespaced_network_policy(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_network_policy_with_http_info(name, namespace, body, opts) @@ -4613,6 +4710,7 @@ def replace_namespaced_network_policy(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1NetworkPolicy, Fixnum, Hash)>] V1beta1NetworkPolicy data, response status code and response headers def replace_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4636,6 +4734,7 @@ def replace_namespaced_network_policy_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4670,6 +4769,7 @@ def replace_namespaced_network_policy_with_http_info(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] def replace_namespaced_replica_set(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_with_http_info(name, namespace, body, opts) @@ -4683,6 +4783,7 @@ def replace_namespaced_replica_set(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ReplicaSet, Fixnum, Hash)>] V1beta1ReplicaSet data, response status code and response headers def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4706,6 +4807,7 @@ def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4740,6 +4842,7 @@ def replace_namespaced_replica_set_with_http_info(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def replace_namespaced_replica_set_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts) @@ -4753,6 +4856,7 @@ def replace_namespaced_replica_set_scale(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4776,6 +4880,7 @@ def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, o # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4810,6 +4915,7 @@ def replace_namespaced_replica_set_scale_with_http_info(name, namespace, body, o # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] def replace_namespaced_replica_set_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts) @@ -4823,6 +4929,7 @@ def replace_namespaced_replica_set_status(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ReplicaSet, Fixnum, Hash)>] V1beta1ReplicaSet data, response status code and response headers def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4846,6 +4953,7 @@ def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4880,6 +4988,7 @@ def replace_namespaced_replica_set_status_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] def replace_namespaced_replication_controller_dummy_scale(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_replication_controller_dummy_scale_with_http_info(name, namespace, body, opts) @@ -4893,6 +5002,7 @@ def replace_namespaced_replication_controller_dummy_scale(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(ExtensionsV1beta1Scale, Fixnum, Hash)>] ExtensionsV1beta1Scale data, response status code and response headers def replace_namespaced_replication_controller_dummy_scale_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -4916,6 +5026,7 @@ def replace_namespaced_replication_controller_dummy_scale_with_http_info(name, n # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -4949,7 +5060,8 @@ def replace_namespaced_replication_controller_dummy_scale_with_http_info(name, n # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] def replace_pod_security_policy(name, body, opts = {}) data, _status_code, _headers = replace_pod_security_policy_with_http_info(name, body, opts) return data @@ -4961,7 +5073,8 @@ def replace_pod_security_policy(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Array<(V1beta1PodSecurityPolicy, Fixnum, Hash)>] V1beta1PodSecurityPolicy data, response status code and response headers + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(ExtensionsV1beta1PodSecurityPolicy, Fixnum, Hash)>] ExtensionsV1beta1PodSecurityPolicy data, response status code and response headers def replace_pod_security_policy_with_http_info(name, body, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: ExtensionsV1beta1Api.replace_pod_security_policy ..." @@ -4980,6 +5093,7 @@ def replace_pod_security_policy_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -5000,7 +5114,7 @@ def replace_pod_security_policy_with_http_info(name, body, opts = {}) :form_params => form_params, :body => post_body, :auth_names => auth_names, - :return_type => 'V1beta1PodSecurityPolicy') + :return_type => 'ExtensionsV1beta1PodSecurityPolicy') if @api_client.config.debugging @api_client.config.logger.debug "API called: ExtensionsV1beta1Api#replace_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end diff --git a/kubernetes/lib/kubernetes/api/logs_api.rb b/kubernetes/lib/kubernetes/api/logs_api.rb index 212725ad..5a7d7005 100644 --- a/kubernetes/lib/kubernetes/api/logs_api.rb +++ b/kubernetes/lib/kubernetes/api/logs_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/networking_api.rb b/kubernetes/lib/kubernetes/api/networking_api.rb index a1351bec..8ed4f1b5 100644 --- a/kubernetes/lib/kubernetes/api/networking_api.rb +++ b/kubernetes/lib/kubernetes/api/networking_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/networking_v1_api.rb b/kubernetes/lib/kubernetes/api/networking_v1_api.rb index 7da8cb0c..2cd6293f 100644 --- a/kubernetes/lib/kubernetes/api/networking_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/networking_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] def create_namespaced_network_policy(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_network_policy_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_network_policy(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1NetworkPolicy, Fixnum, Hash)>] V1NetworkPolicy data, response status code and response headers def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_network_policy_with_http_info(namespace, body, opts = {}) # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_network_policy(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_network_policy(namespace, opts = {}) # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_network_policy_with_http_info(namespace, opts = # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_network_policy(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_network_policy_with_http_info(name, namespace, body, opts) + def delete_namespaced_network_policy(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_network_policy_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_network_policy(name, namespace, body, opts = {}) # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_network_policy_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: NetworkingV1Api.delete_namespaced_network_policy ..." end @@ -205,16 +213,13 @@ def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling NetworkingV1Api.delete_namespaced_network_policy" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling NetworkingV1Api.delete_namespaced_network_policy" - end # resource path local_var_path = "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_network_policy_with_http_info(name, namespace, body, opts form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -298,14 +303,14 @@ def get_api_resources_with_http_info(opts = {}) # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NetworkPolicyList] def list_namespaced_network_policy(namespace, opts = {}) @@ -317,14 +322,14 @@ def list_namespaced_network_policy(namespace, opts = {}) # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1NetworkPolicyList, Fixnum, Hash)>] V1NetworkPolicyList data, response status code and response headers def list_namespaced_network_policy_with_http_info(namespace, opts = {}) @@ -340,10 +345,10 @@ def list_namespaced_network_policy_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -379,14 +384,14 @@ def list_namespaced_network_policy_with_http_info(namespace, opts = {}) # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NetworkPolicyList] def list_network_policy_for_all_namespaces(opts = {}) @@ -397,14 +402,14 @@ def list_network_policy_for_all_namespaces(opts = {}) # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1NetworkPolicyList, Fixnum, Hash)>] V1NetworkPolicyList data, response status code and response headers def list_network_policy_for_all_namespaces_with_http_info(opts = {}) @@ -459,6 +464,7 @@ def list_network_policy_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] def patch_namespaced_network_policy(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_network_policy_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_network_policy(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1NetworkPolicy, Fixnum, Hash)>] V1NetworkPolicy data, response status code and response headers def patch_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_network_policy_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -599,6 +607,7 @@ def read_namespaced_network_policy_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] def replace_namespaced_network_policy(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_network_policy_with_http_info(name, namespace, body, opts) @@ -612,6 +621,7 @@ def replace_namespaced_network_policy(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1NetworkPolicy, Fixnum, Hash)>] V1NetworkPolicy data, response status code and response headers def replace_namespaced_network_policy_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -635,6 +645,7 @@ def replace_namespaced_network_policy_with_http_info(name, namespace, body, opts # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/policy_api.rb b/kubernetes/lib/kubernetes/api/policy_api.rb index 5157cb34..545e7715 100644 --- a/kubernetes/lib/kubernetes/api/policy_api.rb +++ b/kubernetes/lib/kubernetes/api/policy_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/policy_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/policy_v1beta1_api.rb index 71326901..093c9904 100644 --- a/kubernetes/lib/kubernetes/api/policy_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/policy_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] def create_namespaced_pod_disruption_budget(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_pod_disruption_budget_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_pod_disruption_budget(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1PodDisruptionBudget, Fixnum, Hash)>] V1beta1PodDisruptionBudget data, response status code and response headers def create_namespaced_pod_disruption_budget_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_pod_disruption_budget_with_http_info(namespace, body, opts # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -84,18 +90,82 @@ def create_namespaced_pod_disruption_budget_with_http_info(namespace, body, opts return data, status_code, headers end + # + # create a PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + def create_pod_security_policy(body, opts = {}) + data, _status_code, _headers = create_pod_security_policy_with_http_info(body, opts) + return data + end + + # + # create a PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(PolicyV1beta1PodSecurityPolicy, Fixnum, Hash)>] PolicyV1beta1PodSecurityPolicy data, response status code and response headers + def create_pod_security_policy_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.create_pod_security_policy ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling PolicyV1beta1Api.create_pod_security_policy" + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'PolicyV1beta1PodSecurityPolicy') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#create_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete collection of PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_pod_disruption_budget(namespace, opts = {}) @@ -107,14 +177,14 @@ def delete_collection_namespaced_pod_disruption_budget(namespace, opts = {}) # delete collection of PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_pod_disruption_budget_with_http_info(namespace, opts = {}) @@ -130,10 +200,10 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(namespace, # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -166,19 +236,96 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(namespace, return data, status_code, headers end + # + # delete collection of PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_pod_security_policy(opts = {}) + data, _status_code, _headers = delete_collection_pod_security_policy_with_http_info(opts) + return data + end + + # + # delete collection of PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_pod_security_policy_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.delete_collection_pod_security_policy ..." + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#delete_collection_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete a PodDisruptionBudget # @param name name of the PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts) + def delete_namespaced_pod_disruption_budget(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, opts) return data end @@ -186,14 +333,15 @@ def delete_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) # delete a PodDisruptionBudget # @param name name of the PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.delete_namespaced_pod_disruption_budget ..." end @@ -205,16 +353,13 @@ def delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling PolicyV1beta1Api.delete_namespaced_pod_disruption_budget" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling PolicyV1beta1Api.delete_namespaced_pod_disruption_budget" - end # resource path local_var_path = "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +375,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -245,6 +390,78 @@ def delete_namespaced_pod_disruption_budget_with_http_info(name, namespace, body return data, status_code, headers end + # + # delete a PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_pod_security_policy(name, opts = {}) + data, _status_code, _headers = delete_pod_security_policy_with_http_info(name, opts) + return data + end + + # + # delete a PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_pod_security_policy_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.delete_pod_security_policy ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling PolicyV1beta1Api.delete_pod_security_policy" + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#delete_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # get available resources # @param [Hash] opts the optional parameters @@ -298,14 +515,14 @@ def get_api_resources_with_http_info(opts = {}) # list or watch objects of kind PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1PodDisruptionBudgetList] def list_namespaced_pod_disruption_budget(namespace, opts = {}) @@ -317,14 +534,14 @@ def list_namespaced_pod_disruption_budget(namespace, opts = {}) # list or watch objects of kind PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1PodDisruptionBudgetList, Fixnum, Hash)>] V1beta1PodDisruptionBudgetList data, response status code and response headers def list_namespaced_pod_disruption_budget_with_http_info(namespace, opts = {}) @@ -340,10 +557,10 @@ def list_namespaced_pod_disruption_budget_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -379,14 +596,14 @@ def list_namespaced_pod_disruption_budget_with_http_info(namespace, opts = {}) # # list or watch objects of kind PodDisruptionBudget # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1PodDisruptionBudgetList] def list_pod_disruption_budget_for_all_namespaces(opts = {}) @@ -397,14 +614,14 @@ def list_pod_disruption_budget_for_all_namespaces(opts = {}) # # list or watch objects of kind PodDisruptionBudget # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1PodDisruptionBudgetList, Fixnum, Hash)>] V1beta1PodDisruptionBudgetList data, response status code and response headers def list_pod_disruption_budget_for_all_namespaces_with_http_info(opts = {}) @@ -452,6 +669,82 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(opts = {}) return data, status_code, headers end + # + # list or watch objects of kind PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [PolicyV1beta1PodSecurityPolicyList] + def list_pod_security_policy(opts = {}) + data, _status_code, _headers = list_pod_security_policy_with_http_info(opts) + return data + end + + # + # list or watch objects of kind PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(PolicyV1beta1PodSecurityPolicyList, Fixnum, Hash)>] PolicyV1beta1PodSecurityPolicyList data, response status code and response headers + def list_pod_security_policy_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.list_pod_security_policy ..." + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'PolicyV1beta1PodSecurityPolicyList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#list_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # partially update the specified PodDisruptionBudget # @param name name of the PodDisruptionBudget @@ -459,6 +752,7 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] def patch_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts) @@ -472,6 +766,7 @@ def patch_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1PodDisruptionBudget, Fixnum, Hash)>] V1beta1PodDisruptionBudget data, response status code and response headers def patch_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +790,7 @@ def patch_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -529,6 +825,7 @@ def patch_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] def patch_namespaced_pod_disruption_budget_status(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, body, opts) @@ -542,6 +839,7 @@ def patch_namespaced_pod_disruption_budget_status(name, namespace, body, opts = # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1PodDisruptionBudget, Fixnum, Hash)>] V1beta1PodDisruptionBudget data, response status code and response headers def patch_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -565,6 +863,7 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(name, namespace # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -592,6 +891,73 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(name, namespace return data, status_code, headers end + # + # partially update the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + def patch_pod_security_policy(name, body, opts = {}) + data, _status_code, _headers = patch_pod_security_policy_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(PolicyV1beta1PodSecurityPolicy, Fixnum, Hash)>] PolicyV1beta1PodSecurityPolicy data, response status code and response headers + def patch_pod_security_policy_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.patch_pod_security_policy ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling PolicyV1beta1Api.patch_pod_security_policy" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling PolicyV1beta1Api.patch_pod_security_policy" + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'PolicyV1beta1PodSecurityPolicy') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#patch_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # read the specified PodDisruptionBudget # @param name name of the PodDisruptionBudget @@ -726,6 +1092,70 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, return data, status_code, headers end + # + # read the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [PolicyV1beta1PodSecurityPolicy] + def read_pod_security_policy(name, opts = {}) + data, _status_code, _headers = read_pod_security_policy_with_http_info(name, opts) + return data + end + + # + # read the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(PolicyV1beta1PodSecurityPolicy, Fixnum, Hash)>] PolicyV1beta1PodSecurityPolicy data, response status code and response headers + def read_pod_security_policy_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.read_pod_security_policy ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling PolicyV1beta1Api.read_pod_security_policy" + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'PolicyV1beta1PodSecurityPolicy') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#read_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified PodDisruptionBudget # @param name name of the PodDisruptionBudget @@ -733,6 +1163,7 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] def replace_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts) @@ -746,6 +1177,7 @@ def replace_namespaced_pod_disruption_budget(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1PodDisruptionBudget, Fixnum, Hash)>] V1beta1PodDisruptionBudget data, response status code and response headers def replace_namespaced_pod_disruption_budget_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -769,6 +1201,7 @@ def replace_namespaced_pod_disruption_budget_with_http_info(name, namespace, bod # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -803,6 +1236,7 @@ def replace_namespaced_pod_disruption_budget_with_http_info(name, namespace, bod # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] def replace_namespaced_pod_disruption_budget_status(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, body, opts) @@ -816,6 +1250,7 @@ def replace_namespaced_pod_disruption_budget_status(name, namespace, body, opts # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1PodDisruptionBudget, Fixnum, Hash)>] V1beta1PodDisruptionBudget data, response status code and response headers def replace_namespaced_pod_disruption_budget_status_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -839,6 +1274,7 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(name, namespa # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -865,5 +1301,72 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(name, namespa end return data, status_code, headers end + + # + # replace the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + def replace_pod_security_policy(name, body, opts = {}) + data, _status_code, _headers = replace_pod_security_policy_with_http_info(name, body, opts) + return data + end + + # + # replace the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(PolicyV1beta1PodSecurityPolicy, Fixnum, Hash)>] PolicyV1beta1PodSecurityPolicy data, response status code and response headers + def replace_pod_security_policy_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: PolicyV1beta1Api.replace_pod_security_policy ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling PolicyV1beta1Api.replace_pod_security_policy" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling PolicyV1beta1Api.replace_pod_security_policy" + end + # resource path + local_var_path = "/apis/policy/v1beta1/podsecuritypolicies/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'PolicyV1beta1PodSecurityPolicy') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PolicyV1beta1Api#replace_pod_security_policy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end end end diff --git a/kubernetes/lib/kubernetes/api/rbac_authorization_api.rb b/kubernetes/lib/kubernetes/api/rbac_authorization_api.rb index 75f1b119..ff486d2a 100644 --- a/kubernetes/lib/kubernetes/api/rbac_authorization_api.rb +++ b/kubernetes/lib/kubernetes/api/rbac_authorization_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/rbac_authorization_v1_api.rb b/kubernetes/lib/kubernetes/api/rbac_authorization_v1_api.rb index 1086564a..8520cc16 100644 --- a/kubernetes/lib/kubernetes/api/rbac_authorization_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/rbac_authorization_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] def create_cluster_role(body, opts = {}) data, _status_code, _headers = create_cluster_role_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_cluster_role(body, opts = {}) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRole, Fixnum, Hash)>] V1ClusterRole data, response status code and response headers def create_cluster_role_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -82,7 +88,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] def create_cluster_role_binding(body, opts = {}) data, _status_code, _headers = create_cluster_role_binding_with_http_info(body, opts) @@ -93,7 +101,9 @@ def create_cluster_role_binding(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRoleBinding, Fixnum, Hash)>] V1ClusterRoleBinding data, response status code and response headers def create_cluster_role_binding_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -108,7 +118,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -141,7 +153,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] def create_namespaced_role(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_with_http_info(namespace, body, opts) @@ -153,7 +167,9 @@ def create_namespaced_role(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Role, Fixnum, Hash)>] V1Role data, response status code and response headers def create_namespaced_role_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -172,7 +188,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -205,7 +223,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] def create_namespaced_role_binding(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_binding_with_http_info(namespace, body, opts) @@ -217,7 +237,9 @@ def create_namespaced_role_binding(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1RoleBinding, Fixnum, Hash)>] V1RoleBinding data, response status code and response headers def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -236,7 +258,9 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -267,29 +291,31 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_with_http_info(name, body, opts) + def delete_cluster_role(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_with_http_info(name, opts) return data end # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_with_http_info(name, body, opts = {}) + def delete_cluster_role_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1Api.delete_cluster_role ..." end @@ -297,16 +323,13 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1Api.delete_cluster_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1Api.delete_cluster_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -322,7 +345,7 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -340,29 +363,31 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role_binding(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, body, opts) + def delete_cluster_role_binding(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, opts) return data end # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_binding_with_http_info(name, body, opts = {}) + def delete_cluster_role_binding_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1Api.delete_cluster_role_binding ..." end @@ -370,16 +395,13 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1Api.delete_cluster_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1Api.delete_cluster_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -395,7 +417,7 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -413,14 +435,14 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role(opts = {}) @@ -431,14 +453,14 @@ def delete_collection_cluster_role(opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_with_http_info(opts = {}) @@ -450,10 +472,10 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -489,14 +511,14 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role_binding(opts = {}) @@ -507,14 +529,14 @@ def delete_collection_cluster_role_binding(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_binding_with_http_info(opts = {}) @@ -526,10 +548,10 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -566,14 +588,14 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role(namespace, opts = {}) @@ -585,14 +607,14 @@ def delete_collection_namespaced_role(namespace, opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) @@ -608,10 +630,10 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -648,14 +670,14 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role_binding(namespace, opts = {}) @@ -667,14 +689,14 @@ def delete_collection_namespaced_role_binding(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -690,10 +712,10 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -730,15 +752,16 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, body, opts) + def delete_namespaced_role(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, opts) return data end @@ -746,14 +769,15 @@ def delete_namespaced_role(name, namespace, body, opts = {}) # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1Api.delete_namespaced_role ..." end @@ -765,16 +789,13 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1Api.delete_namespaced_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1Api.delete_namespaced_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -790,7 +811,7 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -809,15 +830,16 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role_binding(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, body, opts) + def delete_namespaced_role_binding(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, opts) return data end @@ -825,14 +847,15 @@ def delete_namespaced_role_binding(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_binding_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1Api.delete_namespaced_role_binding ..." end @@ -844,16 +867,13 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1Api.delete_namespaced_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1Api.delete_namespaced_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -869,7 +889,7 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -936,14 +956,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ClusterRoleList] def list_cluster_role(opts = {}) @@ -954,14 +974,14 @@ def list_cluster_role(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ClusterRoleList, Fixnum, Hash)>] V1ClusterRoleList data, response status code and response headers def list_cluster_role_with_http_info(opts = {}) @@ -973,10 +993,10 @@ def list_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1012,14 +1032,14 @@ def list_cluster_role_with_http_info(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ClusterRoleBindingList] def list_cluster_role_binding(opts = {}) @@ -1030,14 +1050,14 @@ def list_cluster_role_binding(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1ClusterRoleBindingList, Fixnum, Hash)>] V1ClusterRoleBindingList data, response status code and response headers def list_cluster_role_binding_with_http_info(opts = {}) @@ -1049,10 +1069,10 @@ def list_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1089,14 +1109,14 @@ def list_cluster_role_binding_with_http_info(opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleList] def list_namespaced_role(namespace, opts = {}) @@ -1108,14 +1128,14 @@ def list_namespaced_role(namespace, opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1RoleList, Fixnum, Hash)>] V1RoleList data, response status code and response headers def list_namespaced_role_with_http_info(namespace, opts = {}) @@ -1131,10 +1151,10 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1171,14 +1191,14 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleBindingList] def list_namespaced_role_binding(namespace, opts = {}) @@ -1190,14 +1210,14 @@ def list_namespaced_role_binding(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1RoleBindingList, Fixnum, Hash)>] V1RoleBindingList data, response status code and response headers def list_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -1213,10 +1233,10 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1252,14 +1272,14 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleBindingList] def list_role_binding_for_all_namespaces(opts = {}) @@ -1270,14 +1290,14 @@ def list_role_binding_for_all_namespaces(opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1RoleBindingList, Fixnum, Hash)>] V1RoleBindingList data, response status code and response headers def list_role_binding_for_all_namespaces_with_http_info(opts = {}) @@ -1328,14 +1348,14 @@ def list_role_binding_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleList] def list_role_for_all_namespaces(opts = {}) @@ -1346,14 +1366,14 @@ def list_role_for_all_namespaces(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1RoleList, Fixnum, Hash)>] V1RoleList data, response status code and response headers def list_role_for_all_namespaces_with_http_info(opts = {}) @@ -1407,6 +1427,7 @@ def list_role_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] def patch_cluster_role(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_with_http_info(name, body, opts) @@ -1419,6 +1440,7 @@ def patch_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRole, Fixnum, Hash)>] V1ClusterRole data, response status code and response headers def patch_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1438,6 +1460,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1471,6 +1494,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] def patch_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_binding_with_http_info(name, body, opts) @@ -1483,6 +1507,7 @@ def patch_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRoleBinding, Fixnum, Hash)>] V1ClusterRoleBinding data, response status code and response headers def patch_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1502,6 +1527,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1536,6 +1562,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] def patch_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_with_http_info(name, namespace, body, opts) @@ -1549,6 +1576,7 @@ def patch_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Role, Fixnum, Hash)>] V1Role data, response status code and response headers def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1572,6 +1600,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1606,6 +1635,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] def patch_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -1619,6 +1649,7 @@ def patch_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1RoleBinding, Fixnum, Hash)>] V1RoleBinding data, response status code and response headers def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1642,6 +1673,7 @@ def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1919,6 +1951,7 @@ def read_namespaced_role_binding_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] def replace_cluster_role(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_with_http_info(name, body, opts) @@ -1931,6 +1964,7 @@ def replace_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRole, Fixnum, Hash)>] V1ClusterRole data, response status code and response headers def replace_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1950,6 +1984,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1983,6 +2018,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] def replace_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_binding_with_http_info(name, body, opts) @@ -1995,6 +2031,7 @@ def replace_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1ClusterRoleBinding, Fixnum, Hash)>] V1ClusterRoleBinding data, response status code and response headers def replace_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -2014,6 +2051,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2048,6 +2086,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] def replace_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_with_http_info(name, namespace, body, opts) @@ -2061,6 +2100,7 @@ def replace_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1Role, Fixnum, Hash)>] V1Role data, response status code and response headers def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2084,6 +2124,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2118,6 +2159,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] def replace_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -2131,6 +2173,7 @@ def replace_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1RoleBinding, Fixnum, Hash)>] V1RoleBinding data, response status code and response headers def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2154,6 +2197,7 @@ def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb index 2c5aa74c..6565bc4a 100644 --- a/kubernetes/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb +++ b/kubernetes/lib/kubernetes/api/rbac_authorization_v1alpha1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] def create_cluster_role(body, opts = {}) data, _status_code, _headers = create_cluster_role_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_cluster_role(body, opts = {}) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRole, Fixnum, Hash)>] V1alpha1ClusterRole data, response status code and response headers def create_cluster_role_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -82,7 +88,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] def create_cluster_role_binding(body, opts = {}) data, _status_code, _headers = create_cluster_role_binding_with_http_info(body, opts) @@ -93,7 +101,9 @@ def create_cluster_role_binding(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRoleBinding, Fixnum, Hash)>] V1alpha1ClusterRoleBinding data, response status code and response headers def create_cluster_role_binding_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -108,7 +118,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -141,7 +153,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] def create_namespaced_role(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_with_http_info(namespace, body, opts) @@ -153,7 +167,9 @@ def create_namespaced_role(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1Role, Fixnum, Hash)>] V1alpha1Role data, response status code and response headers def create_namespaced_role_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -172,7 +188,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -205,7 +223,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] def create_namespaced_role_binding(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_binding_with_http_info(namespace, body, opts) @@ -217,7 +237,9 @@ def create_namespaced_role_binding(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1RoleBinding, Fixnum, Hash)>] V1alpha1RoleBinding data, response status code and response headers def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -236,7 +258,9 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -267,29 +291,31 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_with_http_info(name, body, opts) + def delete_cluster_role(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_with_http_info(name, opts) return data end # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_with_http_info(name, body, opts = {}) + def delete_cluster_role_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1alpha1Api.delete_cluster_role ..." end @@ -297,16 +323,13 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1alpha1Api.delete_cluster_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1alpha1Api.delete_cluster_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -322,7 +345,7 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -340,29 +363,31 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role_binding(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, body, opts) + def delete_cluster_role_binding(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, opts) return data end # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_binding_with_http_info(name, body, opts = {}) + def delete_cluster_role_binding_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1alpha1Api.delete_cluster_role_binding ..." end @@ -370,16 +395,13 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1alpha1Api.delete_cluster_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1alpha1Api.delete_cluster_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -395,7 +417,7 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -413,14 +435,14 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role(opts = {}) @@ -431,14 +453,14 @@ def delete_collection_cluster_role(opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_with_http_info(opts = {}) @@ -450,10 +472,10 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -489,14 +511,14 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role_binding(opts = {}) @@ -507,14 +529,14 @@ def delete_collection_cluster_role_binding(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_binding_with_http_info(opts = {}) @@ -526,10 +548,10 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -566,14 +588,14 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role(namespace, opts = {}) @@ -585,14 +607,14 @@ def delete_collection_namespaced_role(namespace, opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) @@ -608,10 +630,10 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -648,14 +670,14 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role_binding(namespace, opts = {}) @@ -667,14 +689,14 @@ def delete_collection_namespaced_role_binding(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -690,10 +712,10 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -730,15 +752,16 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, body, opts) + def delete_namespaced_role(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, opts) return data end @@ -746,14 +769,15 @@ def delete_namespaced_role(name, namespace, body, opts = {}) # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1alpha1Api.delete_namespaced_role ..." end @@ -765,16 +789,13 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1alpha1Api.delete_namespaced_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1alpha1Api.delete_namespaced_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -790,7 +811,7 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -809,15 +830,16 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role_binding(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, body, opts) + def delete_namespaced_role_binding(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, opts) return data end @@ -825,14 +847,15 @@ def delete_namespaced_role_binding(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_binding_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1alpha1Api.delete_namespaced_role_binding ..." end @@ -844,16 +867,13 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1alpha1Api.delete_namespaced_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1alpha1Api.delete_namespaced_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -869,7 +889,7 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -936,14 +956,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1ClusterRoleList] def list_cluster_role(opts = {}) @@ -954,14 +974,14 @@ def list_cluster_role(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1ClusterRoleList, Fixnum, Hash)>] V1alpha1ClusterRoleList data, response status code and response headers def list_cluster_role_with_http_info(opts = {}) @@ -973,10 +993,10 @@ def list_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1012,14 +1032,14 @@ def list_cluster_role_with_http_info(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1ClusterRoleBindingList] def list_cluster_role_binding(opts = {}) @@ -1030,14 +1050,14 @@ def list_cluster_role_binding(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1ClusterRoleBindingList, Fixnum, Hash)>] V1alpha1ClusterRoleBindingList data, response status code and response headers def list_cluster_role_binding_with_http_info(opts = {}) @@ -1049,10 +1069,10 @@ def list_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1089,14 +1109,14 @@ def list_cluster_role_binding_with_http_info(opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleList] def list_namespaced_role(namespace, opts = {}) @@ -1108,14 +1128,14 @@ def list_namespaced_role(namespace, opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1RoleList, Fixnum, Hash)>] V1alpha1RoleList data, response status code and response headers def list_namespaced_role_with_http_info(namespace, opts = {}) @@ -1131,10 +1151,10 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1171,14 +1191,14 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleBindingList] def list_namespaced_role_binding(namespace, opts = {}) @@ -1190,14 +1210,14 @@ def list_namespaced_role_binding(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1RoleBindingList, Fixnum, Hash)>] V1alpha1RoleBindingList data, response status code and response headers def list_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -1213,10 +1233,10 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1252,14 +1272,14 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleBindingList] def list_role_binding_for_all_namespaces(opts = {}) @@ -1270,14 +1290,14 @@ def list_role_binding_for_all_namespaces(opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1RoleBindingList, Fixnum, Hash)>] V1alpha1RoleBindingList data, response status code and response headers def list_role_binding_for_all_namespaces_with_http_info(opts = {}) @@ -1328,14 +1348,14 @@ def list_role_binding_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleList] def list_role_for_all_namespaces(opts = {}) @@ -1346,14 +1366,14 @@ def list_role_for_all_namespaces(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1RoleList, Fixnum, Hash)>] V1alpha1RoleList data, response status code and response headers def list_role_for_all_namespaces_with_http_info(opts = {}) @@ -1407,6 +1427,7 @@ def list_role_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] def patch_cluster_role(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_with_http_info(name, body, opts) @@ -1419,6 +1440,7 @@ def patch_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRole, Fixnum, Hash)>] V1alpha1ClusterRole data, response status code and response headers def patch_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1438,6 +1460,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1471,6 +1494,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] def patch_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_binding_with_http_info(name, body, opts) @@ -1483,6 +1507,7 @@ def patch_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRoleBinding, Fixnum, Hash)>] V1alpha1ClusterRoleBinding data, response status code and response headers def patch_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1502,6 +1527,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1536,6 +1562,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] def patch_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_with_http_info(name, namespace, body, opts) @@ -1549,6 +1576,7 @@ def patch_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1Role, Fixnum, Hash)>] V1alpha1Role data, response status code and response headers def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1572,6 +1600,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1606,6 +1635,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] def patch_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -1619,6 +1649,7 @@ def patch_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1RoleBinding, Fixnum, Hash)>] V1alpha1RoleBinding data, response status code and response headers def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1642,6 +1673,7 @@ def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1919,6 +1951,7 @@ def read_namespaced_role_binding_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] def replace_cluster_role(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_with_http_info(name, body, opts) @@ -1931,6 +1964,7 @@ def replace_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRole, Fixnum, Hash)>] V1alpha1ClusterRole data, response status code and response headers def replace_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1950,6 +1984,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1983,6 +2018,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] def replace_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_binding_with_http_info(name, body, opts) @@ -1995,6 +2031,7 @@ def replace_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1ClusterRoleBinding, Fixnum, Hash)>] V1alpha1ClusterRoleBinding data, response status code and response headers def replace_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -2014,6 +2051,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2048,6 +2086,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] def replace_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_with_http_info(name, namespace, body, opts) @@ -2061,6 +2100,7 @@ def replace_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1Role, Fixnum, Hash)>] V1alpha1Role data, response status code and response headers def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2084,6 +2124,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2118,6 +2159,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] def replace_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -2131,6 +2173,7 @@ def replace_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1RoleBinding, Fixnum, Hash)>] V1alpha1RoleBinding data, response status code and response headers def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2154,6 +2197,7 @@ def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb index b1e93eda..2a9241d0 100644 --- a/kubernetes/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/rbac_authorization_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] def create_cluster_role(body, opts = {}) data, _status_code, _headers = create_cluster_role_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_cluster_role(body, opts = {}) # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRole, Fixnum, Hash)>] V1beta1ClusterRole data, response status code and response headers def create_cluster_role_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -82,7 +88,9 @@ def create_cluster_role_with_http_info(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] def create_cluster_role_binding(body, opts = {}) data, _status_code, _headers = create_cluster_role_binding_with_http_info(body, opts) @@ -93,7 +101,9 @@ def create_cluster_role_binding(body, opts = {}) # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRoleBinding, Fixnum, Hash)>] V1beta1ClusterRoleBinding data, response status code and response headers def create_cluster_role_binding_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -108,7 +118,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -141,7 +153,9 @@ def create_cluster_role_binding_with_http_info(body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] def create_namespaced_role(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_with_http_info(namespace, body, opts) @@ -153,7 +167,9 @@ def create_namespaced_role(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Role, Fixnum, Hash)>] V1beta1Role data, response status code and response headers def create_namespaced_role_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -172,7 +188,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -205,7 +223,9 @@ def create_namespaced_role_with_http_info(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] def create_namespaced_role_binding(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_role_binding_with_http_info(namespace, body, opts) @@ -217,7 +237,9 @@ def create_namespaced_role_binding(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1RoleBinding, Fixnum, Hash)>] V1beta1RoleBinding data, response status code and response headers def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -236,7 +258,9 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -267,29 +291,31 @@ def create_namespaced_role_binding_with_http_info(namespace, body, opts = {}) # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_with_http_info(name, body, opts) + def delete_cluster_role(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_with_http_info(name, opts) return data end # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_with_http_info(name, body, opts = {}) + def delete_cluster_role_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1beta1Api.delete_cluster_role ..." end @@ -297,16 +323,13 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1beta1Api.delete_cluster_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1beta1Api.delete_cluster_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -322,7 +345,7 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -340,29 +363,31 @@ def delete_cluster_role_with_http_info(name, body, opts = {}) # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_cluster_role_binding(name, body, opts = {}) - data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, body, opts) + def delete_cluster_role_binding(name, opts = {}) + data, _status_code, _headers = delete_cluster_role_binding_with_http_info(name, opts) return data end # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_cluster_role_binding_with_http_info(name, body, opts = {}) + def delete_cluster_role_binding_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1beta1Api.delete_cluster_role_binding ..." end @@ -370,16 +395,13 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling RbacAuthorizationV1beta1Api.delete_cluster_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1beta1Api.delete_cluster_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -395,7 +417,7 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -413,14 +435,14 @@ def delete_cluster_role_binding_with_http_info(name, body, opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role(opts = {}) @@ -431,14 +453,14 @@ def delete_collection_cluster_role(opts = {}) # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_with_http_info(opts = {}) @@ -450,10 +472,10 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -489,14 +511,14 @@ def delete_collection_cluster_role_with_http_info(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_cluster_role_binding(opts = {}) @@ -507,14 +529,14 @@ def delete_collection_cluster_role_binding(opts = {}) # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_cluster_role_binding_with_http_info(opts = {}) @@ -526,10 +548,10 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -566,14 +588,14 @@ def delete_collection_cluster_role_binding_with_http_info(opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role(namespace, opts = {}) @@ -585,14 +607,14 @@ def delete_collection_namespaced_role(namespace, opts = {}) # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) @@ -608,10 +630,10 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -648,14 +670,14 @@ def delete_collection_namespaced_role_with_http_info(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_role_binding(namespace, opts = {}) @@ -667,14 +689,14 @@ def delete_collection_namespaced_role_binding(namespace, opts = {}) # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -690,10 +712,10 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -730,15 +752,16 @@ def delete_collection_namespaced_role_binding_with_http_info(namespace, opts = { # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, body, opts) + def delete_namespaced_role(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_with_http_info(name, namespace, opts) return data end @@ -746,14 +769,15 @@ def delete_namespaced_role(name, namespace, body, opts = {}) # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1beta1Api.delete_namespaced_role ..." end @@ -765,16 +789,13 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1beta1Api.delete_namespaced_role" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1beta1Api.delete_namespaced_role" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -790,7 +811,7 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -809,15 +830,16 @@ def delete_namespaced_role_with_http_info(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_role_binding(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, body, opts) + def delete_namespaced_role_binding(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_role_binding_with_http_info(name, namespace, opts) return data end @@ -825,14 +847,15 @@ def delete_namespaced_role_binding(name, namespace, body, opts = {}) # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_role_binding_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: RbacAuthorizationV1beta1Api.delete_namespaced_role_binding ..." end @@ -844,16 +867,13 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling RbacAuthorizationV1beta1Api.delete_namespaced_role_binding" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling RbacAuthorizationV1beta1Api.delete_namespaced_role_binding" - end # resource path local_var_path = "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -869,7 +889,7 @@ def delete_namespaced_role_binding_with_http_info(name, namespace, body, opts = form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -936,14 +956,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ClusterRoleList] def list_cluster_role(opts = {}) @@ -954,14 +974,14 @@ def list_cluster_role(opts = {}) # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ClusterRoleList, Fixnum, Hash)>] V1beta1ClusterRoleList data, response status code and response headers def list_cluster_role_with_http_info(opts = {}) @@ -973,10 +993,10 @@ def list_cluster_role_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1012,14 +1032,14 @@ def list_cluster_role_with_http_info(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ClusterRoleBindingList] def list_cluster_role_binding(opts = {}) @@ -1030,14 +1050,14 @@ def list_cluster_role_binding(opts = {}) # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1ClusterRoleBindingList, Fixnum, Hash)>] V1beta1ClusterRoleBindingList data, response status code and response headers def list_cluster_role_binding_with_http_info(opts = {}) @@ -1049,10 +1069,10 @@ def list_cluster_role_binding_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1089,14 +1109,14 @@ def list_cluster_role_binding_with_http_info(opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleList] def list_namespaced_role(namespace, opts = {}) @@ -1108,14 +1128,14 @@ def list_namespaced_role(namespace, opts = {}) # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1RoleList, Fixnum, Hash)>] V1beta1RoleList data, response status code and response headers def list_namespaced_role_with_http_info(namespace, opts = {}) @@ -1131,10 +1151,10 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1171,14 +1191,14 @@ def list_namespaced_role_with_http_info(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleBindingList] def list_namespaced_role_binding(namespace, opts = {}) @@ -1190,14 +1210,14 @@ def list_namespaced_role_binding(namespace, opts = {}) # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1RoleBindingList, Fixnum, Hash)>] V1beta1RoleBindingList data, response status code and response headers def list_namespaced_role_binding_with_http_info(namespace, opts = {}) @@ -1213,10 +1233,10 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -1252,14 +1272,14 @@ def list_namespaced_role_binding_with_http_info(namespace, opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleBindingList] def list_role_binding_for_all_namespaces(opts = {}) @@ -1270,14 +1290,14 @@ def list_role_binding_for_all_namespaces(opts = {}) # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1RoleBindingList, Fixnum, Hash)>] V1beta1RoleBindingList data, response status code and response headers def list_role_binding_for_all_namespaces_with_http_info(opts = {}) @@ -1328,14 +1348,14 @@ def list_role_binding_for_all_namespaces_with_http_info(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleList] def list_role_for_all_namespaces(opts = {}) @@ -1346,14 +1366,14 @@ def list_role_for_all_namespaces(opts = {}) # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1RoleList, Fixnum, Hash)>] V1beta1RoleList data, response status code and response headers def list_role_for_all_namespaces_with_http_info(opts = {}) @@ -1407,6 +1427,7 @@ def list_role_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] def patch_cluster_role(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_with_http_info(name, body, opts) @@ -1419,6 +1440,7 @@ def patch_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRole, Fixnum, Hash)>] V1beta1ClusterRole data, response status code and response headers def patch_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1438,6 +1460,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1471,6 +1494,7 @@ def patch_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] def patch_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = patch_cluster_role_binding_with_http_info(name, body, opts) @@ -1483,6 +1507,7 @@ def patch_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRoleBinding, Fixnum, Hash)>] V1beta1ClusterRoleBinding data, response status code and response headers def patch_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1502,6 +1527,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1536,6 +1562,7 @@ def patch_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] def patch_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_with_http_info(name, namespace, body, opts) @@ -1549,6 +1576,7 @@ def patch_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Role, Fixnum, Hash)>] V1beta1Role data, response status code and response headers def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1572,6 +1600,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1606,6 +1635,7 @@ def patch_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] def patch_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -1619,6 +1649,7 @@ def patch_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1RoleBinding, Fixnum, Hash)>] V1beta1RoleBinding data, response status code and response headers def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -1642,6 +1673,7 @@ def patch_namespaced_role_binding_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1919,6 +1951,7 @@ def read_namespaced_role_binding_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] def replace_cluster_role(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_with_http_info(name, body, opts) @@ -1931,6 +1964,7 @@ def replace_cluster_role(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRole, Fixnum, Hash)>] V1beta1ClusterRole data, response status code and response headers def replace_cluster_role_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -1950,6 +1984,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -1983,6 +2018,7 @@ def replace_cluster_role_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] def replace_cluster_role_binding(name, body, opts = {}) data, _status_code, _headers = replace_cluster_role_binding_with_http_info(name, body, opts) @@ -1995,6 +2031,7 @@ def replace_cluster_role_binding(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1ClusterRoleBinding, Fixnum, Hash)>] V1beta1ClusterRoleBinding data, response status code and response headers def replace_cluster_role_binding_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -2014,6 +2051,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2048,6 +2086,7 @@ def replace_cluster_role_binding_with_http_info(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] def replace_namespaced_role(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_with_http_info(name, namespace, body, opts) @@ -2061,6 +2100,7 @@ def replace_namespaced_role(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1Role, Fixnum, Hash)>] V1beta1Role data, response status code and response headers def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2084,6 +2124,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -2118,6 +2159,7 @@ def replace_namespaced_role_with_http_info(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] def replace_namespaced_role_binding(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_role_binding_with_http_info(name, namespace, body, opts) @@ -2131,6 +2173,7 @@ def replace_namespaced_role_binding(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1RoleBinding, Fixnum, Hash)>] V1beta1RoleBinding data, response status code and response headers def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -2154,6 +2197,7 @@ def replace_namespaced_role_binding_with_http_info(name, namespace, body, opts = # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/scheduling_api.rb b/kubernetes/lib/kubernetes/api/scheduling_api.rb index 9fad07c5..befafa36 100644 --- a/kubernetes/lib/kubernetes/api/scheduling_api.rb +++ b/kubernetes/lib/kubernetes/api/scheduling_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/scheduling_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/scheduling_v1alpha1_api.rb index 7480e87c..d22c6b2c 100644 --- a/kubernetes/lib/kubernetes/api/scheduling_v1alpha1_api.rb +++ b/kubernetes/lib/kubernetes/api/scheduling_v1alpha1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a PriorityClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] def create_priority_class(body, opts = {}) data, _status_code, _headers = create_priority_class_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_priority_class(body, opts = {}) # create a PriorityClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers def create_priority_class_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_priority_class_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -81,14 +87,14 @@ def create_priority_class_with_http_info(body, opts = {}) # # delete collection of PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_priority_class(opts = {}) @@ -99,14 +105,14 @@ def delete_collection_priority_class(opts = {}) # # delete collection of PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_priority_class_with_http_info(opts = {}) @@ -118,10 +124,10 @@ def delete_collection_priority_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -157,29 +163,31 @@ def delete_collection_priority_class_with_http_info(opts = {}) # # delete a PriorityClass # @param name name of the PriorityClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_priority_class(name, body, opts = {}) - data, _status_code, _headers = delete_priority_class_with_http_info(name, body, opts) + def delete_priority_class(name, opts = {}) + data, _status_code, _headers = delete_priority_class_with_http_info(name, opts) return data end # # delete a PriorityClass # @param name name of the PriorityClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_priority_class_with_http_info(name, body, opts = {}) + def delete_priority_class_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SchedulingV1alpha1Api.delete_priority_class ..." end @@ -187,16 +195,13 @@ def delete_priority_class_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling SchedulingV1alpha1Api.delete_priority_class" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling SchedulingV1alpha1Api.delete_priority_class" - end # resource path local_var_path = "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -212,7 +217,7 @@ def delete_priority_class_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -279,14 +284,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PriorityClassList] def list_priority_class(opts = {}) @@ -297,14 +302,14 @@ def list_priority_class(opts = {}) # # list or watch objects of kind PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1PriorityClassList, Fixnum, Hash)>] V1alpha1PriorityClassList data, response status code and response headers def list_priority_class_with_http_info(opts = {}) @@ -316,10 +321,10 @@ def list_priority_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -358,6 +363,7 @@ def list_priority_class_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] def patch_priority_class(name, body, opts = {}) data, _status_code, _headers = patch_priority_class_with_http_info(name, body, opts) @@ -370,6 +376,7 @@ def patch_priority_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers def patch_priority_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +396,7 @@ def patch_priority_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -486,6 +494,7 @@ def read_priority_class_with_http_info(name, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] def replace_priority_class(name, body, opts = {}) data, _status_code, _headers = replace_priority_class_with_http_info(name, body, opts) @@ -498,6 +507,7 @@ def replace_priority_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PriorityClass, Fixnum, Hash)>] V1alpha1PriorityClass data, response status code and response headers def replace_priority_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +527,7 @@ def replace_priority_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/scheduling_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/scheduling_v1beta1_api.rb new file mode 100644 index 00000000..edb7455b --- /dev/null +++ b/kubernetes/lib/kubernetes/api/scheduling_v1beta1_api.rb @@ -0,0 +1,558 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class SchedulingV1beta1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + def create_priority_class(body, opts = {}) + data, _status_code, _headers = create_priority_class_with_http_info(body, opts) + return data + end + + # + # create a PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1PriorityClass, Fixnum, Hash)>] V1beta1PriorityClass data, response status code and response headers + def create_priority_class_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.create_priority_class ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling SchedulingV1beta1Api.create_priority_class" + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1PriorityClass') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#create_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_priority_class(opts = {}) + data, _status_code, _headers = delete_collection_priority_class_with_http_info(opts) + return data + end + + # + # delete collection of PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_priority_class_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.delete_collection_priority_class ..." + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#delete_collection_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_priority_class(name, opts = {}) + data, _status_code, _headers = delete_priority_class_with_http_info(name, opts) + return data + end + + # + # delete a PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_priority_class_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.delete_priority_class ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling SchedulingV1beta1Api.delete_priority_class" + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#delete_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1PriorityClassList] + def list_priority_class(opts = {}) + data, _status_code, _headers = list_priority_class_with_http_info(opts) + return data + end + + # + # list or watch objects of kind PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1PriorityClassList, Fixnum, Hash)>] V1beta1PriorityClassList data, response status code and response headers + def list_priority_class_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.list_priority_class ..." + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1PriorityClassList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#list_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + def patch_priority_class(name, body, opts = {}) + data, _status_code, _headers = patch_priority_class_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1PriorityClass, Fixnum, Hash)>] V1beta1PriorityClass data, response status code and response headers + def patch_priority_class_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.patch_priority_class ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling SchedulingV1beta1Api.patch_priority_class" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling SchedulingV1beta1Api.patch_priority_class" + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1PriorityClass') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#patch_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1PriorityClass] + def read_priority_class(name, opts = {}) + data, _status_code, _headers = read_priority_class_with_http_info(name, opts) + return data + end + + # + # read the specified PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1PriorityClass, Fixnum, Hash)>] V1beta1PriorityClass data, response status code and response headers + def read_priority_class_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.read_priority_class ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling SchedulingV1beta1Api.read_priority_class" + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1PriorityClass') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#read_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + def replace_priority_class(name, body, opts = {}) + data, _status_code, _headers = replace_priority_class_with_http_info(name, body, opts) + return data + end + + # + # replace the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1PriorityClass, Fixnum, Hash)>] V1beta1PriorityClass data, response status code and response headers + def replace_priority_class_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: SchedulingV1beta1Api.replace_priority_class ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling SchedulingV1beta1Api.replace_priority_class" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling SchedulingV1beta1Api.replace_priority_class" + end + # resource path + local_var_path = "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1PriorityClass') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: SchedulingV1beta1Api#replace_priority_class\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/settings_api.rb b/kubernetes/lib/kubernetes/api/settings_api.rb index 1ff4bfdb..ea468fdb 100644 --- a/kubernetes/lib/kubernetes/api/settings_api.rb +++ b/kubernetes/lib/kubernetes/api/settings_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/settings_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/settings_v1alpha1_api.rb index 9a801a4d..82ec9c05 100644 --- a/kubernetes/lib/kubernetes/api/settings_v1alpha1_api.rb +++ b/kubernetes/lib/kubernetes/api/settings_v1alpha1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -25,7 +25,9 @@ def initialize(api_client = ApiClient.default) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] def create_namespaced_pod_preset(namespace, body, opts = {}) data, _status_code, _headers = create_namespaced_pod_preset_with_http_info(namespace, body, opts) @@ -37,7 +39,9 @@ def create_namespaced_pod_preset(namespace, body, opts = {}) # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PodPreset, Fixnum, Hash)>] V1alpha1PodPreset data, response status code and response headers def create_namespaced_pod_preset_with_http_info(namespace, body, opts = {}) if @api_client.config.debugging @@ -56,7 +60,9 @@ def create_namespaced_pod_preset_with_http_info(namespace, body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -88,14 +94,14 @@ def create_namespaced_pod_preset_with_http_info(namespace, body, opts = {}) # delete collection of PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_namespaced_pod_preset(namespace, opts = {}) @@ -107,14 +113,14 @@ def delete_collection_namespaced_pod_preset(namespace, opts = {}) # delete collection of PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_namespaced_pod_preset_with_http_info(namespace, opts = {}) @@ -130,10 +136,10 @@ def delete_collection_namespaced_pod_preset_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -170,15 +176,16 @@ def delete_collection_namespaced_pod_preset_with_http_info(namespace, opts = {}) # delete a PodPreset # @param name name of the PodPreset # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_namespaced_pod_preset(name, namespace, body, opts = {}) - data, _status_code, _headers = delete_namespaced_pod_preset_with_http_info(name, namespace, body, opts) + def delete_namespaced_pod_preset(name, namespace, opts = {}) + data, _status_code, _headers = delete_namespaced_pod_preset_with_http_info(name, namespace, opts) return data end @@ -186,14 +193,15 @@ def delete_namespaced_pod_preset(name, namespace, body, opts = {}) # delete a PodPreset # @param name name of the PodPreset # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {}) + def delete_namespaced_pod_preset_with_http_info(name, namespace, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: SettingsV1alpha1Api.delete_namespaced_pod_preset ..." end @@ -205,16 +213,13 @@ def delete_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {} if @api_client.config.client_side_validation && namespace.nil? fail ArgumentError, "Missing the required parameter 'namespace' when calling SettingsV1alpha1Api.delete_namespaced_pod_preset" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling SettingsV1alpha1Api.delete_namespaced_pod_preset" - end # resource path local_var_path = "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'namespace' + '}', namespace.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -230,7 +235,7 @@ def delete_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {} form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -298,14 +303,14 @@ def get_api_resources_with_http_info(opts = {}) # list or watch objects of kind PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PodPresetList] def list_namespaced_pod_preset(namespace, opts = {}) @@ -317,14 +322,14 @@ def list_namespaced_pod_preset(namespace, opts = {}) # list or watch objects of kind PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1PodPresetList, Fixnum, Hash)>] V1alpha1PodPresetList data, response status code and response headers def list_namespaced_pod_preset_with_http_info(namespace, opts = {}) @@ -340,10 +345,10 @@ def list_namespaced_pod_preset_with_http_info(namespace, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -379,14 +384,14 @@ def list_namespaced_pod_preset_with_http_info(namespace, opts = {}) # # list or watch objects of kind PodPreset # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PodPresetList] def list_pod_preset_for_all_namespaces(opts = {}) @@ -397,14 +402,14 @@ def list_pod_preset_for_all_namespaces(opts = {}) # # list or watch objects of kind PodPreset # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1alpha1PodPresetList, Fixnum, Hash)>] V1alpha1PodPresetList data, response status code and response headers def list_pod_preset_for_all_namespaces_with_http_info(opts = {}) @@ -459,6 +464,7 @@ def list_pod_preset_for_all_namespaces_with_http_info(opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] def patch_namespaced_pod_preset(name, namespace, body, opts = {}) data, _status_code, _headers = patch_namespaced_pod_preset_with_http_info(name, namespace, body, opts) @@ -472,6 +478,7 @@ def patch_namespaced_pod_preset(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PodPreset, Fixnum, Hash)>] V1alpha1PodPreset data, response status code and response headers def patch_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -495,6 +502,7 @@ def patch_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -599,6 +607,7 @@ def read_namespaced_pod_preset_with_http_info(name, namespace, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] def replace_namespaced_pod_preset(name, namespace, body, opts = {}) data, _status_code, _headers = replace_namespaced_pod_preset_with_http_info(name, namespace, body, opts) @@ -612,6 +621,7 @@ def replace_namespaced_pod_preset(name, namespace, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1alpha1PodPreset, Fixnum, Hash)>] V1alpha1PodPreset data, response status code and response headers def replace_namespaced_pod_preset_with_http_info(name, namespace, body, opts = {}) if @api_client.config.debugging @@ -635,6 +645,7 @@ def replace_namespaced_pod_preset_with_http_info(name, namespace, body, opts = { # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} diff --git a/kubernetes/lib/kubernetes/api/storage_api.rb b/kubernetes/lib/kubernetes/api/storage_api.rb index 8d013954..38403da4 100644 --- a/kubernetes/lib/kubernetes/api/storage_api.rb +++ b/kubernetes/lib/kubernetes/api/storage_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api/storage_v1_api.rb b/kubernetes/lib/kubernetes/api/storage_v1_api.rb index 6b88b3f4..18a0f14e 100644 --- a/kubernetes/lib/kubernetes/api/storage_v1_api.rb +++ b/kubernetes/lib/kubernetes/api/storage_v1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] def create_storage_class(body, opts = {}) data, _status_code, _headers = create_storage_class_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_storage_class(body, opts = {}) # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1StorageClass, Fixnum, Hash)>] V1StorageClass data, response status code and response headers def create_storage_class_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_storage_class_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -78,17 +84,81 @@ def create_storage_class_with_http_info(body, opts = {}) return data, status_code, headers end + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + def create_volume_attachment(body, opts = {}) + data, _status_code, _headers = create_volume_attachment_with_http_info(body, opts) + return data + end + + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def create_volume_attachment_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.create_volume_attachment ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.create_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#create_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_storage_class(opts = {}) @@ -99,14 +169,14 @@ def delete_collection_storage_class(opts = {}) # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_storage_class_with_http_info(opts = {}) @@ -118,10 +188,10 @@ def delete_collection_storage_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -154,32 +224,110 @@ def delete_collection_storage_class_with_http_info(opts = {}) return data, status_code, headers end + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_volume_attachment(opts = {}) + data, _status_code, _headers = delete_collection_volume_attachment_with_http_info(opts) + return data + end + + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.delete_collection_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#delete_collection_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_storage_class(name, body, opts = {}) - data, _status_code, _headers = delete_storage_class_with_http_info(name, body, opts) + def delete_storage_class(name, opts = {}) + data, _status_code, _headers = delete_storage_class_with_http_info(name, opts) return data end # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_storage_class_with_http_info(name, body, opts = {}) + def delete_storage_class_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: StorageV1Api.delete_storage_class ..." end @@ -187,16 +335,13 @@ def delete_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.delete_storage_class" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.delete_storage_class" - end # resource path local_var_path = "/apis/storage.k8s.io/v1/storageclasses/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -212,7 +357,7 @@ def delete_storage_class_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -227,6 +372,78 @@ def delete_storage_class_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_volume_attachment(name, opts = {}) + data, _status_code, _headers = delete_volume_attachment_with_http_info(name, opts) + return data + end + + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.delete_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.delete_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#delete_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # get available resources # @param [Hash] opts the optional parameters @@ -279,14 +496,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1StorageClassList] def list_storage_class(opts = {}) @@ -297,14 +514,14 @@ def list_storage_class(opts = {}) # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1StorageClassList, Fixnum, Hash)>] V1StorageClassList data, response status code and response headers def list_storage_class_with_http_info(opts = {}) @@ -316,10 +533,10 @@ def list_storage_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -352,12 +569,89 @@ def list_storage_class_with_http_info(opts = {}) return data, status_code, headers end + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1VolumeAttachmentList] + def list_volume_attachment(opts = {}) + data, _status_code, _headers = list_volume_attachment_with_http_info(opts) + return data + end + + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1VolumeAttachmentList, Fixnum, Hash)>] V1VolumeAttachmentList data, response status code and response headers + def list_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.list_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachmentList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#list_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # partially update the specified StorageClass # @param name name of the StorageClass # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] def patch_storage_class(name, body, opts = {}) data, _status_code, _headers = patch_storage_class_with_http_info(name, body, opts) @@ -370,6 +664,7 @@ def patch_storage_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1StorageClass, Fixnum, Hash)>] V1StorageClass data, response status code and response headers def patch_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +684,7 @@ def patch_storage_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -417,15 +713,149 @@ def patch_storage_class_with_http_info(name, body, opts = {}) end # - # read the specified StorageClass - # @param name name of the StorageClass + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1StorageClass] - def read_storage_class(name, opts = {}) - data, _status_code, _headers = read_storage_class_with_http_info(name, opts) + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + def patch_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = patch_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def patch_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.patch_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.patch_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.patch_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#patch_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + def patch_volume_attachment_status(name, body, opts = {}) + data, _status_code, _headers = patch_volume_attachment_status_with_http_info(name, body, opts) + return data + end + + # + # partially update status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def patch_volume_attachment_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.patch_volume_attachment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.patch_volume_attachment_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.patch_volume_attachment_status" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#patch_volume_attachment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified StorageClass + # @param name name of the StorageClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1StorageClass] + def read_storage_class(name, opts = {}) + data, _status_code, _headers = read_storage_class_with_http_info(name, opts) return data end @@ -480,12 +910,135 @@ def read_storage_class_with_http_info(name, opts = {}) return data, status_code, headers end + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1VolumeAttachment] + def read_volume_attachment(name, opts = {}) + data, _status_code, _headers = read_volume_attachment_with_http_info(name, opts) + return data + end + + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def read_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.read_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.read_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#read_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1VolumeAttachment] + def read_volume_attachment_status(name, opts = {}) + data, _status_code, _headers = read_volume_attachment_status_with_http_info(name, opts) + return data + end + + # + # read status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def read_volume_attachment_status_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.read_volume_attachment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.read_volume_attachment_status" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#read_volume_attachment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified StorageClass # @param name name of the StorageClass # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] def replace_storage_class(name, body, opts = {}) data, _status_code, _headers = replace_storage_class_with_http_info(name, body, opts) @@ -498,6 +1051,7 @@ def replace_storage_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1StorageClass, Fixnum, Hash)>] V1StorageClass data, response status code and response headers def replace_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +1071,7 @@ def replace_storage_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -543,5 +1098,139 @@ def replace_storage_class_with_http_info(name, body, opts = {}) end return data, status_code, headers end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + def replace_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = replace_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def replace_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.replace_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.replace_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.replace_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#replace_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + def replace_volume_attachment_status(name, body, opts = {}) + data, _status_code, _headers = replace_volume_attachment_status_with_http_info(name, body, opts) + return data + end + + # + # replace status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1VolumeAttachment, Fixnum, Hash)>] V1VolumeAttachment data, response status code and response headers + def replace_volume_attachment_status_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1Api.replace_volume_attachment_status ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1Api.replace_volume_attachment_status" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1Api.replace_volume_attachment_status" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1/volumeattachments/{name}/status".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1Api#replace_volume_attachment_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end end end diff --git a/kubernetes/lib/kubernetes/api/storage_v1alpha1_api.rb b/kubernetes/lib/kubernetes/api/storage_v1alpha1_api.rb new file mode 100644 index 00000000..ec1bad64 --- /dev/null +++ b/kubernetes/lib/kubernetes/api/storage_v1alpha1_api.rb @@ -0,0 +1,558 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require "uri" + +module Kubernetes + class StorageV1alpha1Api + attr_accessor :api_client + + def initialize(api_client = ApiClient.default) + @api_client = api_client + end + + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + def create_volume_attachment(body, opts = {}) + data, _status_code, _headers = create_volume_attachment_with_http_info(body, opts) + return data + end + + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1VolumeAttachment, Fixnum, Hash)>] V1alpha1VolumeAttachment data, response status code and response headers + def create_volume_attachment_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.create_volume_attachment ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1alpha1Api.create_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#create_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_volume_attachment(opts = {}) + data, _status_code, _headers = delete_collection_volume_attachment_with_http_info(opts) + return data + end + + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.delete_collection_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#delete_collection_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_volume_attachment(name, opts = {}) + data, _status_code, _headers = delete_volume_attachment_with_http_info(name, opts) + return data + end + + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.delete_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1alpha1Api.delete_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#delete_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + def get_api_resources(opts = {}) + data, _status_code, _headers = get_api_resources_with_http_info(opts) + return data + end + + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [Array<(V1APIResourceList, Fixnum, Hash)>] V1APIResourceList data, response status code and response headers + def get_api_resources_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.get_api_resources ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/" + + # query parameters + query_params = {} + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1APIResourceList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#get_api_resources\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1alpha1VolumeAttachmentList] + def list_volume_attachment(opts = {}) + data, _status_code, _headers = list_volume_attachment_with_http_info(opts) + return data + end + + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1alpha1VolumeAttachmentList, Fixnum, Hash)>] V1alpha1VolumeAttachmentList data, response status code and response headers + def list_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.list_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1VolumeAttachmentList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#list_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + def patch_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = patch_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1VolumeAttachment, Fixnum, Hash)>] V1alpha1VolumeAttachment data, response status code and response headers + def patch_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.patch_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1alpha1Api.patch_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1alpha1Api.patch_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#patch_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1alpha1VolumeAttachment] + def read_volume_attachment(name, opts = {}) + data, _status_code, _headers = read_volume_attachment_with_http_info(name, opts) + return data + end + + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1alpha1VolumeAttachment, Fixnum, Hash)>] V1alpha1VolumeAttachment data, response status code and response headers + def read_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.read_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1alpha1Api.read_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#read_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + def replace_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = replace_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1alpha1VolumeAttachment, Fixnum, Hash)>] V1alpha1VolumeAttachment data, response status code and response headers + def replace_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1alpha1Api.replace_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1alpha1Api.replace_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1alpha1Api.replace_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1alpha1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1alpha1Api#replace_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + end +end diff --git a/kubernetes/lib/kubernetes/api/storage_v1beta1_api.rb b/kubernetes/lib/kubernetes/api/storage_v1beta1_api.rb index 0bb0b55e..f73f45ef 100644 --- a/kubernetes/lib/kubernetes/api/storage_v1beta1_api.rb +++ b/kubernetes/lib/kubernetes/api/storage_v1beta1_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,9 @@ def initialize(api_client = ApiClient.default) # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] def create_storage_class(body, opts = {}) data, _status_code, _headers = create_storage_class_with_http_info(body, opts) @@ -35,7 +37,9 @@ def create_storage_class(body, opts = {}) # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StorageClass, Fixnum, Hash)>] V1beta1StorageClass data, response status code and response headers def create_storage_class_with_http_info(body, opts = {}) if @api_client.config.debugging @@ -50,7 +54,9 @@ def create_storage_class_with_http_info(body, opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -78,17 +84,81 @@ def create_storage_class_with_http_info(body, opts = {}) return data, status_code, headers end + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + def create_volume_attachment(body, opts = {}) + data, _status_code, _headers = create_volume_attachment_with_http_info(body, opts) + return data + end + + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1VolumeAttachment, Fixnum, Hash)>] V1beta1VolumeAttachment data, response status code and response headers + def create_volume_attachment_with_http_info(body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.create_volume_attachment ..." + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1beta1Api.create_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:POST, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#create_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] def delete_collection_storage_class(opts = {}) @@ -99,14 +169,14 @@ def delete_collection_storage_class(opts = {}) # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers def delete_collection_storage_class_with_http_info(opts = {}) @@ -118,10 +188,10 @@ def delete_collection_storage_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -154,32 +224,110 @@ def delete_collection_storage_class_with_http_info(opts = {}) return data, status_code, headers end + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + def delete_collection_volume_attachment(opts = {}) + data, _status_code, _headers = delete_collection_volume_attachment_with_http_info(opts) + return data + end + + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_collection_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.delete_collection_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#delete_collection_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] - def delete_storage_class(name, body, opts = {}) - data, _status_code, _headers = delete_storage_class_with_http_info(name, body, opts) + def delete_storage_class(name, opts = {}) + data, _status_code, _headers = delete_storage_class_with_http_info(name, opts) return data end # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers - def delete_storage_class_with_http_info(name, body, opts = {}) + def delete_storage_class_with_http_info(name, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: StorageV1beta1Api.delete_storage_class ..." end @@ -187,16 +335,13 @@ def delete_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.client_side_validation && name.nil? fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1beta1Api.delete_storage_class" end - # verify the required parameter 'body' is set - if @api_client.config.client_side_validation && body.nil? - fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1beta1Api.delete_storage_class" - end # resource path local_var_path = "/apis/storage.k8s.io/v1beta1/storageclasses/{name}".sub('{' + 'name' + '}', name.to_s) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? @@ -212,7 +357,7 @@ def delete_storage_class_with_http_info(name, body, opts = {}) form_params = {} # http body (model) - post_body = @api_client.object_to_http_body(body) + post_body = @api_client.object_to_http_body(opts[:'body']) auth_names = ['BearerToken'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, @@ -227,6 +372,78 @@ def delete_storage_class_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + def delete_volume_attachment(name, opts = {}) + data, _status_code, _headers = delete_volume_attachment_with_http_info(name, opts) + return data + end + + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [Array<(V1Status, Fixnum, Hash)>] V1Status data, response status code and response headers + def delete_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.delete_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1beta1Api.delete_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + query_params[:'gracePeriodSeconds'] = opts[:'grace_period_seconds'] if !opts[:'grace_period_seconds'].nil? + query_params[:'orphanDependents'] = opts[:'orphan_dependents'] if !opts[:'orphan_dependents'].nil? + query_params[:'propagationPolicy'] = opts[:'propagation_policy'] if !opts[:'propagation_policy'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(opts[:'body']) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1Status') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#delete_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # get available resources # @param [Hash] opts the optional parameters @@ -279,14 +496,14 @@ def get_api_resources_with_http_info(opts = {}) # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StorageClassList] def list_storage_class(opts = {}) @@ -297,14 +514,14 @@ def list_storage_class(opts = {}) # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [Array<(V1beta1StorageClassList, Fixnum, Hash)>] V1beta1StorageClassList data, response status code and response headers def list_storage_class_with_http_info(opts = {}) @@ -316,10 +533,10 @@ def list_storage_class_with_http_info(opts = {}) # query parameters query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? - query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? @@ -352,12 +569,89 @@ def list_storage_class_with_http_info(opts = {}) return data, status_code, headers end + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1VolumeAttachmentList] + def list_volume_attachment(opts = {}) + data, _status_code, _headers = list_volume_attachment_with_http_info(opts) + return data + end + + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [Array<(V1beta1VolumeAttachmentList, Fixnum, Hash)>] V1beta1VolumeAttachmentList data, response status code and response headers + def list_volume_attachment_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.list_volume_attachment ..." + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments" + + # query parameters + query_params = {} + query_params[:'includeUninitialized'] = opts[:'include_uninitialized'] if !opts[:'include_uninitialized'].nil? + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'continue'] = opts[:'continue'] if !opts[:'continue'].nil? + query_params[:'fieldSelector'] = opts[:'field_selector'] if !opts[:'field_selector'].nil? + query_params[:'labelSelector'] = opts[:'label_selector'] if !opts[:'label_selector'].nil? + query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? + query_params[:'resourceVersion'] = opts[:'resource_version'] if !opts[:'resource_version'].nil? + query_params[:'timeoutSeconds'] = opts[:'timeout_seconds'] if !opts[:'timeout_seconds'].nil? + query_params[:'watch'] = opts[:'watch'] if !opts[:'watch'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1VolumeAttachmentList') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#list_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # partially update the specified StorageClass # @param name name of the StorageClass # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] def patch_storage_class(name, body, opts = {}) data, _status_code, _headers = patch_storage_class_with_http_info(name, body, opts) @@ -370,6 +664,7 @@ def patch_storage_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StorageClass, Fixnum, Hash)>] V1beta1StorageClass data, response status code and response headers def patch_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -389,6 +684,7 @@ def patch_storage_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -416,6 +712,73 @@ def patch_storage_class_with_http_info(name, body, opts = {}) return data, status_code, headers end + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + def patch_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = patch_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1VolumeAttachment, Fixnum, Hash)>] V1beta1VolumeAttachment data, response status code and response headers + def patch_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.patch_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1beta1Api.patch_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1beta1Api.patch_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#patch_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # read the specified StorageClass # @param name name of the StorageClass @@ -480,12 +843,77 @@ def read_storage_class_with_http_info(name, opts = {}) return data, status_code, headers end + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1VolumeAttachment] + def read_volume_attachment(name, opts = {}) + data, _status_code, _headers = read_volume_attachment_with_http_info(name, opts) + return data + end + + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [Array<(V1beta1VolumeAttachment, Fixnum, Hash)>] V1beta1VolumeAttachment data, response status code and response headers + def read_volume_attachment_with_http_info(name, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.read_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1beta1Api.read_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'exact'] = opts[:'exact'] if !opts[:'exact'].nil? + query_params[:'export'] = opts[:'export'] if !opts[:'export'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = nil + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:GET, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#read_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # # replace the specified StorageClass # @param name name of the StorageClass # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] def replace_storage_class(name, body, opts = {}) data, _status_code, _headers = replace_storage_class_with_http_info(name, body, opts) @@ -498,6 +926,7 @@ def replace_storage_class(name, body, opts = {}) # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [Array<(V1beta1StorageClass, Fixnum, Hash)>] V1beta1StorageClass data, response status code and response headers def replace_storage_class_with_http_info(name, body, opts = {}) if @api_client.config.debugging @@ -517,6 +946,7 @@ def replace_storage_class_with_http_info(name, body, opts = {}) # query parameters query_params = {} query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? # header parameters header_params = {} @@ -543,5 +973,72 @@ def replace_storage_class_with_http_info(name, body, opts = {}) end return data, status_code, headers end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + def replace_volume_attachment(name, body, opts = {}) + data, _status_code, _headers = replace_volume_attachment_with_http_info(name, body, opts) + return data + end + + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [Array<(V1beta1VolumeAttachment, Fixnum, Hash)>] V1beta1VolumeAttachment data, response status code and response headers + def replace_volume_attachment_with_http_info(name, body, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug "Calling API: StorageV1beta1Api.replace_volume_attachment ..." + end + # verify the required parameter 'name' is set + if @api_client.config.client_side_validation && name.nil? + fail ArgumentError, "Missing the required parameter 'name' when calling StorageV1beta1Api.replace_volume_attachment" + end + # verify the required parameter 'body' is set + if @api_client.config.client_side_validation && body.nil? + fail ArgumentError, "Missing the required parameter 'body' when calling StorageV1beta1Api.replace_volume_attachment" + end + # resource path + local_var_path = "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}".sub('{' + 'name' + '}', name.to_s) + + # query parameters + query_params = {} + query_params[:'pretty'] = opts[:'pretty'] if !opts[:'pretty'].nil? + query_params[:'dryRun'] = opts[:'dry_run'] if !opts[:'dry_run'].nil? + + # header parameters + header_params = {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) + # HTTP header 'Content-Type' + header_params['Content-Type'] = @api_client.select_header_content_type(['*/*']) + + # form parameters + form_params = {} + + # http body (model) + post_body = @api_client.object_to_http_body(body) + auth_names = ['BearerToken'] + data, status_code, headers = @api_client.call_api(:PUT, local_var_path, + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => 'V1beta1VolumeAttachment') + if @api_client.config.debugging + @api_client.config.logger.debug "API called: StorageV1beta1Api#replace_volume_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end end end diff --git a/kubernetes/lib/kubernetes/api/version_api.rb b/kubernetes/lib/kubernetes/api/version_api.rb index ec85ccf7..e8508e66 100644 --- a/kubernetes/lib/kubernetes/api/version_api.rb +++ b/kubernetes/lib/kubernetes/api/version_api.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api_client.rb b/kubernetes/lib/kubernetes/api_client.rb index a0c7f718..b3aaa38d 100644 --- a/kubernetes/lib/kubernetes/api_client.rb +++ b/kubernetes/lib/kubernetes/api_client.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/api_error.rb b/kubernetes/lib/kubernetes/api_error.rb index a2ba8218..3dd78815 100644 --- a/kubernetes/lib/kubernetes/api_error.rb +++ b/kubernetes/lib/kubernetes/api_error.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/configuration.rb b/kubernetes/lib/kubernetes/configuration.rb index a9871c5c..1b59a3ee 100644 --- a/kubernetes/lib/kubernetes/configuration.rb +++ b/kubernetes/lib/kubernetes/configuration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb b/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb new file mode 100644 index 00000000..eabc1d32 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_service_reference.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ServiceReference holds a reference to Service.legacy.k8s.io + class AdmissionregistrationV1beta1ServiceReference + # `name` is the name of the service. Required + attr_accessor :name + + # `namespace` is the namespace of the service. Required + attr_accessor :namespace + + # `path` is an optional URL path which will be sent in any request to this service. + attr_accessor :path + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'namespace' => :'namespace', + :'path' => :'path' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'namespace' => :'String', + :'path' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'namespace') + self.namespace = attributes[:'namespace'] + end + + if attributes.has_key?(:'path') + self.path = attributes[:'path'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @namespace.nil? + invalid_properties.push("invalid value for 'namespace', namespace cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @namespace.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + namespace == o.namespace && + path == o.path + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, namespace, path].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb b/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb new file mode 100644 index 00000000..2228bb30 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/admissionregistration_v1beta1_webhook_client_config.rb @@ -0,0 +1,225 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # WebhookClientConfig contains the information to make a TLS connection with the webhook + class AdmissionregistrationV1beta1WebhookClientConfig + # `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + attr_accessor :ca_bundle + + # `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + attr_accessor :service + + # `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + attr_accessor :url + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ca_bundle' => :'caBundle', + :'service' => :'service', + :'url' => :'url' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ca_bundle' => :'String', + :'service' => :'AdmissionregistrationV1beta1ServiceReference', + :'url' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'caBundle') + self.ca_bundle = attributes[:'caBundle'] + end + + if attributes.has_key?(:'service') + self.service = attributes[:'service'] + end + + if attributes.has_key?(:'url') + self.url = attributes[:'url'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + invalid_properties.push("invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + return true + end + + # Custom attribute writer method with validation + # @param [Object] ca_bundle Value to be assigned + def ca_bundle=(ca_bundle) + + if !ca_bundle.nil? && ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + fail ArgumentError, "invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." + end + + @ca_bundle = ca_bundle + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ca_bundle == o.ca_bundle && + service == o.service && + url == o.url + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ca_bundle, service, url].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb b/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb new file mode 100644 index 00000000..aeb7a974 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_service_reference.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ServiceReference holds a reference to Service.legacy.k8s.io + class ApiextensionsV1beta1ServiceReference + # `name` is the name of the service. Required + attr_accessor :name + + # `namespace` is the namespace of the service. Required + attr_accessor :namespace + + # `path` is an optional URL path which will be sent in any request to this service. + attr_accessor :path + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'namespace' => :'namespace', + :'path' => :'path' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'namespace' => :'String', + :'path' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'namespace') + self.namespace = attributes[:'namespace'] + end + + if attributes.has_key?(:'path') + self.path = attributes[:'path'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @namespace.nil? + invalid_properties.push("invalid value for 'namespace', namespace cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @namespace.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + namespace == o.namespace && + path == o.path + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, namespace, path].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb b/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb new file mode 100644 index 00000000..d6c3ed39 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/apiextensions_v1beta1_webhook_client_config.rb @@ -0,0 +1,225 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # WebhookClientConfig contains the information to make a TLS connection with the webhook. It has the same field as admissionregistration.v1beta1.WebhookClientConfig. + class ApiextensionsV1beta1WebhookClientConfig + # `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. + attr_accessor :ca_bundle + + # `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. + attr_accessor :service + + # `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + attr_accessor :url + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ca_bundle' => :'caBundle', + :'service' => :'service', + :'url' => :'url' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ca_bundle' => :'String', + :'service' => :'ApiextensionsV1beta1ServiceReference', + :'url' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'caBundle') + self.ca_bundle = attributes[:'caBundle'] + end + + if attributes.has_key?(:'service') + self.service = attributes[:'service'] + end + + if attributes.has_key?(:'url') + self.url = attributes[:'url'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + invalid_properties.push("invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + return true + end + + # Custom attribute writer method with validation + # @param [Object] ca_bundle Value to be assigned + def ca_bundle=(ca_bundle) + + if !ca_bundle.nil? && ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + fail ArgumentError, "invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." + end + + @ca_bundle = ca_bundle + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ca_bundle == o.ca_bundle && + service == o.service && + url == o.url + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ca_bundle, service, url].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_allowed_host_path.rb b/kubernetes/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb similarity index 87% rename from kubernetes/lib/kubernetes/models/v1beta1_allowed_host_path.rb rename to kubernetes/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb index 24b20a75..8db8699b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_allowed_host_path.rb +++ b/kubernetes/lib/kubernetes/models/apiregistration_v1beta1_service_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,23 +13,28 @@ require 'date' module Kubernetes - # defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. - class V1beta1AllowedHostPath - # is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` - attr_accessor :path_prefix + # ServiceReference holds a reference to Service.legacy.k8s.io + class ApiregistrationV1beta1ServiceReference + # Name is the name of the service + attr_accessor :name + + # Namespace is the namespace of the service + attr_accessor :namespace # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'path_prefix' => :'pathPrefix' + :'name' => :'name', + :'namespace' => :'namespace' } end # Attribute type mapping. def self.swagger_types { - :'path_prefix' => :'String' + :'name' => :'String', + :'namespace' => :'String' } end @@ -41,8 +46,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'pathPrefix') - self.path_prefix = attributes[:'pathPrefix'] + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'namespace') + self.namespace = attributes[:'namespace'] end end @@ -65,7 +74,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - path_prefix == o.path_prefix + name == o.name && + namespace == o.namespace end # @see the `==` method @@ -77,7 +87,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [path_prefix].hash + [name, namespace].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment.rb index e20e4e99..62eab9d2 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb index de0bc852..91e23736 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_list.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_list.rb index 6891e89e..9805c425 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_list.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb index 0d608758..4217c446 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_rollback.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb index dee7b04c..9180150a 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_status.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_status.rb index cb0f9c58..a1fcad72 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_status.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb index b162e59b..6942b493 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_deployment_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_rollback_config.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_rollback_config.rb index cb957990..985364cf 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_rollback_config.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_rollback_config.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb index 408cb86c..48c2fc9b 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_rolling_update_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,10 +15,10 @@ module Kubernetes # Spec to control the desired behavior of rolling update. class AppsV1beta1RollingUpdateDeployment - # The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + # The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. attr_accessor :max_surge - # The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + # The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. attr_accessor :max_unavailable diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale.rb index 2858b217..cca236de 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_spec.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_spec.rb index a6c730ae..3c27607d 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_spec.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_status.rb b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_status.rb index 3c319dc4..0267d5cf 100644 --- a/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_status.rb +++ b/kubernetes/lib/kubernetes/models/apps_v1beta1_scale_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb new file mode 100644 index 00000000..23a0e654 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_flex_volume.rb @@ -0,0 +1,194 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead. + class ExtensionsV1beta1AllowedFlexVolume + # driver is the name of the Flexvolume driver. + attr_accessor :driver + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'driver' => :'driver' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'driver' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'driver') + self.driver = attributes[:'driver'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @driver.nil? + invalid_properties.push("invalid value for 'driver', driver cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @driver.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + driver == o.driver + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [driver].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb new file mode 100644 index 00000000..7f5c0bcf --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_allowed_host_path.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead. + class ExtensionsV1beta1AllowedHostPath + # pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + attr_accessor :path_prefix + + # when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + attr_accessor :read_only + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'path_prefix' => :'pathPrefix', + :'read_only' => :'readOnly' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'path_prefix' => :'String', + :'read_only' => :'BOOLEAN' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'pathPrefix') + self.path_prefix = attributes[:'pathPrefix'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + path_prefix == o.path_prefix && + read_only == o.read_only + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [path_prefix, read_only].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment.rb index 4fb6345c..7cea231c 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb index 77e7180f..d22c0a84 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb index 869098c4..ecb5c231 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb index 3db2b405..ea0a3707 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_rollback.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb index 0b2bcdf6..51617364 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,13 +21,13 @@ class ExtensionsV1beta1DeploymentSpec # Indicates that the deployment is paused and will not be processed by the deployment controller. attr_accessor :paused - # The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. + # The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\". attr_accessor :progress_deadline_seconds # Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. attr_accessor :replicas - # The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. + # The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\". attr_accessor :revision_history_limit # DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done. diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb index 3fd33b73..13f16589 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb index 78e8c297..a4e464c4 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_deployment_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb new file mode 100644 index 00000000..3bec3b9a --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_fs_group_strategy_options.rb @@ -0,0 +1,201 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead. + class ExtensionsV1beta1FSGroupStrategyOptions + # ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. + attr_accessor :ranges + + # rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + attr_accessor :rule + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ranges' => :'ranges', + :'rule' => :'rule' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ranges' => :'Array', + :'rule' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'ranges') + if (value = attributes[:'ranges']).is_a?(Array) + self.ranges = value + end + end + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ranges == o.ranges && + rule == o.rule + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ranges, rule].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb new file mode 100644 index 00000000..9be7a0cf --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_host_port_range.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead. + class ExtensionsV1beta1HostPortRange + # max is the end of the range, inclusive. + attr_accessor :max + + # min is the start of the range, inclusive. + attr_accessor :min + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'max' => :'max', + :'min' => :'min' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'max' => :'Integer', + :'min' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'max') + self.max = attributes[:'max'] + end + + if attributes.has_key?(:'min') + self.min = attributes[:'min'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @max.nil? + invalid_properties.push("invalid value for 'max', max cannot be nil.") + end + + if @min.nil? + invalid_properties.push("invalid value for 'min', min cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @max.nil? + return false if @min.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + max == o.max && + min == o.min + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [max, min].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_host_port_range.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_id_range.rb similarity index 96% rename from kubernetes/lib/kubernetes/models/v1beta1_host_port_range.rb rename to kubernetes/lib/kubernetes/models/extensions_v1beta1_id_range.rb index 50e807d0..0628fa36 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_host_port_range.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_id_range.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,8 +13,8 @@ require 'date' module Kubernetes - # Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. - class V1beta1HostPortRange + # IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead. + class ExtensionsV1beta1IDRange # max is the end of the range, inclusive. attr_accessor :max diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb new file mode 100644 index 00000000..6dc613ea --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead. + class ExtensionsV1beta1PodSecurityPolicy + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # spec defines the policy enforced. + attr_accessor :spec + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'ExtensionsV1beta1PodSecurityPolicySpec' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb new file mode 100644 index 00000000..21576520 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead. + class ExtensionsV1beta1PodSecurityPolicyList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # items is a list of schema objects. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb new file mode 100644 index 00000000..fd8f876f --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_pod_security_policy_spec.rb @@ -0,0 +1,439 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead. + class ExtensionsV1beta1PodSecurityPolicySpec + # allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + attr_accessor :allow_privilege_escalation + + # allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. + attr_accessor :allowed_capabilities + + # allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. + attr_accessor :allowed_flex_volumes + + # allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. + attr_accessor :allowed_host_paths + + # AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. + attr_accessor :allowed_proc_mount_types + + # allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + attr_accessor :allowed_unsafe_sysctls + + # defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. + attr_accessor :default_add_capabilities + + # defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + attr_accessor :default_allow_privilege_escalation + + # forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + attr_accessor :forbidden_sysctls + + # fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. + attr_accessor :fs_group + + # hostIPC determines if the policy allows the use of HostIPC in the pod spec. + attr_accessor :host_ipc + + # hostNetwork determines if the policy allows the use of HostNetwork in the pod spec. + attr_accessor :host_network + + # hostPID determines if the policy allows the use of HostPID in the pod spec. + attr_accessor :host_pid + + # hostPorts determines which host port ranges are allowed to be exposed. + attr_accessor :host_ports + + # privileged determines if a pod can request to be run as privileged. + attr_accessor :privileged + + # readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + attr_accessor :read_only_root_filesystem + + # requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + attr_accessor :required_drop_capabilities + + # RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + attr_accessor :run_as_group + + # runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. + attr_accessor :run_as_user + + # seLinux is the strategy that will dictate the allowable labels that may be set. + attr_accessor :se_linux + + # supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + attr_accessor :supplemental_groups + + # volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. + attr_accessor :volumes + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'allow_privilege_escalation' => :'allowPrivilegeEscalation', + :'allowed_capabilities' => :'allowedCapabilities', + :'allowed_flex_volumes' => :'allowedFlexVolumes', + :'allowed_host_paths' => :'allowedHostPaths', + :'allowed_proc_mount_types' => :'allowedProcMountTypes', + :'allowed_unsafe_sysctls' => :'allowedUnsafeSysctls', + :'default_add_capabilities' => :'defaultAddCapabilities', + :'default_allow_privilege_escalation' => :'defaultAllowPrivilegeEscalation', + :'forbidden_sysctls' => :'forbiddenSysctls', + :'fs_group' => :'fsGroup', + :'host_ipc' => :'hostIPC', + :'host_network' => :'hostNetwork', + :'host_pid' => :'hostPID', + :'host_ports' => :'hostPorts', + :'privileged' => :'privileged', + :'read_only_root_filesystem' => :'readOnlyRootFilesystem', + :'required_drop_capabilities' => :'requiredDropCapabilities', + :'run_as_group' => :'runAsGroup', + :'run_as_user' => :'runAsUser', + :'se_linux' => :'seLinux', + :'supplemental_groups' => :'supplementalGroups', + :'volumes' => :'volumes' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'allow_privilege_escalation' => :'BOOLEAN', + :'allowed_capabilities' => :'Array', + :'allowed_flex_volumes' => :'Array', + :'allowed_host_paths' => :'Array', + :'allowed_proc_mount_types' => :'Array', + :'allowed_unsafe_sysctls' => :'Array', + :'default_add_capabilities' => :'Array', + :'default_allow_privilege_escalation' => :'BOOLEAN', + :'forbidden_sysctls' => :'Array', + :'fs_group' => :'ExtensionsV1beta1FSGroupStrategyOptions', + :'host_ipc' => :'BOOLEAN', + :'host_network' => :'BOOLEAN', + :'host_pid' => :'BOOLEAN', + :'host_ports' => :'Array', + :'privileged' => :'BOOLEAN', + :'read_only_root_filesystem' => :'BOOLEAN', + :'required_drop_capabilities' => :'Array', + :'run_as_group' => :'ExtensionsV1beta1RunAsGroupStrategyOptions', + :'run_as_user' => :'ExtensionsV1beta1RunAsUserStrategyOptions', + :'se_linux' => :'ExtensionsV1beta1SELinuxStrategyOptions', + :'supplemental_groups' => :'ExtensionsV1beta1SupplementalGroupsStrategyOptions', + :'volumes' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'allowPrivilegeEscalation') + self.allow_privilege_escalation = attributes[:'allowPrivilegeEscalation'] + end + + if attributes.has_key?(:'allowedCapabilities') + if (value = attributes[:'allowedCapabilities']).is_a?(Array) + self.allowed_capabilities = value + end + end + + if attributes.has_key?(:'allowedFlexVolumes') + if (value = attributes[:'allowedFlexVolumes']).is_a?(Array) + self.allowed_flex_volumes = value + end + end + + if attributes.has_key?(:'allowedHostPaths') + if (value = attributes[:'allowedHostPaths']).is_a?(Array) + self.allowed_host_paths = value + end + end + + if attributes.has_key?(:'allowedProcMountTypes') + if (value = attributes[:'allowedProcMountTypes']).is_a?(Array) + self.allowed_proc_mount_types = value + end + end + + if attributes.has_key?(:'allowedUnsafeSysctls') + if (value = attributes[:'allowedUnsafeSysctls']).is_a?(Array) + self.allowed_unsafe_sysctls = value + end + end + + if attributes.has_key?(:'defaultAddCapabilities') + if (value = attributes[:'defaultAddCapabilities']).is_a?(Array) + self.default_add_capabilities = value + end + end + + if attributes.has_key?(:'defaultAllowPrivilegeEscalation') + self.default_allow_privilege_escalation = attributes[:'defaultAllowPrivilegeEscalation'] + end + + if attributes.has_key?(:'forbiddenSysctls') + if (value = attributes[:'forbiddenSysctls']).is_a?(Array) + self.forbidden_sysctls = value + end + end + + if attributes.has_key?(:'fsGroup') + self.fs_group = attributes[:'fsGroup'] + end + + if attributes.has_key?(:'hostIPC') + self.host_ipc = attributes[:'hostIPC'] + end + + if attributes.has_key?(:'hostNetwork') + self.host_network = attributes[:'hostNetwork'] + end + + if attributes.has_key?(:'hostPID') + self.host_pid = attributes[:'hostPID'] + end + + if attributes.has_key?(:'hostPorts') + if (value = attributes[:'hostPorts']).is_a?(Array) + self.host_ports = value + end + end + + if attributes.has_key?(:'privileged') + self.privileged = attributes[:'privileged'] + end + + if attributes.has_key?(:'readOnlyRootFilesystem') + self.read_only_root_filesystem = attributes[:'readOnlyRootFilesystem'] + end + + if attributes.has_key?(:'requiredDropCapabilities') + if (value = attributes[:'requiredDropCapabilities']).is_a?(Array) + self.required_drop_capabilities = value + end + end + + if attributes.has_key?(:'runAsGroup') + self.run_as_group = attributes[:'runAsGroup'] + end + + if attributes.has_key?(:'runAsUser') + self.run_as_user = attributes[:'runAsUser'] + end + + if attributes.has_key?(:'seLinux') + self.se_linux = attributes[:'seLinux'] + end + + if attributes.has_key?(:'supplementalGroups') + self.supplemental_groups = attributes[:'supplementalGroups'] + end + + if attributes.has_key?(:'volumes') + if (value = attributes[:'volumes']).is_a?(Array) + self.volumes = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @fs_group.nil? + invalid_properties.push("invalid value for 'fs_group', fs_group cannot be nil.") + end + + if @run_as_user.nil? + invalid_properties.push("invalid value for 'run_as_user', run_as_user cannot be nil.") + end + + if @se_linux.nil? + invalid_properties.push("invalid value for 'se_linux', se_linux cannot be nil.") + end + + if @supplemental_groups.nil? + invalid_properties.push("invalid value for 'supplemental_groups', supplemental_groups cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @fs_group.nil? + return false if @run_as_user.nil? + return false if @se_linux.nil? + return false if @supplemental_groups.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + allow_privilege_escalation == o.allow_privilege_escalation && + allowed_capabilities == o.allowed_capabilities && + allowed_flex_volumes == o.allowed_flex_volumes && + allowed_host_paths == o.allowed_host_paths && + allowed_proc_mount_types == o.allowed_proc_mount_types && + allowed_unsafe_sysctls == o.allowed_unsafe_sysctls && + default_add_capabilities == o.default_add_capabilities && + default_allow_privilege_escalation == o.default_allow_privilege_escalation && + forbidden_sysctls == o.forbidden_sysctls && + fs_group == o.fs_group && + host_ipc == o.host_ipc && + host_network == o.host_network && + host_pid == o.host_pid && + host_ports == o.host_ports && + privileged == o.privileged && + read_only_root_filesystem == o.read_only_root_filesystem && + required_drop_capabilities == o.required_drop_capabilities && + run_as_group == o.run_as_group && + run_as_user == o.run_as_user && + se_linux == o.se_linux && + supplemental_groups == o.supplemental_groups && + volumes == o.volumes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [allow_privilege_escalation, allowed_capabilities, allowed_flex_volumes, allowed_host_paths, allowed_proc_mount_types, allowed_unsafe_sysctls, default_add_capabilities, default_allow_privilege_escalation, forbidden_sysctls, fs_group, host_ipc, host_network, host_pid, host_ports, privileged, read_only_root_filesystem, required_drop_capabilities, run_as_group, run_as_user, se_linux, supplemental_groups, volumes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb index fdb68eff..a3ad70ee 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_rollback_config.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb index 62f9e146..6e7ce01a 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_rolling_update_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb new file mode 100644 index 00000000..9960e50b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_group_strategy_options.rb @@ -0,0 +1,206 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead. + class ExtensionsV1beta1RunAsGroupStrategyOptions + # ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + attr_accessor :ranges + + # rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + attr_accessor :rule + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ranges' => :'ranges', + :'rule' => :'rule' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ranges' => :'Array', + :'rule' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'ranges') + if (value = attributes[:'ranges']).is_a?(Array) + self.ranges = value + end + end + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @rule.nil? + invalid_properties.push("invalid value for 'rule', rule cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @rule.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ranges == o.ranges && + rule == o.rule + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ranges, rule].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb new file mode 100644 index 00000000..a8edd321 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_run_as_user_strategy_options.rb @@ -0,0 +1,206 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead. + class ExtensionsV1beta1RunAsUserStrategyOptions + # ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. + attr_accessor :ranges + + # rule is the strategy that will dictate the allowable RunAsUser values that may be set. + attr_accessor :rule + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ranges' => :'ranges', + :'rule' => :'rule' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ranges' => :'Array', + :'rule' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'ranges') + if (value = attributes[:'ranges']).is_a?(Array) + self.ranges = value + end + end + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @rule.nil? + invalid_properties.push("invalid value for 'rule', rule cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @rule.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ranges == o.ranges && + rule == o.rule + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ranges, rule].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale.rb index 41476fb8..51c04b8d 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb index f202ade6..b09e76b5 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_status.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_status.rb index 74fa49ae..1a1d361a 100644 --- a/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_status.rb +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_scale_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb new file mode 100644 index 00000000..f5f4857b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_se_linux_strategy_options.rb @@ -0,0 +1,204 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead. + class ExtensionsV1beta1SELinuxStrategyOptions + # rule is the strategy that will dictate the allowable labels that may be set. + attr_accessor :rule + + # seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ + attr_accessor :se_linux_options + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'rule' => :'rule', + :'se_linux_options' => :'seLinuxOptions' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'rule' => :'String', + :'se_linux_options' => :'V1SELinuxOptions' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + if attributes.has_key?(:'seLinuxOptions') + self.se_linux_options = attributes[:'seLinuxOptions'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @rule.nil? + invalid_properties.push("invalid value for 'rule', rule cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @rule.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + rule == o.rule && + se_linux_options == o.se_linux_options + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [rule, se_linux_options].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb b/kubernetes/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb new file mode 100644 index 00000000..809d08d1 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/extensions_v1beta1_supplemental_groups_strategy_options.rb @@ -0,0 +1,201 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead. + class ExtensionsV1beta1SupplementalGroupsStrategyOptions + # ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. + attr_accessor :ranges + + # rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + attr_accessor :rule + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ranges' => :'ranges', + :'rule' => :'rule' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ranges' => :'Array', + :'rule' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'ranges') + if (value = attributes[:'ranges']).is_a?(Array) + self.ranges = value + end + end + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ranges == o.ranges && + rule == o.rule + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ranges, rule].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb new file mode 100644 index 00000000..55cf8d33 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_flex_volume.rb @@ -0,0 +1,194 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AllowedFlexVolume represents a single Flexvolume that is allowed to be used. + class PolicyV1beta1AllowedFlexVolume + # driver is the name of the Flexvolume driver. + attr_accessor :driver + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'driver' => :'driver' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'driver' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'driver') + self.driver = attributes[:'driver'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @driver.nil? + invalid_properties.push("invalid value for 'driver', driver cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @driver.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + driver == o.driver + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [driver].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb new file mode 100644 index 00000000..c2217c07 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_allowed_host_path.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. + class PolicyV1beta1AllowedHostPath + # pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo` + attr_accessor :path_prefix + + # when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. + attr_accessor :read_only + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'path_prefix' => :'pathPrefix', + :'read_only' => :'readOnly' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'path_prefix' => :'String', + :'read_only' => :'BOOLEAN' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'pathPrefix') + self.path_prefix = attributes[:'pathPrefix'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + path_prefix == o.path_prefix && + read_only == o.read_only + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [path_prefix, read_only].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_fs_group_strategy_options.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb similarity index 94% rename from kubernetes/lib/kubernetes/models/v1beta1_fs_group_strategy_options.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb index e63af084..658b513d 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_fs_group_strategy_options.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_fs_group_strategy_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,11 +14,11 @@ module Kubernetes # FSGroupStrategyOptions defines the strategy type and options used to create the strategy. - class V1beta1FSGroupStrategyOptions - # Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. + class PolicyV1beta1FSGroupStrategyOptions + # ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs. attr_accessor :ranges - # Rule is the strategy that will dictate what FSGroup is used in the SecurityContext. + # rule is the strategy that will dictate what FSGroup is used in the SecurityContext. attr_accessor :rule @@ -33,7 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { - :'ranges' => :'Array', + :'ranges' => :'Array', :'rule' => :'String' } end diff --git a/kubernetes/lib/kubernetes/models/policy_v1beta1_host_port_range.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_host_port_range.rb new file mode 100644 index 00000000..230820b7 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_host_port_range.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. + class PolicyV1beta1HostPortRange + # max is the end of the range, inclusive. + attr_accessor :max + + # min is the start of the range, inclusive. + attr_accessor :min + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'max' => :'max', + :'min' => :'min' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'max' => :'Integer', + :'min' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'max') + self.max = attributes[:'max'] + end + + if attributes.has_key?(:'min') + self.min = attributes[:'min'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @max.nil? + invalid_properties.push("invalid value for 'max', max cannot be nil.") + end + + if @min.nil? + invalid_properties.push("invalid value for 'min', min cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @max.nil? + return false if @min.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + max == o.max && + min == o.min + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [max, min].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_id_range.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_id_range.rb similarity index 96% rename from kubernetes/lib/kubernetes/models/v1beta1_id_range.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_id_range.rb index be97ae57..26c17052 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_id_range.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_id_range.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,12 +13,12 @@ require 'date' module Kubernetes - # ID Range provides a min/max of an allowed range of IDs. - class V1beta1IDRange - # Max is the end of the range, inclusive. + # IDRange provides a min/max of an allowed range of IDs. + class PolicyV1beta1IDRange + # max is the end of the range, inclusive. attr_accessor :max - # Min is the start of the range, inclusive. + # min is the start of the range, inclusive. attr_accessor :min diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb similarity index 96% rename from kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb index 00838ca6..e92fdf24 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,8 +13,8 @@ require 'date' module Kubernetes - # Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. - class V1beta1PodSecurityPolicy + # PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. + class PolicyV1beta1PodSecurityPolicy # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -44,7 +44,7 @@ def self.swagger_types :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', - :'spec' => :'V1beta1PodSecurityPolicySpec' + :'spec' => :'PolicyV1beta1PodSecurityPolicySpec' } end diff --git a/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb new file mode 100644 index 00000000..9b87cc18 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodSecurityPolicyList is a list of PodSecurityPolicy objects. + class PolicyV1beta1PodSecurityPolicyList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # items is a list of schema objects. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_spec.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb similarity index 69% rename from kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_spec.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb index fa6cc48a..ec1bd056 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_spec.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_pod_security_policy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,24 +13,36 @@ require 'date' module Kubernetes - # Pod Security Policy Spec defines the policy enforced. - class V1beta1PodSecurityPolicySpec - # AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. + # PodSecurityPolicySpec defines the policy enforced. + class PolicyV1beta1PodSecurityPolicySpec + # allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true. attr_accessor :allow_privilege_escalation - # AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities. + # allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities. attr_accessor :allowed_capabilities - # is a white list of allowed host paths. Empty indicates that all host paths may be used. + # allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field. + attr_accessor :allowed_flex_volumes + + # allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used. attr_accessor :allowed_host_paths - # DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities. + # AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled. + attr_accessor :allowed_proc_mount_types + + # allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection. Examples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc. + attr_accessor :allowed_unsafe_sysctls + + # defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list. attr_accessor :default_add_capabilities - # DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. + # defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process. attr_accessor :default_allow_privilege_escalation - # FSGroup is the strategy that will dictate what fs group is used by the SecurityContext. + # forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden. Examples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc. + attr_accessor :forbidden_sysctls + + # fsGroup is the strategy that will dictate what fs group is used by the SecurityContext. attr_accessor :fs_group # hostIPC determines if the policy allows the use of HostIPC in the pod spec. @@ -48,22 +60,25 @@ class V1beta1PodSecurityPolicySpec # privileged determines if a pod can request to be run as privileged. attr_accessor :privileged - # ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. + # readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to. attr_accessor :read_only_root_filesystem - # RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. + # requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added. attr_accessor :required_drop_capabilities + # RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled. + attr_accessor :run_as_group + # runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set. attr_accessor :run_as_user # seLinux is the strategy that will dictate the allowable labels that may be set. attr_accessor :se_linux - # SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. + # supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext. attr_accessor :supplemental_groups - # volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used. + # volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'. attr_accessor :volumes @@ -72,9 +87,13 @@ def self.attribute_map { :'allow_privilege_escalation' => :'allowPrivilegeEscalation', :'allowed_capabilities' => :'allowedCapabilities', + :'allowed_flex_volumes' => :'allowedFlexVolumes', :'allowed_host_paths' => :'allowedHostPaths', + :'allowed_proc_mount_types' => :'allowedProcMountTypes', + :'allowed_unsafe_sysctls' => :'allowedUnsafeSysctls', :'default_add_capabilities' => :'defaultAddCapabilities', :'default_allow_privilege_escalation' => :'defaultAllowPrivilegeEscalation', + :'forbidden_sysctls' => :'forbiddenSysctls', :'fs_group' => :'fsGroup', :'host_ipc' => :'hostIPC', :'host_network' => :'hostNetwork', @@ -83,6 +102,7 @@ def self.attribute_map :'privileged' => :'privileged', :'read_only_root_filesystem' => :'readOnlyRootFilesystem', :'required_drop_capabilities' => :'requiredDropCapabilities', + :'run_as_group' => :'runAsGroup', :'run_as_user' => :'runAsUser', :'se_linux' => :'seLinux', :'supplemental_groups' => :'supplementalGroups', @@ -95,20 +115,25 @@ def self.swagger_types { :'allow_privilege_escalation' => :'BOOLEAN', :'allowed_capabilities' => :'Array', - :'allowed_host_paths' => :'Array', + :'allowed_flex_volumes' => :'Array', + :'allowed_host_paths' => :'Array', + :'allowed_proc_mount_types' => :'Array', + :'allowed_unsafe_sysctls' => :'Array', :'default_add_capabilities' => :'Array', :'default_allow_privilege_escalation' => :'BOOLEAN', - :'fs_group' => :'V1beta1FSGroupStrategyOptions', + :'forbidden_sysctls' => :'Array', + :'fs_group' => :'PolicyV1beta1FSGroupStrategyOptions', :'host_ipc' => :'BOOLEAN', :'host_network' => :'BOOLEAN', :'host_pid' => :'BOOLEAN', - :'host_ports' => :'Array', + :'host_ports' => :'Array', :'privileged' => :'BOOLEAN', :'read_only_root_filesystem' => :'BOOLEAN', :'required_drop_capabilities' => :'Array', - :'run_as_user' => :'V1beta1RunAsUserStrategyOptions', - :'se_linux' => :'V1beta1SELinuxStrategyOptions', - :'supplemental_groups' => :'V1beta1SupplementalGroupsStrategyOptions', + :'run_as_group' => :'PolicyV1beta1RunAsGroupStrategyOptions', + :'run_as_user' => :'PolicyV1beta1RunAsUserStrategyOptions', + :'se_linux' => :'PolicyV1beta1SELinuxStrategyOptions', + :'supplemental_groups' => :'PolicyV1beta1SupplementalGroupsStrategyOptions', :'volumes' => :'Array' } end @@ -131,12 +156,30 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'allowedFlexVolumes') + if (value = attributes[:'allowedFlexVolumes']).is_a?(Array) + self.allowed_flex_volumes = value + end + end + if attributes.has_key?(:'allowedHostPaths') if (value = attributes[:'allowedHostPaths']).is_a?(Array) self.allowed_host_paths = value end end + if attributes.has_key?(:'allowedProcMountTypes') + if (value = attributes[:'allowedProcMountTypes']).is_a?(Array) + self.allowed_proc_mount_types = value + end + end + + if attributes.has_key?(:'allowedUnsafeSysctls') + if (value = attributes[:'allowedUnsafeSysctls']).is_a?(Array) + self.allowed_unsafe_sysctls = value + end + end + if attributes.has_key?(:'defaultAddCapabilities') if (value = attributes[:'defaultAddCapabilities']).is_a?(Array) self.default_add_capabilities = value @@ -147,6 +190,12 @@ def initialize(attributes = {}) self.default_allow_privilege_escalation = attributes[:'defaultAllowPrivilegeEscalation'] end + if attributes.has_key?(:'forbiddenSysctls') + if (value = attributes[:'forbiddenSysctls']).is_a?(Array) + self.forbidden_sysctls = value + end + end + if attributes.has_key?(:'fsGroup') self.fs_group = attributes[:'fsGroup'] end @@ -183,6 +232,10 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'runAsGroup') + self.run_as_group = attributes[:'runAsGroup'] + end + if attributes.has_key?(:'runAsUser') self.run_as_user = attributes[:'runAsUser'] end @@ -243,9 +296,13 @@ def ==(o) self.class == o.class && allow_privilege_escalation == o.allow_privilege_escalation && allowed_capabilities == o.allowed_capabilities && + allowed_flex_volumes == o.allowed_flex_volumes && allowed_host_paths == o.allowed_host_paths && + allowed_proc_mount_types == o.allowed_proc_mount_types && + allowed_unsafe_sysctls == o.allowed_unsafe_sysctls && default_add_capabilities == o.default_add_capabilities && default_allow_privilege_escalation == o.default_allow_privilege_escalation && + forbidden_sysctls == o.forbidden_sysctls && fs_group == o.fs_group && host_ipc == o.host_ipc && host_network == o.host_network && @@ -254,6 +311,7 @@ def ==(o) privileged == o.privileged && read_only_root_filesystem == o.read_only_root_filesystem && required_drop_capabilities == o.required_drop_capabilities && + run_as_group == o.run_as_group && run_as_user == o.run_as_user && se_linux == o.se_linux && supplemental_groups == o.supplemental_groups && @@ -269,7 +327,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allow_privilege_escalation, allowed_capabilities, allowed_host_paths, default_add_capabilities, default_allow_privilege_escalation, fs_group, host_ipc, host_network, host_pid, host_ports, privileged, read_only_root_filesystem, required_drop_capabilities, run_as_user, se_linux, supplemental_groups, volumes].hash + [allow_privilege_escalation, allowed_capabilities, allowed_flex_volumes, allowed_host_paths, allowed_proc_mount_types, allowed_unsafe_sysctls, default_add_capabilities, default_allow_privilege_escalation, forbidden_sysctls, fs_group, host_ipc, host_network, host_pid, host_ports, privileged, read_only_root_filesystem, required_drop_capabilities, run_as_group, run_as_user, se_linux, supplemental_groups, volumes].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb new file mode 100644 index 00000000..cdc10cc3 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_group_strategy_options.rb @@ -0,0 +1,206 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. + class PolicyV1beta1RunAsGroupStrategyOptions + # ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs. + attr_accessor :ranges + + # rule is the strategy that will dictate the allowable RunAsGroup values that may be set. + attr_accessor :rule + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ranges' => :'ranges', + :'rule' => :'rule' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ranges' => :'Array', + :'rule' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'ranges') + if (value = attributes[:'ranges']).is_a?(Array) + self.ranges = value + end + end + + if attributes.has_key?(:'rule') + self.rule = attributes[:'rule'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @rule.nil? + invalid_properties.push("invalid value for 'rule', rule cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @rule.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ranges == o.ranges && + rule == o.rule + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ranges, rule].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_run_as_user_strategy_options.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb similarity index 92% rename from kubernetes/lib/kubernetes/models/v1beta1_run_as_user_strategy_options.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb index eeede147..39aef4e0 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_run_as_user_strategy_options.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_run_as_user_strategy_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,12 +13,12 @@ require 'date' module Kubernetes - # Run A sUser Strategy Options defines the strategy type and any options used to create the strategy. - class V1beta1RunAsUserStrategyOptions - # Ranges are the allowed ranges of uids that may be used. + # RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. + class PolicyV1beta1RunAsUserStrategyOptions + # ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs. attr_accessor :ranges - # Rule is the strategy that will dictate the allowable RunAsUser values that may be set. + # rule is the strategy that will dictate the allowable RunAsUser values that may be set. attr_accessor :rule @@ -33,7 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { - :'ranges' => :'Array', + :'ranges' => :'Array', :'rule' => :'String' } end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_se_linux_strategy_options.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb similarity index 94% rename from kubernetes/lib/kubernetes/models/v1beta1_se_linux_strategy_options.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb index 9bc60f79..61b0f597 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_se_linux_strategy_options.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_se_linux_strategy_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,12 +13,12 @@ require 'date' module Kubernetes - # SELinux Strategy Options defines the strategy type and any options used to create the strategy. - class V1beta1SELinuxStrategyOptions - # type is the strategy that will dictate the allowable labels that may be set. + # SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. + class PolicyV1beta1SELinuxStrategyOptions + # rule is the strategy that will dictate the allowable labels that may be set. attr_accessor :rule - # seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md + # seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ attr_accessor :se_linux_options diff --git a/kubernetes/lib/kubernetes/models/v1beta1_supplemental_groups_strategy_options.rb b/kubernetes/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb similarity index 94% rename from kubernetes/lib/kubernetes/models/v1beta1_supplemental_groups_strategy_options.rb rename to kubernetes/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb index 8e35d7dd..7ceb514f 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_supplemental_groups_strategy_options.rb +++ b/kubernetes/lib/kubernetes/models/policy_v1beta1_supplemental_groups_strategy_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,11 +14,11 @@ module Kubernetes # SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. - class V1beta1SupplementalGroupsStrategyOptions - # Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. + class PolicyV1beta1SupplementalGroupsStrategyOptions + # ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs. attr_accessor :ranges - # Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. + # rule is the strategy that will dictate what supplemental groups is used in the SecurityContext. attr_accessor :rule @@ -33,7 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { - :'ranges' => :'Array', + :'ranges' => :'Array', :'rule' => :'String' } end diff --git a/kubernetes/lib/kubernetes/models/runtime_raw_extension.rb b/kubernetes/lib/kubernetes/models/runtime_raw_extension.rb index 85283e77..172b5b5e 100644 --- a/kubernetes/lib/kubernetes/models/runtime_raw_extension.rb +++ b/kubernetes/lib/kubernetes/models/runtime_raw_extension.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_affinity.rb b/kubernetes/lib/kubernetes/models/v1_affinity.rb index 69a65533..31942f9a 100644 --- a/kubernetes/lib/kubernetes/models/v1_affinity.rb +++ b/kubernetes/lib/kubernetes/models/v1_affinity.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_aggregation_rule.rb b/kubernetes/lib/kubernetes/models/v1_aggregation_rule.rb new file mode 100644 index 00000000..0d8089c3 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_aggregation_rule.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + class V1AggregationRule + # ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added + attr_accessor :cluster_role_selectors + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'cluster_role_selectors' => :'clusterRoleSelectors' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'cluster_role_selectors' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'clusterRoleSelectors') + if (value = attributes[:'clusterRoleSelectors']).is_a?(Array) + self.cluster_role_selectors = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + cluster_role_selectors == o.cluster_role_selectors + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [cluster_role_selectors].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_group.rb b/kubernetes/lib/kubernetes/models/v1_api_group.rb index f83f07ee..1613e5a3 100644 --- a/kubernetes/lib/kubernetes/models/v1_api_group.rb +++ b/kubernetes/lib/kubernetes/models/v1_api_group.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -104,10 +104,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'name', name cannot be nil.") end - if @server_address_by_client_cid_rs.nil? - invalid_properties.push("invalid value for 'server_address_by_client_cid_rs', server_address_by_client_cid_rs cannot be nil.") - end - if @versions.nil? invalid_properties.push("invalid value for 'versions', versions cannot be nil.") end @@ -119,7 +115,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @name.nil? - return false if @server_address_by_client_cid_rs.nil? return false if @versions.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1_api_group_list.rb b/kubernetes/lib/kubernetes/models/v1_api_group_list.rb index 3906e7b5..b1bb8563 100644 --- a/kubernetes/lib/kubernetes/models/v1_api_group_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_api_group_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_api_resource.rb b/kubernetes/lib/kubernetes/models/v1_api_resource.rb index 4481a9bc..09ba0dc4 100644 --- a/kubernetes/lib/kubernetes/models/v1_api_resource.rb +++ b/kubernetes/lib/kubernetes/models/v1_api_resource.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_api_resource_list.rb b/kubernetes/lib/kubernetes/models/v1_api_resource_list.rb index 85b1e7ac..deb2ec21 100644 --- a/kubernetes/lib/kubernetes/models/v1_api_resource_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_api_resource_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_api_service.rb b/kubernetes/lib/kubernetes/models/v1_api_service.rb new file mode 100644 index 00000000..28a2d009 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_api_service.rb @@ -0,0 +1,228 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # APIService represents a server for a particular GroupVersion. Name must be \"version.group\". + class V1APIService + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + # Spec contains information for locating and communicating with a server + attr_accessor :spec + + # Status contains derived information about an API server + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1APIServiceSpec', + :'status' => :'V1APIServiceStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_service_condition.rb b/kubernetes/lib/kubernetes/models/v1_api_service_condition.rb new file mode 100644 index 00000000..3f2e8e54 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_api_service_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + + class V1APIServiceCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # Human-readable message indicating details about last transition. + attr_accessor :message + + # Unique, one-word, CamelCase reason for the condition's last transition. + attr_accessor :reason + + # Status is the status of the condition. Can be True, False, Unknown. + attr_accessor :status + + # Type is the type of the condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_service_list.rb b/kubernetes/lib/kubernetes/models/v1_api_service_list.rb new file mode 100644 index 00000000..42103d00 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_api_service_list.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # APIServiceList is a list of APIService objects. + class V1APIServiceList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_service_spec.rb b/kubernetes/lib/kubernetes/models/v1_api_service_spec.rb new file mode 100644 index 00000000..4ec92be6 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_api_service_spec.rb @@ -0,0 +1,280 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. + class V1APIServiceSpec + # CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. + attr_accessor :ca_bundle + + # Group is the API group name this server hosts + attr_accessor :group + + # GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s + attr_accessor :group_priority_minimum + + # InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. + attr_accessor :insecure_skip_tls_verify + + # Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled. + attr_accessor :service + + # Version is the API version this server hosts. For example, \"v1\" + attr_accessor :version + + # VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. + attr_accessor :version_priority + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'ca_bundle' => :'caBundle', + :'group' => :'group', + :'group_priority_minimum' => :'groupPriorityMinimum', + :'insecure_skip_tls_verify' => :'insecureSkipTLSVerify', + :'service' => :'service', + :'version' => :'version', + :'version_priority' => :'versionPriority' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'ca_bundle' => :'String', + :'group' => :'String', + :'group_priority_minimum' => :'Integer', + :'insecure_skip_tls_verify' => :'BOOLEAN', + :'service' => :'V1ServiceReference', + :'version' => :'String', + :'version_priority' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'caBundle') + self.ca_bundle = attributes[:'caBundle'] + end + + if attributes.has_key?(:'group') + self.group = attributes[:'group'] + end + + if attributes.has_key?(:'groupPriorityMinimum') + self.group_priority_minimum = attributes[:'groupPriorityMinimum'] + end + + if attributes.has_key?(:'insecureSkipTLSVerify') + self.insecure_skip_tls_verify = attributes[:'insecureSkipTLSVerify'] + end + + if attributes.has_key?(:'service') + self.service = attributes[:'service'] + end + + if attributes.has_key?(:'version') + self.version = attributes[:'version'] + end + + if attributes.has_key?(:'versionPriority') + self.version_priority = attributes[:'versionPriority'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + invalid_properties.push("invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") + end + + if @group_priority_minimum.nil? + invalid_properties.push("invalid value for 'group_priority_minimum', group_priority_minimum cannot be nil.") + end + + if @service.nil? + invalid_properties.push("invalid value for 'service', service cannot be nil.") + end + + if @version_priority.nil? + invalid_properties.push("invalid value for 'version_priority', version_priority cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + return false if @group_priority_minimum.nil? + return false if @service.nil? + return false if @version_priority.nil? + return true + end + + # Custom attribute writer method with validation + # @param [Object] ca_bundle Value to be assigned + def ca_bundle=(ca_bundle) + + if !ca_bundle.nil? && ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + fail ArgumentError, "invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." + end + + @ca_bundle = ca_bundle + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + ca_bundle == o.ca_bundle && + group == o.group && + group_priority_minimum == o.group_priority_minimum && + insecure_skip_tls_verify == o.insecure_skip_tls_verify && + service == o.service && + version == o.version && + version_priority == o.version_priority + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [ca_bundle, group, group_priority_minimum, insecure_skip_tls_verify, service, version, version_priority].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_service_status.rb b/kubernetes/lib/kubernetes/models/v1_api_service_status.rb new file mode 100644 index 00000000..013d3b39 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_api_service_status.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # APIServiceStatus contains derived information about an API server + class V1APIServiceStatus + # Current service state of apiService. + attr_accessor :conditions + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'conditions' => :'conditions' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'conditions' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + conditions == o.conditions + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [conditions].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_api_versions.rb b/kubernetes/lib/kubernetes/models/v1_api_versions.rb index 2163d24c..f7e006f9 100644 --- a/kubernetes/lib/kubernetes/models/v1_api_versions.rb +++ b/kubernetes/lib/kubernetes/models/v1_api_versions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_attached_volume.rb b/kubernetes/lib/kubernetes/models/v1_attached_volume.rb index adac30b4..94286203 100644 --- a/kubernetes/lib/kubernetes/models/v1_attached_volume.rb +++ b/kubernetes/lib/kubernetes/models/v1_attached_volume.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb index 44b1b2ac..2d2b561f 100644 --- a/kubernetes/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_aws_elastic_block_store_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_azure_disk_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_azure_disk_volume_source.rb index e1659a73..b31c7091 100644 --- a/kubernetes/lib/kubernetes/models/v1_azure_disk_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_azure_disk_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -27,7 +27,7 @@ class V1AzureDiskVolumeSource # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. attr_accessor :fs_type - # Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared + # Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared attr_accessor :kind # Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. diff --git a/kubernetes/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb index 4aa04bb9..b0cc8abd 100644 --- a/kubernetes/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_azure_file_persistent_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_azure_file_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_azure_file_volume_source.rb index e2f1886e..d5879898 100644 --- a/kubernetes/lib/kubernetes/models/v1_azure_file_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_azure_file_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_binding.rb b/kubernetes/lib/kubernetes/models/v1_binding.rb index 7b30c3c5..0317898a 100644 --- a/kubernetes/lib/kubernetes/models/v1_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_capabilities.rb b/kubernetes/lib/kubernetes/models/v1_capabilities.rb index 83611e90..4b02396b 100644 --- a/kubernetes/lib/kubernetes/models/v1_capabilities.rb +++ b/kubernetes/lib/kubernetes/models/v1_capabilities.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb index b99520d5..d99df04e 100644 --- a/kubernetes/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_ceph_fs_persistent_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_ceph_fs_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_ceph_fs_volume_source.rb index a6b3067b..3eb3a242 100644 --- a/kubernetes/lib/kubernetes/models/v1_ceph_fs_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_ceph_fs_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb new file mode 100644 index 00000000..c3f5da18 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_cinder_persistent_volume_source.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling. + class V1CinderPersistentVolumeSource + # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + attr_accessor :fs_type + + # Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + attr_accessor :read_only + + # Optional: points to a secret object containing parameters used to connect to OpenStack. + attr_accessor :secret_ref + + # volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + attr_accessor :volume_id + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'fs_type' => :'fsType', + :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef', + :'volume_id' => :'volumeID' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'fs_type' => :'String', + :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1SecretReference', + :'volume_id' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + + if attributes.has_key?(:'volumeID') + self.volume_id = attributes[:'volumeID'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @volume_id.nil? + invalid_properties.push("invalid value for 'volume_id', volume_id cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @volume_id.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + fs_type == o.fs_type && + read_only == o.read_only && + secret_ref == o.secret_ref && + volume_id == o.volume_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [fs_type, read_only, secret_ref, volume_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_cinder_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_cinder_volume_source.rb index 3ccdadcf..01c96efa 100644 --- a/kubernetes/lib/kubernetes/models/v1_cinder_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_cinder_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,6 +21,9 @@ class V1CinderVolumeSource # Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md attr_accessor :read_only + # Optional: points to a secret object containing parameters used to connect to OpenStack. + attr_accessor :secret_ref + # volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md attr_accessor :volume_id @@ -30,6 +33,7 @@ def self.attribute_map { :'fs_type' => :'fsType', :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef', :'volume_id' => :'volumeID' } end @@ -39,6 +43,7 @@ def self.swagger_types { :'fs_type' => :'String', :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1LocalObjectReference', :'volume_id' => :'String' } end @@ -59,6 +64,10 @@ def initialize(attributes = {}) self.read_only = attributes[:'readOnly'] end + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + if attributes.has_key?(:'volumeID') self.volume_id = attributes[:'volumeID'] end @@ -90,6 +99,7 @@ def ==(o) self.class == o.class && fs_type == o.fs_type && read_only == o.read_only && + secret_ref == o.secret_ref && volume_id == o.volume_id end @@ -102,7 +112,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [fs_type, read_only, volume_id].hash + [fs_type, read_only, secret_ref, volume_id].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_client_ip_config.rb b/kubernetes/lib/kubernetes/models/v1_client_ip_config.rb index 46e22f15..21226e44 100644 --- a/kubernetes/lib/kubernetes/models/v1_client_ip_config.rb +++ b/kubernetes/lib/kubernetes/models/v1_client_ip_config.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_cluster_role.rb b/kubernetes/lib/kubernetes/models/v1_cluster_role.rb index 0c9be866..fe9d21df 100644 --- a/kubernetes/lib/kubernetes/models/v1_cluster_role.rb +++ b/kubernetes/lib/kubernetes/models/v1_cluster_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. class V1ClusterRole + # AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. + attr_accessor :aggregation_rule + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -31,6 +34,7 @@ class V1ClusterRole # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'aggregation_rule' => :'aggregationRule', :'api_version' => :'apiVersion', :'kind' => :'kind', :'metadata' => :'metadata', @@ -41,6 +45,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'aggregation_rule' => :'V1AggregationRule', :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', @@ -56,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'aggregationRule') + self.aggregation_rule = attributes[:'aggregationRule'] + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -99,6 +108,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + aggregation_rule == o.aggregation_rule && api_version == o.api_version && kind == o.kind && metadata == o.metadata && @@ -114,7 +124,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, kind, metadata, rules].hash + [aggregation_rule, api_version, kind, metadata, rules].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_cluster_role_binding.rb b/kubernetes/lib/kubernetes/models/v1_cluster_role_binding.rb index 25eac032..579f5193 100644 --- a/kubernetes/lib/kubernetes/models/v1_cluster_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1_cluster_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1_cluster_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1_cluster_role_binding_list.rb index 9bf18cb5..899e5976 100644 --- a/kubernetes/lib/kubernetes/models/v1_cluster_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_cluster_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_cluster_role_list.rb b/kubernetes/lib/kubernetes/models/v1_cluster_role_list.rb index 8ccfa918..c64c1169 100644 --- a/kubernetes/lib/kubernetes/models/v1_cluster_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_cluster_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_component_condition.rb b/kubernetes/lib/kubernetes/models/v1_component_condition.rb index 5cac6073..a35f2ac0 100644 --- a/kubernetes/lib/kubernetes/models/v1_component_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_component_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_component_status.rb b/kubernetes/lib/kubernetes/models/v1_component_status.rb index 93e3e3f1..fedf95a6 100644 --- a/kubernetes/lib/kubernetes/models/v1_component_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_component_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_component_status_list.rb b/kubernetes/lib/kubernetes/models/v1_component_status_list.rb index f755b4fe..29281277 100644 --- a/kubernetes/lib/kubernetes/models/v1_component_status_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_component_status_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_config_map.rb b/kubernetes/lib/kubernetes/models/v1_config_map.rb index 858575db..ba6f13ca 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,10 @@ class V1ConfigMap # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version - # Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. + # BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. + attr_accessor :binary_data + + # Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process. attr_accessor :data # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds @@ -32,6 +35,7 @@ class V1ConfigMap def self.attribute_map { :'api_version' => :'apiVersion', + :'binary_data' => :'binaryData', :'data' => :'data', :'kind' => :'kind', :'metadata' => :'metadata' @@ -42,6 +46,7 @@ def self.attribute_map def self.swagger_types { :'api_version' => :'String', + :'binary_data' => :'Hash', :'data' => :'Hash', :'kind' => :'String', :'metadata' => :'V1ObjectMeta' @@ -60,6 +65,12 @@ def initialize(attributes = {}) self.api_version = attributes[:'apiVersion'] end + if attributes.has_key?(:'binaryData') + if (value = attributes[:'binaryData']).is_a?(Array) + self.binary_data = value + end + end + if attributes.has_key?(:'data') if (value = attributes[:'data']).is_a?(Array) self.data = value @@ -95,6 +106,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && api_version == o.api_version && + binary_data == o.binary_data && data == o.data && kind == o.kind && metadata == o.metadata @@ -109,7 +121,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, data, kind, metadata].hash + [api_version, binary_data, data, kind, metadata].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_config_map_env_source.rb b/kubernetes/lib/kubernetes/models/v1_config_map_env_source.rb index 047f6a25..ac881b63 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map_env_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_env_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_config_map_key_selector.rb b/kubernetes/lib/kubernetes/models/v1_config_map_key_selector.rb index 8b22993c..0f80787e 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map_key_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_key_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_config_map_list.rb b/kubernetes/lib/kubernetes/models/v1_config_map_list.rb index 88b3a7c1..ddfa3603 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook.rb b/kubernetes/lib/kubernetes/models/v1_config_map_node_config_source.rb similarity index 70% rename from kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook.rb rename to kubernetes/lib/kubernetes/models/v1_config_map_node_config_source.rb index 3b2132ce..531fe2f4 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_node_config_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,38 +13,43 @@ require 'date' module Kubernetes - # ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to. - class V1alpha1ExternalAdmissionHook - # ClientConfig defines how to communicate with the hook. Required - attr_accessor :client_config + # ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node. + class V1ConfigMapNodeConfigSource + # KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases. + attr_accessor :kubelet_config_key - # FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. - attr_accessor :failure_policy - - # The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + # Name is the metadata.name of the referenced ConfigMap. This field is required in all cases. attr_accessor :name - # Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. - attr_accessor :rules + # Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases. + attr_accessor :namespace + + # ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + attr_accessor :resource_version + + # UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status. + attr_accessor :uid # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'client_config' => :'clientConfig', - :'failure_policy' => :'failurePolicy', + :'kubelet_config_key' => :'kubeletConfigKey', :'name' => :'name', - :'rules' => :'rules' + :'namespace' => :'namespace', + :'resource_version' => :'resourceVersion', + :'uid' => :'uid' } end # Attribute type mapping. def self.swagger_types { - :'client_config' => :'V1alpha1AdmissionHookClientConfig', - :'failure_policy' => :'String', + :'kubelet_config_key' => :'String', :'name' => :'String', - :'rules' => :'Array' + :'namespace' => :'String', + :'resource_version' => :'String', + :'uid' => :'String' } end @@ -56,22 +61,24 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'clientConfig') - self.client_config = attributes[:'clientConfig'] - end - - if attributes.has_key?(:'failurePolicy') - self.failure_policy = attributes[:'failurePolicy'] + if attributes.has_key?(:'kubeletConfigKey') + self.kubelet_config_key = attributes[:'kubeletConfigKey'] end if attributes.has_key?(:'name') self.name = attributes[:'name'] end - if attributes.has_key?(:'rules') - if (value = attributes[:'rules']).is_a?(Array) - self.rules = value - end + if attributes.has_key?(:'namespace') + self.namespace = attributes[:'namespace'] + end + + if attributes.has_key?(:'resourceVersion') + self.resource_version = attributes[:'resourceVersion'] + end + + if attributes.has_key?(:'uid') + self.uid = attributes[:'uid'] end end @@ -80,22 +87,27 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @client_config.nil? - invalid_properties.push("invalid value for 'client_config', client_config cannot be nil.") + if @kubelet_config_key.nil? + invalid_properties.push("invalid value for 'kubelet_config_key', kubelet_config_key cannot be nil.") end if @name.nil? invalid_properties.push("invalid value for 'name', name cannot be nil.") end + if @namespace.nil? + invalid_properties.push("invalid value for 'namespace', namespace cannot be nil.") + end + return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @client_config.nil? + return false if @kubelet_config_key.nil? return false if @name.nil? + return false if @namespace.nil? return true end @@ -104,10 +116,11 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - client_config == o.client_config && - failure_policy == o.failure_policy && + kubelet_config_key == o.kubelet_config_key && name == o.name && - rules == o.rules + namespace == o.namespace && + resource_version == o.resource_version && + uid == o.uid end # @see the `==` method @@ -119,7 +132,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [client_config, failure_policy, name, rules].hash + [kubelet_config_key, name, namespace, resource_version, uid].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_config_map_projection.rb b/kubernetes/lib/kubernetes/models/v1_config_map_projection.rb index becf2b97..0fc76d5b 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map_projection.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_projection.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_config_map_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_config_map_volume_source.rb index 088d95df..833a99a6 100644 --- a/kubernetes/lib/kubernetes/models/v1_config_map_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_config_map_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_container.rb b/kubernetes/lib/kubernetes/models/v1_container.rb index ba81c102..69ff4e47 100644 --- a/kubernetes/lib/kubernetes/models/v1_container.rb +++ b/kubernetes/lib/kubernetes/models/v1_container.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -48,10 +48,10 @@ class V1Container # Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes attr_accessor :readiness_probe - # Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources + # Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ attr_accessor :resources - # Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md + # Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ attr_accessor :security_context # Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. @@ -69,6 +69,9 @@ class V1Container # Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. attr_accessor :tty + # volumeDevices is the list of block devices to be used by the container. This is a beta feature. + attr_accessor :volume_devices + # Pod volumes to mount into the container's filesystem. Cannot be updated. attr_accessor :volume_mounts @@ -97,6 +100,7 @@ def self.attribute_map :'termination_message_path' => :'terminationMessagePath', :'termination_message_policy' => :'terminationMessagePolicy', :'tty' => :'tty', + :'volume_devices' => :'volumeDevices', :'volume_mounts' => :'volumeMounts', :'working_dir' => :'workingDir' } @@ -123,6 +127,7 @@ def self.swagger_types :'termination_message_path' => :'String', :'termination_message_policy' => :'String', :'tty' => :'BOOLEAN', + :'volume_devices' => :'Array', :'volume_mounts' => :'Array', :'working_dir' => :'String' } @@ -218,6 +223,12 @@ def initialize(attributes = {}) self.tty = attributes[:'tty'] end + if attributes.has_key?(:'volumeDevices') + if (value = attributes[:'volumeDevices']).is_a?(Array) + self.volume_devices = value + end + end + if attributes.has_key?(:'volumeMounts') if (value = attributes[:'volumeMounts']).is_a?(Array) self.volume_mounts = value @@ -271,6 +282,7 @@ def ==(o) termination_message_path == o.termination_message_path && termination_message_policy == o.termination_message_policy && tty == o.tty && + volume_devices == o.volume_devices && volume_mounts == o.volume_mounts && working_dir == o.working_dir end @@ -284,7 +296,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [args, command, env, env_from, image, image_pull_policy, lifecycle, liveness_probe, name, ports, readiness_probe, resources, security_context, stdin, stdin_once, termination_message_path, termination_message_policy, tty, volume_mounts, working_dir].hash + [args, command, env, env_from, image, image_pull_policy, lifecycle, liveness_probe, name, ports, readiness_probe, resources, security_context, stdin, stdin_once, termination_message_path, termination_message_policy, tty, volume_devices, volume_mounts, working_dir].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_container_image.rb b/kubernetes/lib/kubernetes/models/v1_container_image.rb index 467d92b1..726679f3 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_image.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_image.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # Describe a container image class V1ContainerImage - # Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] + # Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"] attr_accessor :names # The size of the image in bytes. diff --git a/kubernetes/lib/kubernetes/models/v1_container_port.rb b/kubernetes/lib/kubernetes/models/v1_container_port.rb index 47110ce8..efd01d5c 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_port.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_port.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -27,7 +27,7 @@ class V1ContainerPort # If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. attr_accessor :name - # Protocol for port. Must be UDP or TCP. Defaults to \"TCP\". + # Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\". attr_accessor :protocol diff --git a/kubernetes/lib/kubernetes/models/v1_container_state.rb b/kubernetes/lib/kubernetes/models/v1_container_state.rb index e2992e9f..6a45a2ad 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_state.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_state.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_container_state_running.rb b/kubernetes/lib/kubernetes/models/v1_container_state_running.rb index c6c036aa..a514ec3c 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_state_running.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_state_running.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_container_state_terminated.rb b/kubernetes/lib/kubernetes/models/v1_container_state_terminated.rb index bc3147a1..e450bc46 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_state_terminated.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_state_terminated.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_container_state_waiting.rb b/kubernetes/lib/kubernetes/models/v1_container_state_waiting.rb index 7120438f..22ef3560 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_state_waiting.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_state_waiting.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_container_status.rb b/kubernetes/lib/kubernetes/models/v1_container_status.rb index 031f6179..fbf0c103 100644 --- a/kubernetes/lib/kubernetes/models/v1_container_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_container_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_controller_revision.rb b/kubernetes/lib/kubernetes/models/v1_controller_revision.rb new file mode 100644 index 00000000..c1602dae --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_controller_revision.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + class V1ControllerRevision + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Data is the serialized representation of the state. + attr_accessor :data + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Revision indicates the revision of the state represented by Data. + attr_accessor :revision + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'data' => :'data', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'revision' => :'revision' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'data' => :'RuntimeRawExtension', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'revision' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'data') + self.data = attributes[:'data'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'revision') + self.revision = attributes[:'revision'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @revision.nil? + invalid_properties.push("invalid value for 'revision', revision cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @revision.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + data == o.data && + kind == o.kind && + metadata == o.metadata && + revision == o.revision + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, data, kind, metadata, revision].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_controller_revision_list.rb b/kubernetes/lib/kubernetes/models/v1_controller_revision_list.rb new file mode 100644 index 00000000..873593f8 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_controller_revision_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ControllerRevisionList is a resource containing a list of ControllerRevision objects. + class V1ControllerRevisionList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is the list of ControllerRevisions + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_cross_version_object_reference.rb b/kubernetes/lib/kubernetes/models/v1_cross_version_object_reference.rb index 9547c57c..054acbb3 100644 --- a/kubernetes/lib/kubernetes/models/v1_cross_version_object_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_cross_version_object_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_csi_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_csi_persistent_volume_source.rb new file mode 100644 index 00000000..51c97a7d --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_csi_persistent_volume_source.rb @@ -0,0 +1,271 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Represents storage that is managed by an external CSI volume driver (Beta feature) + class V1CSIPersistentVolumeSource + # ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + attr_accessor :controller_publish_secret_ref + + # Driver is the name of the driver to use for this volume. Required. + attr_accessor :driver + + # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". + attr_accessor :fs_type + + # NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + attr_accessor :node_publish_secret_ref + + # NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. + attr_accessor :node_stage_secret_ref + + # Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). + attr_accessor :read_only + + # Attributes of the volume to publish. + attr_accessor :volume_attributes + + # VolumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required. + attr_accessor :volume_handle + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'controller_publish_secret_ref' => :'controllerPublishSecretRef', + :'driver' => :'driver', + :'fs_type' => :'fsType', + :'node_publish_secret_ref' => :'nodePublishSecretRef', + :'node_stage_secret_ref' => :'nodeStageSecretRef', + :'read_only' => :'readOnly', + :'volume_attributes' => :'volumeAttributes', + :'volume_handle' => :'volumeHandle' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'controller_publish_secret_ref' => :'V1SecretReference', + :'driver' => :'String', + :'fs_type' => :'String', + :'node_publish_secret_ref' => :'V1SecretReference', + :'node_stage_secret_ref' => :'V1SecretReference', + :'read_only' => :'BOOLEAN', + :'volume_attributes' => :'Hash', + :'volume_handle' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'controllerPublishSecretRef') + self.controller_publish_secret_ref = attributes[:'controllerPublishSecretRef'] + end + + if attributes.has_key?(:'driver') + self.driver = attributes[:'driver'] + end + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'nodePublishSecretRef') + self.node_publish_secret_ref = attributes[:'nodePublishSecretRef'] + end + + if attributes.has_key?(:'nodeStageSecretRef') + self.node_stage_secret_ref = attributes[:'nodeStageSecretRef'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'volumeAttributes') + if (value = attributes[:'volumeAttributes']).is_a?(Array) + self.volume_attributes = value + end + end + + if attributes.has_key?(:'volumeHandle') + self.volume_handle = attributes[:'volumeHandle'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @driver.nil? + invalid_properties.push("invalid value for 'driver', driver cannot be nil.") + end + + if @volume_handle.nil? + invalid_properties.push("invalid value for 'volume_handle', volume_handle cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @driver.nil? + return false if @volume_handle.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + controller_publish_secret_ref == o.controller_publish_secret_ref && + driver == o.driver && + fs_type == o.fs_type && + node_publish_secret_ref == o.node_publish_secret_ref && + node_stage_secret_ref == o.node_stage_secret_ref && + read_only == o.read_only && + volume_attributes == o.volume_attributes && + volume_handle == o.volume_handle + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [controller_publish_secret_ref, driver, fs_type, node_publish_secret_ref, node_stage_secret_ref, read_only, volume_attributes, volume_handle].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_endpoint.rb b/kubernetes/lib/kubernetes/models/v1_daemon_endpoint.rb index c98727f4..51a80bd5 100644 --- a/kubernetes/lib/kubernetes/models/v1_daemon_endpoint.rb +++ b/kubernetes/lib/kubernetes/models/v1_daemon_endpoint.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set.rb new file mode 100644 index 00000000..a98f0b7d --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSet represents the configuration of a daemon set. + class V1DaemonSet + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + attr_accessor :spec + + # The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1DaemonSetSpec', + :'status' => :'V1DaemonSetStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set_condition.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set_condition.rb new file mode 100644 index 00000000..1dda26f9 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetCondition describes the state of a DaemonSet at a certain point. + class V1DaemonSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of DaemonSet condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set_list.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set_list.rb new file mode 100644 index 00000000..433bc799 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetList is a collection of daemon sets. + class V1DaemonSetList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # A list of daemon sets. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set_spec.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set_spec.rb new file mode 100644 index 00000000..c84651ed --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set_spec.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetSpec is the specification of a daemon set. + class V1DaemonSetSpec + # The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready). + attr_accessor :min_ready_seconds + + # The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + attr_accessor :revision_history_limit + + # A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + attr_accessor :selector + + # An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + attr_accessor :template + + # An update strategy to replace existing DaemonSet pods with new pods. + attr_accessor :update_strategy + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'min_ready_seconds' => :'minReadySeconds', + :'revision_history_limit' => :'revisionHistoryLimit', + :'selector' => :'selector', + :'template' => :'template', + :'update_strategy' => :'updateStrategy' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'min_ready_seconds' => :'Integer', + :'revision_history_limit' => :'Integer', + :'selector' => :'V1LabelSelector', + :'template' => :'V1PodTemplateSpec', + :'update_strategy' => :'V1DaemonSetUpdateStrategy' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'minReadySeconds') + self.min_ready_seconds = attributes[:'minReadySeconds'] + end + + if attributes.has_key?(:'revisionHistoryLimit') + self.revision_history_limit = attributes[:'revisionHistoryLimit'] + end + + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + + if attributes.has_key?(:'template') + self.template = attributes[:'template'] + end + + if attributes.has_key?(:'updateStrategy') + self.update_strategy = attributes[:'updateStrategy'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + + if @template.nil? + invalid_properties.push("invalid value for 'template', template cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @selector.nil? + return false if @template.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + min_ready_seconds == o.min_ready_seconds && + revision_history_limit == o.revision_history_limit && + selector == o.selector && + template == o.template && + update_strategy == o.update_strategy + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [min_ready_seconds, revision_history_limit, selector, template, update_strategy].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set_status.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set_status.rb new file mode 100644 index 00000000..c73d5248 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set_status.rb @@ -0,0 +1,301 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetStatus represents the current status of a daemon set. + class V1DaemonSetStatus + # Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + attr_accessor :collision_count + + # Represents the latest available observations of a DaemonSet's current state. + attr_accessor :conditions + + # The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + attr_accessor :current_number_scheduled + + # The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + attr_accessor :desired_number_scheduled + + # The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds) + attr_accessor :number_available + + # The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ + attr_accessor :number_misscheduled + + # The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. + attr_accessor :number_ready + + # The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds) + attr_accessor :number_unavailable + + # The most recent generation observed by the daemon set controller. + attr_accessor :observed_generation + + # The total number of nodes that are running updated daemon pod + attr_accessor :updated_number_scheduled + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', + :'current_number_scheduled' => :'currentNumberScheduled', + :'desired_number_scheduled' => :'desiredNumberScheduled', + :'number_available' => :'numberAvailable', + :'number_misscheduled' => :'numberMisscheduled', + :'number_ready' => :'numberReady', + :'number_unavailable' => :'numberUnavailable', + :'observed_generation' => :'observedGeneration', + :'updated_number_scheduled' => :'updatedNumberScheduled' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'collision_count' => :'Integer', + :'conditions' => :'Array', + :'current_number_scheduled' => :'Integer', + :'desired_number_scheduled' => :'Integer', + :'number_available' => :'Integer', + :'number_misscheduled' => :'Integer', + :'number_ready' => :'Integer', + :'number_unavailable' => :'Integer', + :'observed_generation' => :'Integer', + :'updated_number_scheduled' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'collisionCount') + self.collision_count = attributes[:'collisionCount'] + end + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + if attributes.has_key?(:'currentNumberScheduled') + self.current_number_scheduled = attributes[:'currentNumberScheduled'] + end + + if attributes.has_key?(:'desiredNumberScheduled') + self.desired_number_scheduled = attributes[:'desiredNumberScheduled'] + end + + if attributes.has_key?(:'numberAvailable') + self.number_available = attributes[:'numberAvailable'] + end + + if attributes.has_key?(:'numberMisscheduled') + self.number_misscheduled = attributes[:'numberMisscheduled'] + end + + if attributes.has_key?(:'numberReady') + self.number_ready = attributes[:'numberReady'] + end + + if attributes.has_key?(:'numberUnavailable') + self.number_unavailable = attributes[:'numberUnavailable'] + end + + if attributes.has_key?(:'observedGeneration') + self.observed_generation = attributes[:'observedGeneration'] + end + + if attributes.has_key?(:'updatedNumberScheduled') + self.updated_number_scheduled = attributes[:'updatedNumberScheduled'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current_number_scheduled.nil? + invalid_properties.push("invalid value for 'current_number_scheduled', current_number_scheduled cannot be nil.") + end + + if @desired_number_scheduled.nil? + invalid_properties.push("invalid value for 'desired_number_scheduled', desired_number_scheduled cannot be nil.") + end + + if @number_misscheduled.nil? + invalid_properties.push("invalid value for 'number_misscheduled', number_misscheduled cannot be nil.") + end + + if @number_ready.nil? + invalid_properties.push("invalid value for 'number_ready', number_ready cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current_number_scheduled.nil? + return false if @desired_number_scheduled.nil? + return false if @number_misscheduled.nil? + return false if @number_ready.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + collision_count == o.collision_count && + conditions == o.conditions && + current_number_scheduled == o.current_number_scheduled && + desired_number_scheduled == o.desired_number_scheduled && + number_available == o.number_available && + number_misscheduled == o.number_misscheduled && + number_ready == o.number_ready && + number_unavailable == o.number_unavailable && + observed_generation == o.observed_generation && + updated_number_scheduled == o.updated_number_scheduled + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [collision_count, conditions, current_number_scheduled, desired_number_scheduled, number_available, number_misscheduled, number_ready, number_unavailable, observed_generation, updated_number_scheduled].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_daemon_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1_daemon_set_update_strategy.rb new file mode 100644 index 00000000..4575cd85 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_daemon_set_update_strategy.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. + class V1DaemonSetUpdateStrategy + # Rolling update config params. Present only if type = \"RollingUpdate\". + attr_accessor :rolling_update + + # Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'rolling_update' => :'rollingUpdate', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'rolling_update' => :'V1RollingUpdateDaemonSet', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'rollingUpdate') + self.rolling_update = attributes[:'rollingUpdate'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + rolling_update == o.rolling_update && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [rolling_update, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_delete_options.rb b/kubernetes/lib/kubernetes/models/v1_delete_options.rb index 948b5594..7c1051b1 100644 --- a/kubernetes/lib/kubernetes/models/v1_delete_options.rb +++ b/kubernetes/lib/kubernetes/models/v1_delete_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1DeleteOptions # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version + # When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + attr_accessor :dry_run + # The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. attr_accessor :grace_period_seconds @@ -30,7 +33,7 @@ class V1DeleteOptions # Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. attr_accessor :preconditions - # Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. attr_accessor :propagation_policy @@ -38,6 +41,7 @@ class V1DeleteOptions def self.attribute_map { :'api_version' => :'apiVersion', + :'dry_run' => :'dryRun', :'grace_period_seconds' => :'gracePeriodSeconds', :'kind' => :'kind', :'orphan_dependents' => :'orphanDependents', @@ -50,6 +54,7 @@ def self.attribute_map def self.swagger_types { :'api_version' => :'String', + :'dry_run' => :'Array', :'grace_period_seconds' => :'Integer', :'kind' => :'String', :'orphan_dependents' => :'BOOLEAN', @@ -70,6 +75,12 @@ def initialize(attributes = {}) self.api_version = attributes[:'apiVersion'] end + if attributes.has_key?(:'dryRun') + if (value = attributes[:'dryRun']).is_a?(Array) + self.dry_run = value + end + end + if attributes.has_key?(:'gracePeriodSeconds') self.grace_period_seconds = attributes[:'gracePeriodSeconds'] end @@ -111,6 +122,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && api_version == o.api_version && + dry_run == o.dry_run && grace_period_seconds == o.grace_period_seconds && kind == o.kind && orphan_dependents == o.orphan_dependents && @@ -127,7 +139,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, grace_period_seconds, kind, orphan_dependents, preconditions, propagation_policy].hash + [api_version, dry_run, grace_period_seconds, kind, orphan_dependents, preconditions, propagation_policy].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_deployment.rb b/kubernetes/lib/kubernetes/models/v1_deployment.rb new file mode 100644 index 00000000..d37c1e31 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Deployment enables declarative updates for Pods and ReplicaSets. + class V1Deployment + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object metadata. + attr_accessor :metadata + + # Specification of the desired behavior of the Deployment. + attr_accessor :spec + + # Most recently observed status of the Deployment. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1DeploymentSpec', + :'status' => :'V1DeploymentStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_deployment_condition.rb b/kubernetes/lib/kubernetes/models/v1_deployment_condition.rb new file mode 100644 index 00000000..867a5c7c --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment_condition.rb @@ -0,0 +1,249 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DeploymentCondition describes the state of a deployment at a certain point. + class V1DeploymentCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # The last time this condition was updated. + attr_accessor :last_update_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of deployment condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'last_update_time' => :'lastUpdateTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'last_update_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'lastUpdateTime') + self.last_update_time = attributes[:'lastUpdateTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + last_update_time == o.last_update_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, last_update_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_deployment_list.rb b/kubernetes/lib/kubernetes/models/v1_deployment_list.rb new file mode 100644 index 00000000..a99793ab --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DeploymentList is a list of Deployments. + class V1DeploymentList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is the list of Deployments. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_deployment_spec.rb b/kubernetes/lib/kubernetes/models/v1_deployment_spec.rb new file mode 100644 index 00000000..021a96ff --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment_spec.rb @@ -0,0 +1,269 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DeploymentSpec is the specification of the desired behavior of the Deployment. + class V1DeploymentSpec + # Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + attr_accessor :min_ready_seconds + + # Indicates that the deployment is paused. + attr_accessor :paused + + # The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s. + attr_accessor :progress_deadline_seconds + + # Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. + attr_accessor :replicas + + # The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. + attr_accessor :revision_history_limit + + # Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. + attr_accessor :selector + + # The deployment strategy to use to replace existing pods with new ones. + attr_accessor :strategy + + # Template describes the pods that will be created. + attr_accessor :template + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'min_ready_seconds' => :'minReadySeconds', + :'paused' => :'paused', + :'progress_deadline_seconds' => :'progressDeadlineSeconds', + :'replicas' => :'replicas', + :'revision_history_limit' => :'revisionHistoryLimit', + :'selector' => :'selector', + :'strategy' => :'strategy', + :'template' => :'template' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'min_ready_seconds' => :'Integer', + :'paused' => :'BOOLEAN', + :'progress_deadline_seconds' => :'Integer', + :'replicas' => :'Integer', + :'revision_history_limit' => :'Integer', + :'selector' => :'V1LabelSelector', + :'strategy' => :'V1DeploymentStrategy', + :'template' => :'V1PodTemplateSpec' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'minReadySeconds') + self.min_ready_seconds = attributes[:'minReadySeconds'] + end + + if attributes.has_key?(:'paused') + self.paused = attributes[:'paused'] + end + + if attributes.has_key?(:'progressDeadlineSeconds') + self.progress_deadline_seconds = attributes[:'progressDeadlineSeconds'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + if attributes.has_key?(:'revisionHistoryLimit') + self.revision_history_limit = attributes[:'revisionHistoryLimit'] + end + + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + + if attributes.has_key?(:'strategy') + self.strategy = attributes[:'strategy'] + end + + if attributes.has_key?(:'template') + self.template = attributes[:'template'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + + if @template.nil? + invalid_properties.push("invalid value for 'template', template cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @selector.nil? + return false if @template.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + min_ready_seconds == o.min_ready_seconds && + paused == o.paused && + progress_deadline_seconds == o.progress_deadline_seconds && + replicas == o.replicas && + revision_history_limit == o.revision_history_limit && + selector == o.selector && + strategy == o.strategy && + template == o.template + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [min_ready_seconds, paused, progress_deadline_seconds, replicas, revision_history_limit, selector, strategy, template].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_deployment_status.rb b/kubernetes/lib/kubernetes/models/v1_deployment_status.rb new file mode 100644 index 00000000..f5aa8e1a --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment_status.rb @@ -0,0 +1,261 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DeploymentStatus is the most recently observed status of the Deployment. + class V1DeploymentStatus + # Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. + attr_accessor :available_replicas + + # Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. + attr_accessor :collision_count + + # Represents the latest available observations of a deployment's current state. + attr_accessor :conditions + + # The generation observed by the deployment controller. + attr_accessor :observed_generation + + # Total number of ready pods targeted by this deployment. + attr_accessor :ready_replicas + + # Total number of non-terminated pods targeted by this deployment (their labels match the selector). + attr_accessor :replicas + + # Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. + attr_accessor :unavailable_replicas + + # Total number of non-terminated pods targeted by this deployment that have the desired template spec. + attr_accessor :updated_replicas + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'available_replicas' => :'availableReplicas', + :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', + :'observed_generation' => :'observedGeneration', + :'ready_replicas' => :'readyReplicas', + :'replicas' => :'replicas', + :'unavailable_replicas' => :'unavailableReplicas', + :'updated_replicas' => :'updatedReplicas' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'available_replicas' => :'Integer', + :'collision_count' => :'Integer', + :'conditions' => :'Array', + :'observed_generation' => :'Integer', + :'ready_replicas' => :'Integer', + :'replicas' => :'Integer', + :'unavailable_replicas' => :'Integer', + :'updated_replicas' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'availableReplicas') + self.available_replicas = attributes[:'availableReplicas'] + end + + if attributes.has_key?(:'collisionCount') + self.collision_count = attributes[:'collisionCount'] + end + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + if attributes.has_key?(:'observedGeneration') + self.observed_generation = attributes[:'observedGeneration'] + end + + if attributes.has_key?(:'readyReplicas') + self.ready_replicas = attributes[:'readyReplicas'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + if attributes.has_key?(:'unavailableReplicas') + self.unavailable_replicas = attributes[:'unavailableReplicas'] + end + + if attributes.has_key?(:'updatedReplicas') + self.updated_replicas = attributes[:'updatedReplicas'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + available_replicas == o.available_replicas && + collision_count == o.collision_count && + conditions == o.conditions && + observed_generation == o.observed_generation && + ready_replicas == o.ready_replicas && + replicas == o.replicas && + unavailable_replicas == o.unavailable_replicas && + updated_replicas == o.updated_replicas + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [available_replicas, collision_count, conditions, observed_generation, ready_replicas, replicas, unavailable_replicas, updated_replicas].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_deployment_strategy.rb b/kubernetes/lib/kubernetes/models/v1_deployment_strategy.rb new file mode 100644 index 00000000..284846b3 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_deployment_strategy.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DeploymentStrategy describes how to replace existing pods with new ones. + class V1DeploymentStrategy + # Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. + attr_accessor :rolling_update + + # Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'rolling_update' => :'rollingUpdate', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'rolling_update' => :'V1RollingUpdateDeployment', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'rollingUpdate') + self.rolling_update = attributes[:'rollingUpdate'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + rolling_update == o.rolling_update && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [rolling_update, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_downward_api_projection.rb b/kubernetes/lib/kubernetes/models/v1_downward_api_projection.rb index fb713e29..812e796c 100644 --- a/kubernetes/lib/kubernetes/models/v1_downward_api_projection.rb +++ b/kubernetes/lib/kubernetes/models/v1_downward_api_projection.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_downward_api_volume_file.rb b/kubernetes/lib/kubernetes/models/v1_downward_api_volume_file.rb index d8580c91..9306c495 100644 --- a/kubernetes/lib/kubernetes/models/v1_downward_api_volume_file.rb +++ b/kubernetes/lib/kubernetes/models/v1_downward_api_volume_file.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_downward_api_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_downward_api_volume_source.rb index fe8f7bc4..3fa7f416 100644 --- a/kubernetes/lib/kubernetes/models/v1_downward_api_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_downward_api_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_empty_dir_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_empty_dir_volume_source.rb index 2a6e7bc3..8ff215f5 100644 --- a/kubernetes/lib/kubernetes/models/v1_empty_dir_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_empty_dir_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_endpoint_address.rb b/kubernetes/lib/kubernetes/models/v1_endpoint_address.rb index 4c0e55e1..fef682df 100644 --- a/kubernetes/lib/kubernetes/models/v1_endpoint_address.rb +++ b/kubernetes/lib/kubernetes/models/v1_endpoint_address.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_endpoint_port.rb b/kubernetes/lib/kubernetes/models/v1_endpoint_port.rb index c9c9945e..03c8506f 100644 --- a/kubernetes/lib/kubernetes/models/v1_endpoint_port.rb +++ b/kubernetes/lib/kubernetes/models/v1_endpoint_port.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1EndpointPort # The port number of the endpoint. attr_accessor :port - # The IP protocol for this port. Must be UDP or TCP. Default is TCP. + # The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. attr_accessor :protocol diff --git a/kubernetes/lib/kubernetes/models/v1_endpoint_subset.rb b/kubernetes/lib/kubernetes/models/v1_endpoint_subset.rb index cd05133b..795e3b90 100644 --- a/kubernetes/lib/kubernetes/models/v1_endpoint_subset.rb +++ b/kubernetes/lib/kubernetes/models/v1_endpoint_subset.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_endpoints.rb b/kubernetes/lib/kubernetes/models/v1_endpoints.rb index 76225bde..7162c4e5 100644 --- a/kubernetes/lib/kubernetes/models/v1_endpoints.rb +++ b/kubernetes/lib/kubernetes/models/v1_endpoints.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -80,17 +80,12 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @subsets.nil? - invalid_properties.push("invalid value for 'subsets', subsets cannot be nil.") - end - return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @subsets.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1_endpoints_list.rb b/kubernetes/lib/kubernetes/models/v1_endpoints_list.rb index 5b9db175..dfbe63ef 100644 --- a/kubernetes/lib/kubernetes/models/v1_endpoints_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_endpoints_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_env_from_source.rb b/kubernetes/lib/kubernetes/models/v1_env_from_source.rb index ea8af31b..0a41d268 100644 --- a/kubernetes/lib/kubernetes/models/v1_env_from_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_env_from_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1EnvFromSource # The ConfigMap to select from attr_accessor :config_map_ref - # An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. + # An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER. attr_accessor :prefix # The Secret to select from diff --git a/kubernetes/lib/kubernetes/models/v1_env_var.rb b/kubernetes/lib/kubernetes/models/v1_env_var.rb index 62e56b98..6b523526 100644 --- a/kubernetes/lib/kubernetes/models/v1_env_var.rb +++ b/kubernetes/lib/kubernetes/models/v1_env_var.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_env_var_source.rb b/kubernetes/lib/kubernetes/models/v1_env_var_source.rb index ec079352..a9e34bc6 100644 --- a/kubernetes/lib/kubernetes/models/v1_env_var_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_env_var_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_event.rb b/kubernetes/lib/kubernetes/models/v1_event.rb index 98d5778f..aba3b882 100644 --- a/kubernetes/lib/kubernetes/models/v1_event.rb +++ b/kubernetes/lib/kubernetes/models/v1_event.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,12 +15,18 @@ module Kubernetes # Event is a report of an event somewhere in the cluster. class V1Event + # What action was taken/failed regarding to the Regarding object. + attr_accessor :action + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version # The number of times this event has occurred. attr_accessor :count + # Time when this Event was first observed. + attr_accessor :event_time + # The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) attr_accessor :first_timestamp @@ -42,6 +48,18 @@ class V1Event # This should be a short, machine understandable string that gives the reason for the transition into the object's current status. attr_accessor :reason + # Optional secondary object for more complex actions. + attr_accessor :related + + # Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + attr_accessor :reporting_component + + # ID of the controller instance, e.g. `kubelet-xyzf`. + attr_accessor :reporting_instance + + # Data about the Event series this event represents or nil if it's a singleton Event. + attr_accessor :series + # The component reporting this event. Should be a short machine understandable string. attr_accessor :source @@ -52,8 +70,10 @@ class V1Event # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'action' => :'action', :'api_version' => :'apiVersion', :'count' => :'count', + :'event_time' => :'eventTime', :'first_timestamp' => :'firstTimestamp', :'involved_object' => :'involvedObject', :'kind' => :'kind', @@ -61,6 +81,10 @@ def self.attribute_map :'message' => :'message', :'metadata' => :'metadata', :'reason' => :'reason', + :'related' => :'related', + :'reporting_component' => :'reportingComponent', + :'reporting_instance' => :'reportingInstance', + :'series' => :'series', :'source' => :'source', :'type' => :'type' } @@ -69,8 +93,10 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'action' => :'String', :'api_version' => :'String', :'count' => :'Integer', + :'event_time' => :'DateTime', :'first_timestamp' => :'DateTime', :'involved_object' => :'V1ObjectReference', :'kind' => :'String', @@ -78,6 +104,10 @@ def self.swagger_types :'message' => :'String', :'metadata' => :'V1ObjectMeta', :'reason' => :'String', + :'related' => :'V1ObjectReference', + :'reporting_component' => :'String', + :'reporting_instance' => :'String', + :'series' => :'V1EventSeries', :'source' => :'V1EventSource', :'type' => :'String' } @@ -91,6 +121,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'action') + self.action = attributes[:'action'] + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -99,6 +133,10 @@ def initialize(attributes = {}) self.count = attributes[:'count'] end + if attributes.has_key?(:'eventTime') + self.event_time = attributes[:'eventTime'] + end + if attributes.has_key?(:'firstTimestamp') self.first_timestamp = attributes[:'firstTimestamp'] end @@ -127,6 +165,22 @@ def initialize(attributes = {}) self.reason = attributes[:'reason'] end + if attributes.has_key?(:'related') + self.related = attributes[:'related'] + end + + if attributes.has_key?(:'reportingComponent') + self.reporting_component = attributes[:'reportingComponent'] + end + + if attributes.has_key?(:'reportingInstance') + self.reporting_instance = attributes[:'reportingInstance'] + end + + if attributes.has_key?(:'series') + self.series = attributes[:'series'] + end + if attributes.has_key?(:'source') self.source = attributes[:'source'] end @@ -165,8 +219,10 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + action == o.action && api_version == o.api_version && count == o.count && + event_time == o.event_time && first_timestamp == o.first_timestamp && involved_object == o.involved_object && kind == o.kind && @@ -174,6 +230,10 @@ def ==(o) message == o.message && metadata == o.metadata && reason == o.reason && + related == o.related && + reporting_component == o.reporting_component && + reporting_instance == o.reporting_instance && + series == o.series && source == o.source && type == o.type end @@ -187,7 +247,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, count, first_timestamp, involved_object, kind, last_timestamp, message, metadata, reason, source, type].hash + [action, api_version, count, event_time, first_timestamp, involved_object, kind, last_timestamp, message, metadata, reason, related, reporting_component, reporting_instance, series, source, type].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_event_list.rb b/kubernetes/lib/kubernetes/models/v1_event_list.rb index 72d8f697..5d143652 100644 --- a/kubernetes/lib/kubernetes/models/v1_event_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_event_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_event_series.rb b/kubernetes/lib/kubernetes/models/v1_event_series.rb new file mode 100644 index 00000000..55167ba1 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_event_series.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. + class V1EventSeries + # Number of occurrences in this series up to the last heartbeat time + attr_accessor :count + + # Time of the last occurrence observed + attr_accessor :last_observed_time + + # State of this Series: Ongoing or Finished + attr_accessor :state + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'count' => :'count', + :'last_observed_time' => :'lastObservedTime', + :'state' => :'state' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'count' => :'Integer', + :'last_observed_time' => :'DateTime', + :'state' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'count') + self.count = attributes[:'count'] + end + + if attributes.has_key?(:'lastObservedTime') + self.last_observed_time = attributes[:'lastObservedTime'] + end + + if attributes.has_key?(:'state') + self.state = attributes[:'state'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + count == o.count && + last_observed_time == o.last_observed_time && + state == o.state + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [count, last_observed_time, state].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_event_source.rb b/kubernetes/lib/kubernetes/models/v1_event_source.rb index 2066c54f..8864e3f3 100644 --- a/kubernetes/lib/kubernetes/models/v1_event_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_event_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_exec_action.rb b/kubernetes/lib/kubernetes/models/v1_exec_action.rb index fa0c59d0..f4dfedcf 100644 --- a/kubernetes/lib/kubernetes/models/v1_exec_action.rb +++ b/kubernetes/lib/kubernetes/models/v1_exec_action.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_fc_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_fc_volume_source.rb index 50e0a8e1..521e319b 100644 --- a/kubernetes/lib/kubernetes/models/v1_fc_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_fc_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_flex_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_flex_persistent_volume_source.rb new file mode 100644 index 00000000..9eb98af9 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_flex_persistent_volume_source.rb @@ -0,0 +1,236 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin. + class V1FlexPersistentVolumeSource + # Driver is the name of the driver to use for this volume. + attr_accessor :driver + + # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + attr_accessor :fs_type + + # Optional: Extra command options if any. + attr_accessor :options + + # Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + attr_accessor :read_only + + # Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. + attr_accessor :secret_ref + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'driver' => :'driver', + :'fs_type' => :'fsType', + :'options' => :'options', + :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'driver' => :'String', + :'fs_type' => :'String', + :'options' => :'Hash', + :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1SecretReference' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'driver') + self.driver = attributes[:'driver'] + end + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'options') + if (value = attributes[:'options']).is_a?(Array) + self.options = value + end + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @driver.nil? + invalid_properties.push("invalid value for 'driver', driver cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @driver.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + driver == o.driver && + fs_type == o.fs_type && + options == o.options && + read_only == o.read_only && + secret_ref == o.secret_ref + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [driver, fs_type, options, read_only, secret_ref].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_flex_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_flex_volume_source.rb index d1508283..4f5bf770 100644 --- a/kubernetes/lib/kubernetes/models/v1_flex_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_flex_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. class V1FlexVolumeSource # Driver is the name of the driver to use for this volume. attr_accessor :driver diff --git a/kubernetes/lib/kubernetes/models/v1_flocker_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_flocker_volume_source.rb index 39d4921e..f1fd97fd 100644 --- a/kubernetes/lib/kubernetes/models/v1_flocker_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_flocker_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb index 34f5f8e1..535596fe 100644 --- a/kubernetes/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_gce_persistent_disk_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_git_repo_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_git_repo_volume_source.rb index 79a40941..94aa2e1c 100644 --- a/kubernetes/lib/kubernetes/models/v1_git_repo_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_git_repo_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. + # Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. class V1GitRepoVolumeSource # Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. attr_accessor :directory diff --git a/kubernetes/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb new file mode 100644 index 00000000..e339e255 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_glusterfs_persistent_volume_source.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling. + class V1GlusterfsPersistentVolumeSource + # EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + attr_accessor :endpoints + + # EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + attr_accessor :endpoints_namespace + + # Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + attr_accessor :path + + # ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + attr_accessor :read_only + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'endpoints' => :'endpoints', + :'endpoints_namespace' => :'endpointsNamespace', + :'path' => :'path', + :'read_only' => :'readOnly' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'endpoints' => :'String', + :'endpoints_namespace' => :'String', + :'path' => :'String', + :'read_only' => :'BOOLEAN' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'endpoints') + self.endpoints = attributes[:'endpoints'] + end + + if attributes.has_key?(:'endpointsNamespace') + self.endpoints_namespace = attributes[:'endpointsNamespace'] + end + + if attributes.has_key?(:'path') + self.path = attributes[:'path'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @endpoints.nil? + invalid_properties.push("invalid value for 'endpoints', endpoints cannot be nil.") + end + + if @path.nil? + invalid_properties.push("invalid value for 'path', path cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @endpoints.nil? + return false if @path.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + endpoints == o.endpoints && + endpoints_namespace == o.endpoints_namespace && + path == o.path && + read_only == o.read_only + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [endpoints, endpoints_namespace, path, read_only].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_glusterfs_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_glusterfs_volume_source.rb index 01585d79..8974f494 100644 --- a/kubernetes/lib/kubernetes/models/v1_glusterfs_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_glusterfs_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_group_version_for_discovery.rb b/kubernetes/lib/kubernetes/models/v1_group_version_for_discovery.rb index bd414efd..262e79c1 100644 --- a/kubernetes/lib/kubernetes/models/v1_group_version_for_discovery.rb +++ b/kubernetes/lib/kubernetes/models/v1_group_version_for_discovery.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_handler.rb b/kubernetes/lib/kubernetes/models/v1_handler.rb index 801ea8cc..8ace978a 100644 --- a/kubernetes/lib/kubernetes/models/v1_handler.rb +++ b/kubernetes/lib/kubernetes/models/v1_handler.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb index eb4d91e7..c69e12d1 100644 --- a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb +++ b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb index 16f9b70a..0635bd60 100644 --- a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb index f33571a5..98e54bdb 100644 --- a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb index 13fc667b..91367421 100644 --- a/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_horizontal_pod_autoscaler_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_host_alias.rb b/kubernetes/lib/kubernetes/models/v1_host_alias.rb index 7e9fdef5..4a184332 100644 --- a/kubernetes/lib/kubernetes/models/v1_host_alias.rb +++ b/kubernetes/lib/kubernetes/models/v1_host_alias.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_host_path_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_host_path_volume_source.rb index fff17ef2..658b9588 100644 --- a/kubernetes/lib/kubernetes/models/v1_host_path_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_host_path_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_http_get_action.rb b/kubernetes/lib/kubernetes/models/v1_http_get_action.rb index e3ca8f22..6c222a29 100644 --- a/kubernetes/lib/kubernetes/models/v1_http_get_action.rb +++ b/kubernetes/lib/kubernetes/models/v1_http_get_action.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_http_header.rb b/kubernetes/lib/kubernetes/models/v1_http_header.rb index b94dbc13..b384c1cc 100644 --- a/kubernetes/lib/kubernetes/models/v1_http_header.rb +++ b/kubernetes/lib/kubernetes/models/v1_http_header.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_initializer.rb b/kubernetes/lib/kubernetes/models/v1_initializer.rb index f00cef31..331350c8 100644 --- a/kubernetes/lib/kubernetes/models/v1_initializer.rb +++ b/kubernetes/lib/kubernetes/models/v1_initializer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_initializers.rb b/kubernetes/lib/kubernetes/models/v1_initializers.rb index 1c76632c..7f866816 100644 --- a/kubernetes/lib/kubernetes/models/v1_initializers.rb +++ b/kubernetes/lib/kubernetes/models/v1_initializers.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_ip_block.rb b/kubernetes/lib/kubernetes/models/v1_ip_block.rb index d3f8330f..8b539fbb 100644 --- a/kubernetes/lib/kubernetes/models/v1_ip_block.rb +++ b/kubernetes/lib/kubernetes/models/v1_ip_block.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb new file mode 100644 index 00000000..f42b768f --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_iscsi_persistent_volume_source.rb @@ -0,0 +1,306 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling. + class V1ISCSIPersistentVolumeSource + # whether support iSCSI Discovery CHAP authentication + attr_accessor :chap_auth_discovery + + # whether support iSCSI Session CHAP authentication + attr_accessor :chap_auth_session + + # Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi + attr_accessor :fs_type + + # Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. + attr_accessor :initiator_name + + # Target iSCSI Qualified Name. + attr_accessor :iqn + + # iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). + attr_accessor :iscsi_interface + + # iSCSI Target Lun number. + attr_accessor :lun + + # iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + attr_accessor :portals + + # ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + attr_accessor :read_only + + # CHAP Secret for iSCSI target and initiator authentication + attr_accessor :secret_ref + + # iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + attr_accessor :target_portal + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'chap_auth_discovery' => :'chapAuthDiscovery', + :'chap_auth_session' => :'chapAuthSession', + :'fs_type' => :'fsType', + :'initiator_name' => :'initiatorName', + :'iqn' => :'iqn', + :'iscsi_interface' => :'iscsiInterface', + :'lun' => :'lun', + :'portals' => :'portals', + :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef', + :'target_portal' => :'targetPortal' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'chap_auth_discovery' => :'BOOLEAN', + :'chap_auth_session' => :'BOOLEAN', + :'fs_type' => :'String', + :'initiator_name' => :'String', + :'iqn' => :'String', + :'iscsi_interface' => :'String', + :'lun' => :'Integer', + :'portals' => :'Array', + :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1SecretReference', + :'target_portal' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'chapAuthDiscovery') + self.chap_auth_discovery = attributes[:'chapAuthDiscovery'] + end + + if attributes.has_key?(:'chapAuthSession') + self.chap_auth_session = attributes[:'chapAuthSession'] + end + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'initiatorName') + self.initiator_name = attributes[:'initiatorName'] + end + + if attributes.has_key?(:'iqn') + self.iqn = attributes[:'iqn'] + end + + if attributes.has_key?(:'iscsiInterface') + self.iscsi_interface = attributes[:'iscsiInterface'] + end + + if attributes.has_key?(:'lun') + self.lun = attributes[:'lun'] + end + + if attributes.has_key?(:'portals') + if (value = attributes[:'portals']).is_a?(Array) + self.portals = value + end + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + + if attributes.has_key?(:'targetPortal') + self.target_portal = attributes[:'targetPortal'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @iqn.nil? + invalid_properties.push("invalid value for 'iqn', iqn cannot be nil.") + end + + if @lun.nil? + invalid_properties.push("invalid value for 'lun', lun cannot be nil.") + end + + if @target_portal.nil? + invalid_properties.push("invalid value for 'target_portal', target_portal cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @iqn.nil? + return false if @lun.nil? + return false if @target_portal.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + chap_auth_discovery == o.chap_auth_discovery && + chap_auth_session == o.chap_auth_session && + fs_type == o.fs_type && + initiator_name == o.initiator_name && + iqn == o.iqn && + iscsi_interface == o.iscsi_interface && + lun == o.lun && + portals == o.portals && + read_only == o.read_only && + secret_ref == o.secret_ref && + target_portal == o.target_portal + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [chap_auth_discovery, chap_auth_session, fs_type, initiator_name, iqn, iscsi_interface, lun, portals, read_only, secret_ref, target_portal].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_iscsi_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_iscsi_volume_source.rb index 68de01b0..aa0ce150 100644 --- a/kubernetes/lib/kubernetes/models/v1_iscsi_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_iscsi_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,28 +24,28 @@ class V1ISCSIVolumeSource # Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi attr_accessor :fs_type - # Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. + # Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection. attr_accessor :initiator_name # Target iSCSI Qualified Name. attr_accessor :iqn - # Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + # iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). attr_accessor :iscsi_interface - # iSCSI target lun number. + # iSCSI Target Lun number. attr_accessor :lun - # iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + # iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). attr_accessor :portals # ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. attr_accessor :read_only - # CHAP secret for iSCSI target and initiator authentication + # CHAP Secret for iSCSI target and initiator authentication attr_accessor :secret_ref - # iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + # iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). attr_accessor :target_portal diff --git a/kubernetes/lib/kubernetes/models/v1_job.rb b/kubernetes/lib/kubernetes/models/v1_job.rb index f6e647d4..763efab5 100644 --- a/kubernetes/lib/kubernetes/models/v1_job.rb +++ b/kubernetes/lib/kubernetes/models/v1_job.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_job_condition.rb b/kubernetes/lib/kubernetes/models/v1_job_condition.rb index 68e7507a..671936cb 100644 --- a/kubernetes/lib/kubernetes/models/v1_job_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_job_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_job_list.rb b/kubernetes/lib/kubernetes/models/v1_job_list.rb index 2daadb14..acfa15df 100644 --- a/kubernetes/lib/kubernetes/models/v1_job_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_job_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_job_spec.rb b/kubernetes/lib/kubernetes/models/v1_job_spec.rb index c4b26709..de441036 100644 --- a/kubernetes/lib/kubernetes/models/v1_job_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,7 @@ class V1JobSpec # Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ attr_accessor :completions - # manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md + # manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector attr_accessor :manual_selector # Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ @@ -36,6 +36,9 @@ class V1JobSpec # Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ attr_accessor :template + # ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature. + attr_accessor :ttl_seconds_after_finished + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map @@ -46,7 +49,8 @@ def self.attribute_map :'manual_selector' => :'manualSelector', :'parallelism' => :'parallelism', :'selector' => :'selector', - :'template' => :'template' + :'template' => :'template', + :'ttl_seconds_after_finished' => :'ttlSecondsAfterFinished' } end @@ -59,7 +63,8 @@ def self.swagger_types :'manual_selector' => :'BOOLEAN', :'parallelism' => :'Integer', :'selector' => :'V1LabelSelector', - :'template' => :'V1PodTemplateSpec' + :'template' => :'V1PodTemplateSpec', + :'ttl_seconds_after_finished' => :'Integer' } end @@ -99,6 +104,10 @@ def initialize(attributes = {}) self.template = attributes[:'template'] end + if attributes.has_key?(:'ttlSecondsAfterFinished') + self.ttl_seconds_after_finished = attributes[:'ttlSecondsAfterFinished'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -130,7 +139,8 @@ def ==(o) manual_selector == o.manual_selector && parallelism == o.parallelism && selector == o.selector && - template == o.template + template == o.template && + ttl_seconds_after_finished == o.ttl_seconds_after_finished end # @see the `==` method @@ -142,7 +152,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [active_deadline_seconds, backoff_limit, completions, manual_selector, parallelism, selector, template].hash + [active_deadline_seconds, backoff_limit, completions, manual_selector, parallelism, selector, template, ttl_seconds_after_finished].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_job_status.rb b/kubernetes/lib/kubernetes/models/v1_job_status.rb index 6765c322..5fbe60d0 100644 --- a/kubernetes/lib/kubernetes/models/v1_job_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_job_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_key_to_path.rb b/kubernetes/lib/kubernetes/models/v1_key_to_path.rb index bb965751..6417dccc 100644 --- a/kubernetes/lib/kubernetes/models/v1_key_to_path.rb +++ b/kubernetes/lib/kubernetes/models/v1_key_to_path.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_label_selector.rb b/kubernetes/lib/kubernetes/models/v1_label_selector.rb index 4d490544..2ac8d542 100644 --- a/kubernetes/lib/kubernetes/models/v1_label_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_label_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_label_selector_requirement.rb b/kubernetes/lib/kubernetes/models/v1_label_selector_requirement.rb index f7963d74..619e9c3e 100644 --- a/kubernetes/lib/kubernetes/models/v1_label_selector_requirement.rb +++ b/kubernetes/lib/kubernetes/models/v1_label_selector_requirement.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_lifecycle.rb b/kubernetes/lib/kubernetes/models/v1_lifecycle.rb index f49d5838..fe773b0d 100644 --- a/kubernetes/lib/kubernetes/models/v1_lifecycle.rb +++ b/kubernetes/lib/kubernetes/models/v1_lifecycle.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_limit_range.rb b/kubernetes/lib/kubernetes/models/v1_limit_range.rb index 052b8d0d..a28eb1d2 100644 --- a/kubernetes/lib/kubernetes/models/v1_limit_range.rb +++ b/kubernetes/lib/kubernetes/models/v1_limit_range.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_limit_range_item.rb b/kubernetes/lib/kubernetes/models/v1_limit_range_item.rb index 677f40cb..c790012c 100644 --- a/kubernetes/lib/kubernetes/models/v1_limit_range_item.rb +++ b/kubernetes/lib/kubernetes/models/v1_limit_range_item.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_limit_range_list.rb b/kubernetes/lib/kubernetes/models/v1_limit_range_list.rb index c558ec19..5c25b85e 100644 --- a/kubernetes/lib/kubernetes/models/v1_limit_range_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_limit_range_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1LimitRangeList # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version - # Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md + # Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ attr_accessor :items # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds diff --git a/kubernetes/lib/kubernetes/models/v1_limit_range_spec.rb b/kubernetes/lib/kubernetes/models/v1_limit_range_spec.rb index c0de9ae7..4b4cfcce 100644 --- a/kubernetes/lib/kubernetes/models/v1_limit_range_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_limit_range_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_list_meta.rb b/kubernetes/lib/kubernetes/models/v1_list_meta.rb index 2b61a08d..2e27da90 100644 --- a/kubernetes/lib/kubernetes/models/v1_list_meta.rb +++ b/kubernetes/lib/kubernetes/models/v1_list_meta.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}. class V1ListMeta - # continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response. + # continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message. attr_accessor :continue # String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency diff --git a/kubernetes/lib/kubernetes/models/v1_load_balancer_ingress.rb b/kubernetes/lib/kubernetes/models/v1_load_balancer_ingress.rb index f7e37134..b824a7d1 100644 --- a/kubernetes/lib/kubernetes/models/v1_load_balancer_ingress.rb +++ b/kubernetes/lib/kubernetes/models/v1_load_balancer_ingress.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_load_balancer_status.rb b/kubernetes/lib/kubernetes/models/v1_load_balancer_status.rb index 65d6ff79..28f48cb8 100644 --- a/kubernetes/lib/kubernetes/models/v1_load_balancer_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_load_balancer_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_local_object_reference.rb b/kubernetes/lib/kubernetes/models/v1_local_object_reference.rb index 85b37ab1..902938e4 100644 --- a/kubernetes/lib/kubernetes/models/v1_local_object_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_local_object_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_local_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1_local_subject_access_review.rb index 4c71233e..eba50853 100644 --- a/kubernetes/lib/kubernetes/models/v1_local_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1_local_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_local_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_local_volume_source.rb index cb58cda8..dcb7e4f3 100644 --- a/kubernetes/lib/kubernetes/models/v1_local_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_local_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,15 +13,19 @@ require 'date' module Kubernetes - # Local represents directly-attached storage with node affinity + # Local represents directly-attached storage with node affinity (Beta feature) class V1LocalVolumeSource - # The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device + # Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified. + attr_accessor :fs_type + + # The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...). attr_accessor :path # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'fs_type' => :'fsType', :'path' => :'path' } end @@ -29,6 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'fs_type' => :'String', :'path' => :'String' } end @@ -41,6 +46,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + if attributes.has_key?(:'path') self.path = attributes[:'path'] end @@ -70,6 +79,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + fs_type == o.fs_type && path == o.path end @@ -82,7 +92,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [path].hash + [fs_type, path].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_namespace.rb b/kubernetes/lib/kubernetes/models/v1_namespace.rb index 9f50adea..3d2fc470 100644 --- a/kubernetes/lib/kubernetes/models/v1_namespace.rb +++ b/kubernetes/lib/kubernetes/models/v1_namespace.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_namespace_list.rb b/kubernetes/lib/kubernetes/models/v1_namespace_list.rb index 510277d7..336281ef 100644 --- a/kubernetes/lib/kubernetes/models/v1_namespace_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_namespace_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_namespace_spec.rb b/kubernetes/lib/kubernetes/models/v1_namespace_spec.rb index 1a4d92e3..3cc2fc60 100644 --- a/kubernetes/lib/kubernetes/models/v1_namespace_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_namespace_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # NamespaceSpec describes the attributes on a Namespace. class V1NamespaceSpec - # Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers + # Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ attr_accessor :finalizers diff --git a/kubernetes/lib/kubernetes/models/v1_namespace_status.rb b/kubernetes/lib/kubernetes/models/v1_namespace_status.rb index 5446d565..8bec5bb6 100644 --- a/kubernetes/lib/kubernetes/models/v1_namespace_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_namespace_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # NamespaceStatus is information about the current status of a Namespace. class V1NamespaceStatus - # Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases + # Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/ attr_accessor :phase diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy.rb b/kubernetes/lib/kubernetes/models/v1_network_policy.rb index f28fbd99..7170fab2 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_egress_rule.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_egress_rule.rb index 8bcdbf6b..b2022d54 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_egress_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_egress_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_ingress_rule.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_ingress_rule.rb index 8a745bee..658fd272 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_ingress_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_ingress_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_list.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_list.rb index 05411255..885d06b6 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_peer.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_peer.rb index 93637896..6c30a765 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_peer.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_peer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,15 +13,15 @@ require 'date' module Kubernetes - # NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified. + # NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed class V1NetworkPolicyPeer - # IPBlock defines policy on a particular IPBlock + # IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. attr_accessor :ip_block - # Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + # Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. attr_accessor :namespace_selector - # This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + # This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. attr_accessor :pod_selector diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_port.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_port.rb index 19622619..8ef52e38 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_port.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_port.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1NetworkPolicyPort # The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. attr_accessor :port - # The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. + # The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. attr_accessor :protocol diff --git a/kubernetes/lib/kubernetes/models/v1_network_policy_spec.rb b/kubernetes/lib/kubernetes/models/v1_network_policy_spec.rb index 736163f1..c579e227 100644 --- a/kubernetes/lib/kubernetes/models/v1_network_policy_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_network_policy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_nfs_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_nfs_volume_source.rb index b9fdbb20..0c03c5e0 100644 --- a/kubernetes/lib/kubernetes/models/v1_nfs_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_nfs_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node.rb b/kubernetes/lib/kubernetes/models/v1_node.rb index 5969bf31..a9653770 100644 --- a/kubernetes/lib/kubernetes/models/v1_node.rb +++ b/kubernetes/lib/kubernetes/models/v1_node.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_address.rb b/kubernetes/lib/kubernetes/models/v1_node_address.rb index 6fd0f636..07f98068 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_address.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_address.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_affinity.rb b/kubernetes/lib/kubernetes/models/v1_node_affinity.rb index 6c4b12d5..f5556176 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_affinity.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_affinity.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_condition.rb b/kubernetes/lib/kubernetes/models/v1_node_condition.rb index 943e9c8a..2f23a488 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_config_source.rb b/kubernetes/lib/kubernetes/models/v1_node_config_source.rb index 5119f719..3d4791e9 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_config_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_config_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,30 +15,21 @@ module Kubernetes # NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. class V1NodeConfigSource - # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources - attr_accessor :api_version - - attr_accessor :config_map_ref - - # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds - attr_accessor :kind + # ConfigMap is a reference to a Node's ConfigMap + attr_accessor :config_map # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'api_version' => :'apiVersion', - :'config_map_ref' => :'configMapRef', - :'kind' => :'kind' + :'config_map' => :'configMap' } end # Attribute type mapping. def self.swagger_types { - :'api_version' => :'String', - :'config_map_ref' => :'V1ObjectReference', - :'kind' => :'String' + :'config_map' => :'V1ConfigMapNodeConfigSource' } end @@ -50,16 +41,8 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'apiVersion') - self.api_version = attributes[:'apiVersion'] - end - - if attributes.has_key?(:'configMapRef') - self.config_map_ref = attributes[:'configMapRef'] - end - - if attributes.has_key?(:'kind') - self.kind = attributes[:'kind'] + if attributes.has_key?(:'configMap') + self.config_map = attributes[:'configMap'] end end @@ -82,9 +65,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - api_version == o.api_version && - config_map_ref == o.config_map_ref && - kind == o.kind + config_map == o.config_map end # @see the `==` method @@ -96,7 +77,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, config_map_ref, kind].hash + [config_map].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_node_config_status.rb b/kubernetes/lib/kubernetes/models/v1_node_config_status.rb new file mode 100644 index 00000000..413c1dd3 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_node_config_status.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource. + class V1NodeConfigStatus + # Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error. + attr_accessor :active + + # Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned. + attr_accessor :assigned + + # Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions. + attr_accessor :error + + # LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future. + attr_accessor :last_known_good + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'active' => :'active', + :'assigned' => :'assigned', + :'error' => :'error', + :'last_known_good' => :'lastKnownGood' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'active' => :'V1NodeConfigSource', + :'assigned' => :'V1NodeConfigSource', + :'error' => :'String', + :'last_known_good' => :'V1NodeConfigSource' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'active') + self.active = attributes[:'active'] + end + + if attributes.has_key?(:'assigned') + self.assigned = attributes[:'assigned'] + end + + if attributes.has_key?(:'error') + self.error = attributes[:'error'] + end + + if attributes.has_key?(:'lastKnownGood') + self.last_known_good = attributes[:'lastKnownGood'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + active == o.active && + assigned == o.assigned && + error == o.error && + last_known_good == o.last_known_good + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [active, assigned, error, last_known_good].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_node_daemon_endpoints.rb b/kubernetes/lib/kubernetes/models/v1_node_daemon_endpoints.rb index 27786f58..34e29d9e 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_daemon_endpoints.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_daemon_endpoints.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_list.rb b/kubernetes/lib/kubernetes/models/v1_node_list.rb index 017f0a9a..62f6d2e5 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_selector.rb b/kubernetes/lib/kubernetes/models/v1_node_selector.rb index 0ea63fe1..3733bb65 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_selector_requirement.rb b/kubernetes/lib/kubernetes/models/v1_node_selector_requirement.rb index cecdcb0e..e3d9e7d8 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_selector_requirement.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_selector_requirement.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_node_selector_term.rb b/kubernetes/lib/kubernetes/models/v1_node_selector_term.rb index a4f70702..ce6f1eea 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_selector_term.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_selector_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,23 +13,28 @@ require 'date' module Kubernetes - # A null or empty node selector term matches no objects. + # A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. class V1NodeSelectorTerm - # Required. A list of node selector requirements. The requirements are ANDed. + # A list of node selector requirements by node's labels. attr_accessor :match_expressions + # A list of node selector requirements by node's fields. + attr_accessor :match_fields + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'match_expressions' => :'matchExpressions' + :'match_expressions' => :'matchExpressions', + :'match_fields' => :'matchFields' } end # Attribute type mapping. def self.swagger_types { - :'match_expressions' => :'Array' + :'match_expressions' => :'Array', + :'match_fields' => :'Array' } end @@ -47,23 +52,24 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'matchFields') + if (value = attributes[:'matchFields']).is_a?(Array) + self.match_fields = value + end + end + end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @match_expressions.nil? - invalid_properties.push("invalid value for 'match_expressions', match_expressions cannot be nil.") - end - return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @match_expressions.nil? return true end @@ -72,7 +78,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - match_expressions == o.match_expressions + match_expressions == o.match_expressions && + match_fields == o.match_fields end # @see the `==` method @@ -84,7 +91,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [match_expressions].hash + [match_expressions, match_fields].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_node_spec.rb b/kubernetes/lib/kubernetes/models/v1_node_spec.rb index 4539751e..29b63a66 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1NodeSpec # If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field attr_accessor :config_source - # External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. + # Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 attr_accessor :external_id # PodCIDR represents the pod IP range assigned to the node. diff --git a/kubernetes/lib/kubernetes/models/v1_node_status.rb b/kubernetes/lib/kubernetes/models/v1_node_status.rb index 1ab0a794..b1ec5fcf 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -27,6 +27,9 @@ class V1NodeStatus # Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition attr_accessor :conditions + # Status of the config assigned to the node via the dynamic Kubelet config feature. + attr_accessor :config + # Endpoints of daemons running on the Node. attr_accessor :daemon_endpoints @@ -53,6 +56,7 @@ def self.attribute_map :'allocatable' => :'allocatable', :'capacity' => :'capacity', :'conditions' => :'conditions', + :'config' => :'config', :'daemon_endpoints' => :'daemonEndpoints', :'images' => :'images', :'node_info' => :'nodeInfo', @@ -69,6 +73,7 @@ def self.swagger_types :'allocatable' => :'Hash', :'capacity' => :'Hash', :'conditions' => :'Array', + :'config' => :'V1NodeConfigStatus', :'daemon_endpoints' => :'V1NodeDaemonEndpoints', :'images' => :'Array', :'node_info' => :'V1NodeSystemInfo', @@ -110,6 +115,10 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'config') + self.config = attributes[:'config'] + end + if attributes.has_key?(:'daemonEndpoints') self.daemon_endpoints = attributes[:'daemonEndpoints'] end @@ -164,6 +173,7 @@ def ==(o) allocatable == o.allocatable && capacity == o.capacity && conditions == o.conditions && + config == o.config && daemon_endpoints == o.daemon_endpoints && images == o.images && node_info == o.node_info && @@ -181,7 +191,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [addresses, allocatable, capacity, conditions, daemon_endpoints, images, node_info, phase, volumes_attached, volumes_in_use].hash + [addresses, allocatable, capacity, conditions, config, daemon_endpoints, images, node_info, phase, volumes_attached, volumes_in_use].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_node_system_info.rb b/kubernetes/lib/kubernetes/models/v1_node_system_info.rb index 31d5e855..3d2848cd 100644 --- a/kubernetes/lib/kubernetes/models/v1_node_system_info.rb +++ b/kubernetes/lib/kubernetes/models/v1_node_system_info.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_non_resource_attributes.rb b/kubernetes/lib/kubernetes/models/v1_non_resource_attributes.rb index fd9895df..e09c40fb 100644 --- a/kubernetes/lib/kubernetes/models/v1_non_resource_attributes.rb +++ b/kubernetes/lib/kubernetes/models/v1_non_resource_attributes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_non_resource_rule.rb b/kubernetes/lib/kubernetes/models/v1_non_resource_rule.rb index 83ad4480..04fbf441 100644 --- a/kubernetes/lib/kubernetes/models/v1_non_resource_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1_non_resource_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_object_field_selector.rb b/kubernetes/lib/kubernetes/models/v1_object_field_selector.rb index cac1d03d..50deede5 100644 --- a/kubernetes/lib/kubernetes/models/v1_object_field_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_object_field_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_object_meta.rb b/kubernetes/lib/kubernetes/models/v1_object_meta.rb index a953c461..b8591675 100644 --- a/kubernetes/lib/kubernetes/models/v1_object_meta.rb +++ b/kubernetes/lib/kubernetes/models/v1_object_meta.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -27,7 +27,7 @@ class V1ObjectMeta # Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only. attr_accessor :deletion_grace_period_seconds - # DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + # DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata attr_accessor :deletion_timestamp # Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. diff --git a/kubernetes/lib/kubernetes/models/v1_object_reference.rb b/kubernetes/lib/kubernetes/models/v1_object_reference.rb index eec8d8cd..32eacb1c 100644 --- a/kubernetes/lib/kubernetes/models/v1_object_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_object_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_owner_reference.rb b/kubernetes/lib/kubernetes/models/v1_owner_reference.rb index cc83342f..e91faa2a 100644 --- a/kubernetes/lib/kubernetes/models/v1_owner_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_owner_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field. + # OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field. class V1OwnerReference # API version of the referent. attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume.rb index 238f34cc..0b9a84ad 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim.rb index 9ab71ac6..795db661 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb index 92916503..2d249569 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_list.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_list.rb index 0a747d88..dc03ebaa 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb index 75dabaa0..ecc21299 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1PersistentVolumeClaimSpec # AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 attr_accessor :access_modes + # This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change. + attr_accessor :data_source + # Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources attr_accessor :resources @@ -27,6 +30,9 @@ class V1PersistentVolumeClaimSpec # Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 attr_accessor :storage_class_name + # volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature. + attr_accessor :volume_mode + # VolumeName is the binding reference to the PersistentVolume backing this claim. attr_accessor :volume_name @@ -35,9 +41,11 @@ class V1PersistentVolumeClaimSpec def self.attribute_map { :'access_modes' => :'accessModes', + :'data_source' => :'dataSource', :'resources' => :'resources', :'selector' => :'selector', :'storage_class_name' => :'storageClassName', + :'volume_mode' => :'volumeMode', :'volume_name' => :'volumeName' } end @@ -46,9 +54,11 @@ def self.attribute_map def self.swagger_types { :'access_modes' => :'Array', + :'data_source' => :'V1TypedLocalObjectReference', :'resources' => :'V1ResourceRequirements', :'selector' => :'V1LabelSelector', :'storage_class_name' => :'String', + :'volume_mode' => :'String', :'volume_name' => :'String' } end @@ -67,6 +77,10 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'dataSource') + self.data_source = attributes[:'dataSource'] + end + if attributes.has_key?(:'resources') self.resources = attributes[:'resources'] end @@ -79,6 +93,10 @@ def initialize(attributes = {}) self.storage_class_name = attributes[:'storageClassName'] end + if attributes.has_key?(:'volumeMode') + self.volume_mode = attributes[:'volumeMode'] + end + if attributes.has_key?(:'volumeName') self.volume_name = attributes[:'volumeName'] end @@ -104,9 +122,11 @@ def ==(o) return true if self.equal?(o) self.class == o.class && access_modes == o.access_modes && + data_source == o.data_source && resources == o.resources && selector == o.selector && storage_class_name == o.storage_class_name && + volume_mode == o.volume_mode && volume_name == o.volume_name end @@ -119,7 +139,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [access_modes, resources, selector, storage_class_name, volume_name].hash + [access_modes, data_source, resources, selector, storage_class_name, volume_mode, volume_name].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_status.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_status.rb index 2fc049c1..8a5f2b79 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb index 34786b25..0faefcf0 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_claim_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_list.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_list.rb index 1ba44856..91d7bd2b 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_spec.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_spec.rb index 45e139b3..c19e131a 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -39,10 +39,13 @@ class V1PersistentVolumeSpec # ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding attr_accessor :claim_ref + # CSI represents storage that handled by an external CSI driver (Beta feature). + attr_accessor :csi + # FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. attr_accessor :fc - # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. attr_accessor :flex_volume # Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running @@ -69,7 +72,10 @@ class V1PersistentVolumeSpec # NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs attr_accessor :nfs - # What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming + # NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. + attr_accessor :node_affinity + + # What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming attr_accessor :persistent_volume_reclaim_policy # PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine @@ -93,6 +99,9 @@ class V1PersistentVolumeSpec # StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md attr_accessor :storageos + # volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature. + attr_accessor :volume_mode + # VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine attr_accessor :vsphere_volume @@ -108,6 +117,7 @@ def self.attribute_map :'cephfs' => :'cephfs', :'cinder' => :'cinder', :'claim_ref' => :'claimRef', + :'csi' => :'csi', :'fc' => :'fc', :'flex_volume' => :'flexVolume', :'flocker' => :'flocker', @@ -118,6 +128,7 @@ def self.attribute_map :'local' => :'local', :'mount_options' => :'mountOptions', :'nfs' => :'nfs', + :'node_affinity' => :'nodeAffinity', :'persistent_volume_reclaim_policy' => :'persistentVolumeReclaimPolicy', :'photon_persistent_disk' => :'photonPersistentDisk', :'portworx_volume' => :'portworxVolume', @@ -126,6 +137,7 @@ def self.attribute_map :'scale_io' => :'scaleIO', :'storage_class_name' => :'storageClassName', :'storageos' => :'storageos', + :'volume_mode' => :'volumeMode', :'vsphere_volume' => :'vsphereVolume' } end @@ -139,26 +151,29 @@ def self.swagger_types :'azure_file' => :'V1AzureFilePersistentVolumeSource', :'capacity' => :'Hash', :'cephfs' => :'V1CephFSPersistentVolumeSource', - :'cinder' => :'V1CinderVolumeSource', + :'cinder' => :'V1CinderPersistentVolumeSource', :'claim_ref' => :'V1ObjectReference', + :'csi' => :'V1CSIPersistentVolumeSource', :'fc' => :'V1FCVolumeSource', - :'flex_volume' => :'V1FlexVolumeSource', + :'flex_volume' => :'V1FlexPersistentVolumeSource', :'flocker' => :'V1FlockerVolumeSource', :'gce_persistent_disk' => :'V1GCEPersistentDiskVolumeSource', - :'glusterfs' => :'V1GlusterfsVolumeSource', + :'glusterfs' => :'V1GlusterfsPersistentVolumeSource', :'host_path' => :'V1HostPathVolumeSource', - :'iscsi' => :'V1ISCSIVolumeSource', + :'iscsi' => :'V1ISCSIPersistentVolumeSource', :'local' => :'V1LocalVolumeSource', :'mount_options' => :'Array', :'nfs' => :'V1NFSVolumeSource', + :'node_affinity' => :'V1VolumeNodeAffinity', :'persistent_volume_reclaim_policy' => :'String', :'photon_persistent_disk' => :'V1PhotonPersistentDiskVolumeSource', :'portworx_volume' => :'V1PortworxVolumeSource', :'quobyte' => :'V1QuobyteVolumeSource', - :'rbd' => :'V1RBDVolumeSource', - :'scale_io' => :'V1ScaleIOVolumeSource', + :'rbd' => :'V1RBDPersistentVolumeSource', + :'scale_io' => :'V1ScaleIOPersistentVolumeSource', :'storage_class_name' => :'String', :'storageos' => :'V1StorageOSPersistentVolumeSource', + :'volume_mode' => :'String', :'vsphere_volume' => :'V1VsphereVirtualDiskVolumeSource' } end @@ -207,6 +222,10 @@ def initialize(attributes = {}) self.claim_ref = attributes[:'claimRef'] end + if attributes.has_key?(:'csi') + self.csi = attributes[:'csi'] + end + if attributes.has_key?(:'fc') self.fc = attributes[:'fc'] end @@ -249,6 +268,10 @@ def initialize(attributes = {}) self.nfs = attributes[:'nfs'] end + if attributes.has_key?(:'nodeAffinity') + self.node_affinity = attributes[:'nodeAffinity'] + end + if attributes.has_key?(:'persistentVolumeReclaimPolicy') self.persistent_volume_reclaim_policy = attributes[:'persistentVolumeReclaimPolicy'] end @@ -281,6 +304,10 @@ def initialize(attributes = {}) self.storageos = attributes[:'storageos'] end + if attributes.has_key?(:'volumeMode') + self.volume_mode = attributes[:'volumeMode'] + end + if attributes.has_key?(:'vsphereVolume') self.vsphere_volume = attributes[:'vsphereVolume'] end @@ -313,6 +340,7 @@ def ==(o) cephfs == o.cephfs && cinder == o.cinder && claim_ref == o.claim_ref && + csi == o.csi && fc == o.fc && flex_volume == o.flex_volume && flocker == o.flocker && @@ -323,6 +351,7 @@ def ==(o) local == o.local && mount_options == o.mount_options && nfs == o.nfs && + node_affinity == o.node_affinity && persistent_volume_reclaim_policy == o.persistent_volume_reclaim_policy && photon_persistent_disk == o.photon_persistent_disk && portworx_volume == o.portworx_volume && @@ -331,6 +360,7 @@ def ==(o) scale_io == o.scale_io && storage_class_name == o.storage_class_name && storageos == o.storageos && + volume_mode == o.volume_mode && vsphere_volume == o.vsphere_volume end @@ -343,7 +373,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [access_modes, aws_elastic_block_store, azure_disk, azure_file, capacity, cephfs, cinder, claim_ref, fc, flex_volume, flocker, gce_persistent_disk, glusterfs, host_path, iscsi, local, mount_options, nfs, persistent_volume_reclaim_policy, photon_persistent_disk, portworx_volume, quobyte, rbd, scale_io, storage_class_name, storageos, vsphere_volume].hash + [access_modes, aws_elastic_block_store, azure_disk, azure_file, capacity, cephfs, cinder, claim_ref, csi, fc, flex_volume, flocker, gce_persistent_disk, glusterfs, host_path, iscsi, local, mount_options, nfs, node_affinity, persistent_volume_reclaim_policy, photon_persistent_disk, portworx_volume, quobyte, rbd, scale_io, storage_class_name, storageos, volume_mode, vsphere_volume].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_persistent_volume_status.rb b/kubernetes/lib/kubernetes/models/v1_persistent_volume_status.rb index b660d52f..023459a8 100644 --- a/kubernetes/lib/kubernetes/models/v1_persistent_volume_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_persistent_volume_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb index 9377619e..a9f49cdc 100644 --- a/kubernetes/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_photon_persistent_disk_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod.rb b/kubernetes/lib/kubernetes/models/v1_pod.rb index 17cfd8d4..c75a9b83 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_affinity.rb b/kubernetes/lib/kubernetes/models/v1_pod_affinity.rb index 26b39664..72158735 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_affinity.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_affinity.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_affinity_term.rb b/kubernetes/lib/kubernetes/models/v1_pod_affinity_term.rb index db22fd36..d15e9d8f 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_affinity_term.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_affinity_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key tches that of any node on which a pod of the set of pods is running + # Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running class V1PodAffinityTerm # A label query over a set of resources, in this case pods. attr_accessor :label_selector @@ -21,7 +21,7 @@ class V1PodAffinityTerm # namespaces specifies which namespaces the labelSelector applies to (matches against); null or empty list means \"this pod's namespace\" attr_accessor :namespaces - # This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed. + # This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed. attr_accessor :topology_key @@ -71,12 +71,17 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @topology_key.nil? + invalid_properties.push("invalid value for 'topology_key', topology_key cannot be nil.") + end + return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @topology_key.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1_pod_anti_affinity.rb b/kubernetes/lib/kubernetes/models/v1_pod_anti_affinity.rb index dd71276d..378d112c 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_anti_affinity.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_anti_affinity.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_condition.rb b/kubernetes/lib/kubernetes/models/v1_pod_condition.rb index 43fae5c7..589c0a54 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -30,7 +30,7 @@ class V1PodCondition # Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions attr_accessor :status - # Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions + # Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions attr_accessor :type diff --git a/kubernetes/lib/kubernetes/models/v1_pod_dns_config.rb b/kubernetes/lib/kubernetes/models/v1_pod_dns_config.rb new file mode 100644 index 00000000..71392275 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_pod_dns_config.rb @@ -0,0 +1,215 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy. + class V1PodDNSConfig + # A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed. + attr_accessor :nameservers + + # A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy. + attr_accessor :options + + # A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed. + attr_accessor :searches + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'nameservers' => :'nameservers', + :'options' => :'options', + :'searches' => :'searches' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'nameservers' => :'Array', + :'options' => :'Array', + :'searches' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'nameservers') + if (value = attributes[:'nameservers']).is_a?(Array) + self.nameservers = value + end + end + + if attributes.has_key?(:'options') + if (value = attributes[:'options']).is_a?(Array) + self.options = value + end + end + + if attributes.has_key?(:'searches') + if (value = attributes[:'searches']).is_a?(Array) + self.searches = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + nameservers == o.nameservers && + options == o.options && + searches == o.searches + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [nameservers, options, searches].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_pod_dns_config_option.rb b/kubernetes/lib/kubernetes/models/v1_pod_dns_config_option.rb new file mode 100644 index 00000000..1272ff14 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_pod_dns_config_option.rb @@ -0,0 +1,198 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodDNSConfigOption defines DNS resolver options of a pod. + class V1PodDNSConfigOption + # Required. + attr_accessor :name + + attr_accessor :value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'value' => :'value' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'value' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'value') + self.value = attributes[:'value'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + value == o.value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_pod_list.rb b/kubernetes/lib/kubernetes/models/v1_pod_list.rb index 0a30c15e..883032da 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_readiness_gate.rb b/kubernetes/lib/kubernetes/models/v1_pod_readiness_gate.rb new file mode 100644 index 00000000..427ff10b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_pod_readiness_gate.rb @@ -0,0 +1,194 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodReadinessGate contains the reference to a pod condition + class V1PodReadinessGate + # ConditionType refers to a condition in the pod's condition list with matching type. + attr_accessor :condition_type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'condition_type' => :'conditionType' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'condition_type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'conditionType') + self.condition_type = attributes[:'conditionType'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @condition_type.nil? + invalid_properties.push("invalid value for 'condition_type', condition_type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @condition_type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + condition_type == o.condition_type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [condition_type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_pod_security_context.rb b/kubernetes/lib/kubernetes/models/v1_pod_security_context.rb index 6c936236..8195e34c 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_security_context.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_security_context.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1PodSecurityContext # A special supplemental group that applies to all containers in a pod. Some volume types allow the Kubelet to change the ownership of that volume to be owned by the pod: 1. The owning GID will be the FSGroup 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) 3. The permission bits are OR'd with rw-rw---- If unset, the Kubelet will not modify the ownership and permissions of any volume. attr_accessor :fs_group + # The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. + attr_accessor :run_as_group + # Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. attr_accessor :run_as_non_root @@ -30,15 +33,20 @@ class V1PodSecurityContext # A list of groups applied to the first process run in each container, in addition to the container's primary GID. If unspecified, no groups will be added to any container. attr_accessor :supplemental_groups + # Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. + attr_accessor :sysctls + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'fs_group' => :'fsGroup', + :'run_as_group' => :'runAsGroup', :'run_as_non_root' => :'runAsNonRoot', :'run_as_user' => :'runAsUser', :'se_linux_options' => :'seLinuxOptions', - :'supplemental_groups' => :'supplementalGroups' + :'supplemental_groups' => :'supplementalGroups', + :'sysctls' => :'sysctls' } end @@ -46,10 +54,12 @@ def self.attribute_map def self.swagger_types { :'fs_group' => :'Integer', + :'run_as_group' => :'Integer', :'run_as_non_root' => :'BOOLEAN', :'run_as_user' => :'Integer', :'se_linux_options' => :'V1SELinuxOptions', - :'supplemental_groups' => :'Array' + :'supplemental_groups' => :'Array', + :'sysctls' => :'Array' } end @@ -65,6 +75,10 @@ def initialize(attributes = {}) self.fs_group = attributes[:'fsGroup'] end + if attributes.has_key?(:'runAsGroup') + self.run_as_group = attributes[:'runAsGroup'] + end + if attributes.has_key?(:'runAsNonRoot') self.run_as_non_root = attributes[:'runAsNonRoot'] end @@ -83,6 +97,12 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'sysctls') + if (value = attributes[:'sysctls']).is_a?(Array) + self.sysctls = value + end + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -104,10 +124,12 @@ def ==(o) return true if self.equal?(o) self.class == o.class && fs_group == o.fs_group && + run_as_group == o.run_as_group && run_as_non_root == o.run_as_non_root && run_as_user == o.run_as_user && se_linux_options == o.se_linux_options && - supplemental_groups == o.supplemental_groups + supplemental_groups == o.supplemental_groups && + sysctls == o.sysctls end # @see the `==` method @@ -119,7 +141,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [fs_group, run_as_non_root, run_as_user, se_linux_options, supplemental_groups].hash + [fs_group, run_as_group, run_as_non_root, run_as_user, se_linux_options, supplemental_groups, sysctls].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_pod_spec.rb b/kubernetes/lib/kubernetes/models/v1_pod_spec.rb index a9a9e25d..4a397410 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -27,9 +27,15 @@ class V1PodSpec # List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. attr_accessor :containers - # Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. + # Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy. + attr_accessor :dns_config + + # Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. attr_accessor :dns_policy + # EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. + attr_accessor :enable_service_links + # HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods. attr_accessor :host_aliases @@ -60,12 +66,18 @@ class V1PodSpec # The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. attr_accessor :priority - # If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. + # If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. attr_accessor :priority_class_name + # If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md + attr_accessor :readiness_gates + # Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy attr_accessor :restart_policy + # RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future. + attr_accessor :runtime_class_name + # If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler. attr_accessor :scheduler_name @@ -78,6 +90,9 @@ class V1PodSpec # ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ attr_accessor :service_account_name + # Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature. + attr_accessor :share_process_namespace + # If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all. attr_accessor :subdomain @@ -98,7 +113,9 @@ def self.attribute_map :'affinity' => :'affinity', :'automount_service_account_token' => :'automountServiceAccountToken', :'containers' => :'containers', + :'dns_config' => :'dnsConfig', :'dns_policy' => :'dnsPolicy', + :'enable_service_links' => :'enableServiceLinks', :'host_aliases' => :'hostAliases', :'host_ipc' => :'hostIPC', :'host_network' => :'hostNetwork', @@ -110,11 +127,14 @@ def self.attribute_map :'node_selector' => :'nodeSelector', :'priority' => :'priority', :'priority_class_name' => :'priorityClassName', + :'readiness_gates' => :'readinessGates', :'restart_policy' => :'restartPolicy', + :'runtime_class_name' => :'runtimeClassName', :'scheduler_name' => :'schedulerName', :'security_context' => :'securityContext', :'service_account' => :'serviceAccount', :'service_account_name' => :'serviceAccountName', + :'share_process_namespace' => :'shareProcessNamespace', :'subdomain' => :'subdomain', :'termination_grace_period_seconds' => :'terminationGracePeriodSeconds', :'tolerations' => :'tolerations', @@ -129,7 +149,9 @@ def self.swagger_types :'affinity' => :'V1Affinity', :'automount_service_account_token' => :'BOOLEAN', :'containers' => :'Array', + :'dns_config' => :'V1PodDNSConfig', :'dns_policy' => :'String', + :'enable_service_links' => :'BOOLEAN', :'host_aliases' => :'Array', :'host_ipc' => :'BOOLEAN', :'host_network' => :'BOOLEAN', @@ -141,11 +163,14 @@ def self.swagger_types :'node_selector' => :'Hash', :'priority' => :'Integer', :'priority_class_name' => :'String', + :'readiness_gates' => :'Array', :'restart_policy' => :'String', + :'runtime_class_name' => :'String', :'scheduler_name' => :'String', :'security_context' => :'V1PodSecurityContext', :'service_account' => :'String', :'service_account_name' => :'String', + :'share_process_namespace' => :'BOOLEAN', :'subdomain' => :'String', :'termination_grace_period_seconds' => :'Integer', :'tolerations' => :'Array', @@ -179,10 +204,18 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'dnsConfig') + self.dns_config = attributes[:'dnsConfig'] + end + if attributes.has_key?(:'dnsPolicy') self.dns_policy = attributes[:'dnsPolicy'] end + if attributes.has_key?(:'enableServiceLinks') + self.enable_service_links = attributes[:'enableServiceLinks'] + end + if attributes.has_key?(:'hostAliases') if (value = attributes[:'hostAliases']).is_a?(Array) self.host_aliases = value @@ -235,10 +268,20 @@ def initialize(attributes = {}) self.priority_class_name = attributes[:'priorityClassName'] end + if attributes.has_key?(:'readinessGates') + if (value = attributes[:'readinessGates']).is_a?(Array) + self.readiness_gates = value + end + end + if attributes.has_key?(:'restartPolicy') self.restart_policy = attributes[:'restartPolicy'] end + if attributes.has_key?(:'runtimeClassName') + self.runtime_class_name = attributes[:'runtimeClassName'] + end + if attributes.has_key?(:'schedulerName') self.scheduler_name = attributes[:'schedulerName'] end @@ -255,6 +298,10 @@ def initialize(attributes = {}) self.service_account_name = attributes[:'serviceAccountName'] end + if attributes.has_key?(:'shareProcessNamespace') + self.share_process_namespace = attributes[:'shareProcessNamespace'] + end + if attributes.has_key?(:'subdomain') self.subdomain = attributes[:'subdomain'] end @@ -304,7 +351,9 @@ def ==(o) affinity == o.affinity && automount_service_account_token == o.automount_service_account_token && containers == o.containers && + dns_config == o.dns_config && dns_policy == o.dns_policy && + enable_service_links == o.enable_service_links && host_aliases == o.host_aliases && host_ipc == o.host_ipc && host_network == o.host_network && @@ -316,11 +365,14 @@ def ==(o) node_selector == o.node_selector && priority == o.priority && priority_class_name == o.priority_class_name && + readiness_gates == o.readiness_gates && restart_policy == o.restart_policy && + runtime_class_name == o.runtime_class_name && scheduler_name == o.scheduler_name && security_context == o.security_context && service_account == o.service_account && service_account_name == o.service_account_name && + share_process_namespace == o.share_process_namespace && subdomain == o.subdomain && termination_grace_period_seconds == o.termination_grace_period_seconds && tolerations == o.tolerations && @@ -336,7 +388,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [active_deadline_seconds, affinity, automount_service_account_token, containers, dns_policy, host_aliases, host_ipc, host_network, host_pid, hostname, image_pull_secrets, init_containers, node_name, node_selector, priority, priority_class_name, restart_policy, scheduler_name, security_context, service_account, service_account_name, subdomain, termination_grace_period_seconds, tolerations, volumes].hash + [active_deadline_seconds, affinity, automount_service_account_token, containers, dns_config, dns_policy, enable_service_links, host_aliases, host_ipc, host_network, host_pid, hostname, image_pull_secrets, init_containers, node_name, node_selector, priority, priority_class_name, readiness_gates, restart_policy, runtime_class_name, scheduler_name, security_context, service_account, service_account_name, share_process_namespace, subdomain, termination_grace_period_seconds, tolerations, volumes].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_pod_status.rb b/kubernetes/lib/kubernetes/models/v1_pod_status.rb index 2d573854..053b7bba 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # PodStatus represents information about the status of a pod. Status may trail the actual state of a system. + # PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane. class V1PodStatus # Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions attr_accessor :conditions @@ -30,13 +30,16 @@ class V1PodStatus # A human readable message indicating details about why the pod is in this condition. attr_accessor :message - # Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase + # nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled. + attr_accessor :nominated_node_name + + # The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values: Pending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase attr_accessor :phase # IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. attr_accessor :pod_ip - # The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md + # The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md attr_accessor :qos_class # A brief CamelCase message indicating details about why the pod is in this state. e.g. 'Evicted' @@ -54,6 +57,7 @@ def self.attribute_map :'host_ip' => :'hostIP', :'init_container_statuses' => :'initContainerStatuses', :'message' => :'message', + :'nominated_node_name' => :'nominatedNodeName', :'phase' => :'phase', :'pod_ip' => :'podIP', :'qos_class' => :'qosClass', @@ -70,6 +74,7 @@ def self.swagger_types :'host_ip' => :'String', :'init_container_statuses' => :'Array', :'message' => :'String', + :'nominated_node_name' => :'String', :'phase' => :'String', :'pod_ip' => :'String', :'qos_class' => :'String', @@ -112,6 +117,10 @@ def initialize(attributes = {}) self.message = attributes[:'message'] end + if attributes.has_key?(:'nominatedNodeName') + self.nominated_node_name = attributes[:'nominatedNodeName'] + end + if attributes.has_key?(:'phase') self.phase = attributes[:'phase'] end @@ -157,6 +166,7 @@ def ==(o) host_ip == o.host_ip && init_container_statuses == o.init_container_statuses && message == o.message && + nominated_node_name == o.nominated_node_name && phase == o.phase && pod_ip == o.pod_ip && qos_class == o.qos_class && @@ -173,7 +183,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [conditions, container_statuses, host_ip, init_container_statuses, message, phase, pod_ip, qos_class, reason, start_time].hash + [conditions, container_statuses, host_ip, init_container_statuses, message, nominated_node_name, phase, pod_ip, qos_class, reason, start_time].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_pod_template.rb b/kubernetes/lib/kubernetes/models/v1_pod_template.rb index 755e0834..335b6eb1 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_template.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_template.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_template_list.rb b/kubernetes/lib/kubernetes/models/v1_pod_template_list.rb index 15736a03..f8968cd4 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_template_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_template_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_pod_template_spec.rb b/kubernetes/lib/kubernetes/models/v1_pod_template_spec.rb index c0151e00..8af56ffc 100644 --- a/kubernetes/lib/kubernetes/models/v1_pod_template_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_pod_template_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_policy_rule.rb b/kubernetes/lib/kubernetes/models/v1_policy_rule.rb index b0aef227..82f7aa4a 100644 --- a/kubernetes/lib/kubernetes/models/v1_policy_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1_policy_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_portworx_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_portworx_volume_source.rb index eed81de6..b9f79d19 100644 --- a/kubernetes/lib/kubernetes/models/v1_portworx_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_portworx_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_preconditions.rb b/kubernetes/lib/kubernetes/models/v1_preconditions.rb index 0583edea..81052e90 100644 --- a/kubernetes/lib/kubernetes/models/v1_preconditions.rb +++ b/kubernetes/lib/kubernetes/models/v1_preconditions.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_preferred_scheduling_term.rb b/kubernetes/lib/kubernetes/models/v1_preferred_scheduling_term.rb index 9925ec39..35cf43e4 100644 --- a/kubernetes/lib/kubernetes/models/v1_preferred_scheduling_term.rb +++ b/kubernetes/lib/kubernetes/models/v1_preferred_scheduling_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_probe.rb b/kubernetes/lib/kubernetes/models/v1_probe.rb index 5bfbc401..98416cc2 100644 --- a/kubernetes/lib/kubernetes/models/v1_probe.rb +++ b/kubernetes/lib/kubernetes/models/v1_probe.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_projected_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_projected_volume_source.rb index a8807fae..28b35185 100644 --- a/kubernetes/lib/kubernetes/models/v1_projected_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_projected_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_quobyte_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_quobyte_volume_source.rb index 816ff3f4..0405f2ab 100644 --- a/kubernetes/lib/kubernetes/models/v1_quobyte_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_quobyte_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb new file mode 100644 index 00000000..fd716aa4 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_rbd_persistent_volume_source.rb @@ -0,0 +1,271 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling. + class V1RBDPersistentVolumeSource + # Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd + attr_accessor :fs_type + + # The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :image + + # Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :keyring + + # A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :monitors + + # The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :pool + + # ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :read_only + + # SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :secret_ref + + # The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + attr_accessor :user + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'fs_type' => :'fsType', + :'image' => :'image', + :'keyring' => :'keyring', + :'monitors' => :'monitors', + :'pool' => :'pool', + :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef', + :'user' => :'user' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'fs_type' => :'String', + :'image' => :'String', + :'keyring' => :'String', + :'monitors' => :'Array', + :'pool' => :'String', + :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1SecretReference', + :'user' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'image') + self.image = attributes[:'image'] + end + + if attributes.has_key?(:'keyring') + self.keyring = attributes[:'keyring'] + end + + if attributes.has_key?(:'monitors') + if (value = attributes[:'monitors']).is_a?(Array) + self.monitors = value + end + end + + if attributes.has_key?(:'pool') + self.pool = attributes[:'pool'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + + if attributes.has_key?(:'user') + self.user = attributes[:'user'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @image.nil? + invalid_properties.push("invalid value for 'image', image cannot be nil.") + end + + if @monitors.nil? + invalid_properties.push("invalid value for 'monitors', monitors cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @image.nil? + return false if @monitors.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + fs_type == o.fs_type && + image == o.image && + keyring == o.keyring && + monitors == o.monitors && + pool == o.pool && + read_only == o.read_only && + secret_ref == o.secret_ref && + user == o.user + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [fs_type, image, keyring, monitors, pool, read_only, secret_ref, user].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_rbd_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_rbd_volume_source.rb index f7e8c3b8..fb9662b5 100644 --- a/kubernetes/lib/kubernetes/models/v1_rbd_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_rbd_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_replica_set.rb b/kubernetes/lib/kubernetes/models/v1_replica_set.rb new file mode 100644 index 00000000..ed7fd020 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_replica_set.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ReplicaSet ensures that a specified number of pod replicas are running at any given time. + class V1ReplicaSet + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + attr_accessor :spec + + # Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1ReplicaSetSpec', + :'status' => :'V1ReplicaSetStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_replica_set_condition.rb b/kubernetes/lib/kubernetes/models/v1_replica_set_condition.rb new file mode 100644 index 00000000..2cecf6b0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_replica_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ReplicaSetCondition describes the state of a replica set at a certain point. + class V1ReplicaSetCondition + # The last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of replica set condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration_list.rb b/kubernetes/lib/kubernetes/models/v1_replica_set_list.rb similarity index 95% rename from kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration_list.rb rename to kubernetes/lib/kubernetes/models/v1_replica_set_list.rb index 4245ad20..4ec33262 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_replica_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,12 +13,12 @@ require 'date' module Kubernetes - # ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration. - class V1alpha1ExternalAdmissionHookConfigurationList + # ReplicaSetList is a collection of ReplicaSets. + class V1ReplicaSetList # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version - # List of ExternalAdmissionHookConfiguration. + # List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller attr_accessor :items # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds @@ -42,7 +42,7 @@ def self.attribute_map def self.swagger_types { :'api_version' => :'String', - :'items' => :'Array', + :'items' => :'Array', :'kind' => :'String', :'metadata' => :'V1ListMeta' } diff --git a/kubernetes/lib/kubernetes/models/v1_replica_set_spec.rb b/kubernetes/lib/kubernetes/models/v1_replica_set_spec.rb new file mode 100644 index 00000000..abe1eb94 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_replica_set_spec.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ReplicaSetSpec is the specification of a ReplicaSet. + class V1ReplicaSetSpec + # Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) + attr_accessor :min_ready_seconds + + # Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + attr_accessor :replicas + + # Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + attr_accessor :selector + + # Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template + attr_accessor :template + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'min_ready_seconds' => :'minReadySeconds', + :'replicas' => :'replicas', + :'selector' => :'selector', + :'template' => :'template' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'min_ready_seconds' => :'Integer', + :'replicas' => :'Integer', + :'selector' => :'V1LabelSelector', + :'template' => :'V1PodTemplateSpec' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'minReadySeconds') + self.min_ready_seconds = attributes[:'minReadySeconds'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + + if attributes.has_key?(:'template') + self.template = attributes[:'template'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @selector.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + min_ready_seconds == o.min_ready_seconds && + replicas == o.replicas && + selector == o.selector && + template == o.template + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [min_ready_seconds, replicas, selector, template].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_replica_set_status.rb b/kubernetes/lib/kubernetes/models/v1_replica_set_status.rb new file mode 100644 index 00000000..a8326387 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_replica_set_status.rb @@ -0,0 +1,246 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ReplicaSetStatus represents the current status of a ReplicaSet. + class V1ReplicaSetStatus + # The number of available replicas (ready for at least minReadySeconds) for this replica set. + attr_accessor :available_replicas + + # Represents the latest available observations of a replica set's current state. + attr_accessor :conditions + + # The number of pods that have labels matching the labels of the pod template of the replicaset. + attr_accessor :fully_labeled_replicas + + # ObservedGeneration reflects the generation of the most recently observed ReplicaSet. + attr_accessor :observed_generation + + # The number of ready replicas for this replica set. + attr_accessor :ready_replicas + + # Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller + attr_accessor :replicas + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'available_replicas' => :'availableReplicas', + :'conditions' => :'conditions', + :'fully_labeled_replicas' => :'fullyLabeledReplicas', + :'observed_generation' => :'observedGeneration', + :'ready_replicas' => :'readyReplicas', + :'replicas' => :'replicas' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'available_replicas' => :'Integer', + :'conditions' => :'Array', + :'fully_labeled_replicas' => :'Integer', + :'observed_generation' => :'Integer', + :'ready_replicas' => :'Integer', + :'replicas' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'availableReplicas') + self.available_replicas = attributes[:'availableReplicas'] + end + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + if attributes.has_key?(:'fullyLabeledReplicas') + self.fully_labeled_replicas = attributes[:'fullyLabeledReplicas'] + end + + if attributes.has_key?(:'observedGeneration') + self.observed_generation = attributes[:'observedGeneration'] + end + + if attributes.has_key?(:'readyReplicas') + self.ready_replicas = attributes[:'readyReplicas'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @replicas.nil? + invalid_properties.push("invalid value for 'replicas', replicas cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @replicas.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + available_replicas == o.available_replicas && + conditions == o.conditions && + fully_labeled_replicas == o.fully_labeled_replicas && + observed_generation == o.observed_generation && + ready_replicas == o.ready_replicas && + replicas == o.replicas + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [available_replicas, conditions, fully_labeled_replicas, observed_generation, ready_replicas, replicas].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_replication_controller.rb b/kubernetes/lib/kubernetes/models/v1_replication_controller.rb index 4db7d2f2..2cf94e06 100644 --- a/kubernetes/lib/kubernetes/models/v1_replication_controller.rb +++ b/kubernetes/lib/kubernetes/models/v1_replication_controller.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_replication_controller_condition.rb b/kubernetes/lib/kubernetes/models/v1_replication_controller_condition.rb index 95c50ec0..53dbf8d6 100644 --- a/kubernetes/lib/kubernetes/models/v1_replication_controller_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1_replication_controller_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_replication_controller_list.rb b/kubernetes/lib/kubernetes/models/v1_replication_controller_list.rb index 1587ac46..831702b5 100644 --- a/kubernetes/lib/kubernetes/models/v1_replication_controller_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_replication_controller_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_replication_controller_spec.rb b/kubernetes/lib/kubernetes/models/v1_replication_controller_spec.rb index 3b3da8b3..0bae6715 100644 --- a/kubernetes/lib/kubernetes/models/v1_replication_controller_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_replication_controller_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_replication_controller_status.rb b/kubernetes/lib/kubernetes/models/v1_replication_controller_status.rb index 0b7c8ee3..ac43b07d 100644 --- a/kubernetes/lib/kubernetes/models/v1_replication_controller_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_replication_controller_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_resource_attributes.rb b/kubernetes/lib/kubernetes/models/v1_resource_attributes.rb index 801e8515..40017748 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_attributes.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_attributes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_resource_field_selector.rb b/kubernetes/lib/kubernetes/models/v1_resource_field_selector.rb index e4d4652b..d64eb2f3 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_field_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_field_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_resource_quota.rb b/kubernetes/lib/kubernetes/models/v1_resource_quota.rb index 859c992e..aad98202 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_quota.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_quota.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_resource_quota_list.rb b/kubernetes/lib/kubernetes/models/v1_resource_quota_list.rb index 5de0bb21..75ab6e8d 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_quota_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_quota_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1ResourceQuotaList # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version - # Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md + # Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ attr_accessor :items # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds diff --git a/kubernetes/lib/kubernetes/models/v1_resource_quota_spec.rb b/kubernetes/lib/kubernetes/models/v1_resource_quota_spec.rb index 8ef72f92..027fa87c 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_quota_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_quota_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,9 +15,12 @@ module Kubernetes # ResourceQuotaSpec defines the desired hard limits to enforce for Quota. class V1ResourceQuotaSpec - # Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md + # hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ attr_accessor :hard + # scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched. + attr_accessor :scope_selector + # A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects. attr_accessor :scopes @@ -26,6 +29,7 @@ class V1ResourceQuotaSpec def self.attribute_map { :'hard' => :'hard', + :'scope_selector' => :'scopeSelector', :'scopes' => :'scopes' } end @@ -34,6 +38,7 @@ def self.attribute_map def self.swagger_types { :'hard' => :'Hash', + :'scope_selector' => :'V1ScopeSelector', :'scopes' => :'Array' } end @@ -52,6 +57,10 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'scopeSelector') + self.scope_selector = attributes[:'scopeSelector'] + end + if attributes.has_key?(:'scopes') if (value = attributes[:'scopes']).is_a?(Array) self.scopes = value @@ -79,6 +88,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && hard == o.hard && + scope_selector == o.scope_selector && scopes == o.scopes end @@ -91,7 +101,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [hard, scopes].hash + [hard, scope_selector, scopes].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_resource_quota_status.rb b/kubernetes/lib/kubernetes/models/v1_resource_quota_status.rb index b18c531f..8b285a37 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_quota_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_quota_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # ResourceQuotaStatus defines the enforced hard limits and observed use. class V1ResourceQuotaStatus - # Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md + # Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/ attr_accessor :hard # Used is the current observed total usage of the resource in the namespace. diff --git a/kubernetes/lib/kubernetes/models/v1_resource_requirements.rb b/kubernetes/lib/kubernetes/models/v1_resource_requirements.rb index 3f53262c..4f7475ae 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_requirements.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_requirements.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_resource_rule.rb b/kubernetes/lib/kubernetes/models/v1_resource_rule.rb index 6f2d2895..e6208300 100644 --- a/kubernetes/lib/kubernetes/models/v1_resource_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1_resource_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1ResourceRule # ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. attr_accessor :resource_names - # Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. + # Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. attr_accessor :resources # Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. diff --git a/kubernetes/lib/kubernetes/models/v1_role.rb b/kubernetes/lib/kubernetes/models/v1_role.rb index 4cae5b65..723d1984 100644 --- a/kubernetes/lib/kubernetes/models/v1_role.rb +++ b/kubernetes/lib/kubernetes/models/v1_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_role_binding.rb b/kubernetes/lib/kubernetes/models/v1_role_binding.rb index f27ee56e..93a64cbc 100644 --- a/kubernetes/lib/kubernetes/models/v1_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1_role_binding_list.rb index c87f7798..11261dda 100644 --- a/kubernetes/lib/kubernetes/models/v1_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_role_list.rb b/kubernetes/lib/kubernetes/models/v1_role_list.rb index 8b3a76f5..d4b12ca1 100644 --- a/kubernetes/lib/kubernetes/models/v1_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_role_ref.rb b/kubernetes/lib/kubernetes/models/v1_role_ref.rb index d0d65811..96e7698f 100644 --- a/kubernetes/lib/kubernetes/models/v1_role_ref.rb +++ b/kubernetes/lib/kubernetes/models/v1_role_ref.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_rolling_update_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1_rolling_update_daemon_set.rb new file mode 100644 index 00000000..01150c10 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_rolling_update_daemon_set.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Spec to control the desired behavior of daemon set rolling update. + class V1RollingUpdateDaemonSet + # The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update. + attr_accessor :max_unavailable + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'max_unavailable' => :'maxUnavailable' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'max_unavailable' => :'Object' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'maxUnavailable') + self.max_unavailable = attributes[:'maxUnavailable'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + max_unavailable == o.max_unavailable + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [max_unavailable].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_rolling_update_deployment.rb b/kubernetes/lib/kubernetes/models/v1_rolling_update_deployment.rb new file mode 100644 index 00000000..c17590b0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_rolling_update_deployment.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Spec to control the desired behavior of rolling update. + class V1RollingUpdateDeployment + # The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods. + attr_accessor :max_surge + + # The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + attr_accessor :max_unavailable + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'max_surge' => :'maxSurge', + :'max_unavailable' => :'maxUnavailable' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'max_surge' => :'Object', + :'max_unavailable' => :'Object' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'maxSurge') + self.max_surge = attributes[:'maxSurge'] + end + + if attributes.has_key?(:'maxUnavailable') + self.max_unavailable = attributes[:'maxUnavailable'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + max_surge == o.max_surge && + max_unavailable == o.max_unavailable + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [max_surge, max_unavailable].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb b/kubernetes/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb new file mode 100644 index 00000000..bc0a3375 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_rolling_update_stateful_set_strategy.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType. + class V1RollingUpdateStatefulSetStrategy + # Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0. + attr_accessor :partition + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'partition' => :'partition' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'partition' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'partition') + self.partition = attributes[:'partition'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + partition == o.partition + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [partition].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_scale.rb b/kubernetes/lib/kubernetes/models/v1_scale.rb index 7dff8f83..25980f8a 100644 --- a/kubernetes/lib/kubernetes/models/v1_scale.rb +++ b/kubernetes/lib/kubernetes/models/v1_scale.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb new file mode 100644 index 00000000..06d898a0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_scale_io_persistent_volume_source.rb @@ -0,0 +1,294 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume + class V1ScaleIOPersistentVolumeSource + # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\" + attr_accessor :fs_type + + # The host address of the ScaleIO API Gateway. + attr_accessor :gateway + + # The name of the ScaleIO Protection Domain for the configured storage. + attr_accessor :protection_domain + + # Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + attr_accessor :read_only + + # SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail. + attr_accessor :secret_ref + + # Flag to enable/disable SSL communication with Gateway, default false + attr_accessor :ssl_enabled + + # Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. + attr_accessor :storage_mode + + # The ScaleIO Storage Pool associated with the protection domain. + attr_accessor :storage_pool + + # The name of the storage system as configured in ScaleIO. + attr_accessor :system + + # The name of a volume already created in the ScaleIO system that is associated with this volume source. + attr_accessor :volume_name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'fs_type' => :'fsType', + :'gateway' => :'gateway', + :'protection_domain' => :'protectionDomain', + :'read_only' => :'readOnly', + :'secret_ref' => :'secretRef', + :'ssl_enabled' => :'sslEnabled', + :'storage_mode' => :'storageMode', + :'storage_pool' => :'storagePool', + :'system' => :'system', + :'volume_name' => :'volumeName' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'fs_type' => :'String', + :'gateway' => :'String', + :'protection_domain' => :'String', + :'read_only' => :'BOOLEAN', + :'secret_ref' => :'V1SecretReference', + :'ssl_enabled' => :'BOOLEAN', + :'storage_mode' => :'String', + :'storage_pool' => :'String', + :'system' => :'String', + :'volume_name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'fsType') + self.fs_type = attributes[:'fsType'] + end + + if attributes.has_key?(:'gateway') + self.gateway = attributes[:'gateway'] + end + + if attributes.has_key?(:'protectionDomain') + self.protection_domain = attributes[:'protectionDomain'] + end + + if attributes.has_key?(:'readOnly') + self.read_only = attributes[:'readOnly'] + end + + if attributes.has_key?(:'secretRef') + self.secret_ref = attributes[:'secretRef'] + end + + if attributes.has_key?(:'sslEnabled') + self.ssl_enabled = attributes[:'sslEnabled'] + end + + if attributes.has_key?(:'storageMode') + self.storage_mode = attributes[:'storageMode'] + end + + if attributes.has_key?(:'storagePool') + self.storage_pool = attributes[:'storagePool'] + end + + if attributes.has_key?(:'system') + self.system = attributes[:'system'] + end + + if attributes.has_key?(:'volumeName') + self.volume_name = attributes[:'volumeName'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @gateway.nil? + invalid_properties.push("invalid value for 'gateway', gateway cannot be nil.") + end + + if @secret_ref.nil? + invalid_properties.push("invalid value for 'secret_ref', secret_ref cannot be nil.") + end + + if @system.nil? + invalid_properties.push("invalid value for 'system', system cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @gateway.nil? + return false if @secret_ref.nil? + return false if @system.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + fs_type == o.fs_type && + gateway == o.gateway && + protection_domain == o.protection_domain && + read_only == o.read_only && + secret_ref == o.secret_ref && + ssl_enabled == o.ssl_enabled && + storage_mode == o.storage_mode && + storage_pool == o.storage_pool && + system == o.system && + volume_name == o.volume_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [fs_type, gateway, protection_domain, read_only, secret_ref, ssl_enabled, storage_mode, storage_pool, system, volume_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_scale_io_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_scale_io_volume_source.rb index cbb34d14..a899827d 100644 --- a/kubernetes/lib/kubernetes/models/v1_scale_io_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_scale_io_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,13 +15,13 @@ module Kubernetes # ScaleIOVolumeSource represents a persistent ScaleIO volume class V1ScaleIOVolumeSource - # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + # Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\". attr_accessor :fs_type # The host address of the ScaleIO API Gateway. attr_accessor :gateway - # The name of the Protection Domain for the configured storage (defaults to \"default\"). + # The name of the ScaleIO Protection Domain for the configured storage. attr_accessor :protection_domain # Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. @@ -33,10 +33,10 @@ class V1ScaleIOVolumeSource # Flag to enable/disable SSL communication with Gateway, default false attr_accessor :ssl_enabled - # Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\"). + # Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. attr_accessor :storage_mode - # The Storage Pool associated with the protection domain (defaults to \"default\"). + # The ScaleIO Storage Pool associated with the protection domain. attr_accessor :storage_pool # The name of the storage system as configured in ScaleIO. diff --git a/kubernetes/lib/kubernetes/models/v1_scale_spec.rb b/kubernetes/lib/kubernetes/models/v1_scale_spec.rb index a0ee100a..f8d1d674 100644 --- a/kubernetes/lib/kubernetes/models/v1_scale_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_scale_status.rb b/kubernetes/lib/kubernetes/models/v1_scale_status.rb index 9600257a..94ebeed1 100644 --- a/kubernetes/lib/kubernetes/models/v1_scale_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_scale_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_scope_selector.rb b/kubernetes/lib/kubernetes/models/v1_scope_selector.rb new file mode 100644 index 00000000..edeca50b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_scope_selector.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements. + class V1ScopeSelector + # A list of scope selector requirements by scope of the resources. + attr_accessor :match_expressions + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'match_expressions' => :'matchExpressions' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'match_expressions' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'matchExpressions') + if (value = attributes[:'matchExpressions']).is_a?(Array) + self.match_expressions = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + match_expressions == o.match_expressions + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [match_expressions].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb b/kubernetes/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb new file mode 100644 index 00000000..007dbd16 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_scoped_resource_selector_requirement.rb @@ -0,0 +1,221 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values. + class V1ScopedResourceSelectorRequirement + # Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. + attr_accessor :operator + + # The name of the scope that the selector applies to. + attr_accessor :scope_name + + # An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch. + attr_accessor :values + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'operator' => :'operator', + :'scope_name' => :'scopeName', + :'values' => :'values' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'operator' => :'String', + :'scope_name' => :'String', + :'values' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'operator') + self.operator = attributes[:'operator'] + end + + if attributes.has_key?(:'scopeName') + self.scope_name = attributes[:'scopeName'] + end + + if attributes.has_key?(:'values') + if (value = attributes[:'values']).is_a?(Array) + self.values = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @operator.nil? + invalid_properties.push("invalid value for 'operator', operator cannot be nil.") + end + + if @scope_name.nil? + invalid_properties.push("invalid value for 'scope_name', scope_name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @operator.nil? + return false if @scope_name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + operator == o.operator && + scope_name == o.scope_name && + values == o.values + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [operator, scope_name, values].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_se_linux_options.rb b/kubernetes/lib/kubernetes/models/v1_se_linux_options.rb index 16aa89e2..79d0cd6f 100644 --- a/kubernetes/lib/kubernetes/models/v1_se_linux_options.rb +++ b/kubernetes/lib/kubernetes/models/v1_se_linux_options.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret.rb b/kubernetes/lib/kubernetes/models/v1_secret.rb index 768dfe24..3d4b3708 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_env_source.rb b/kubernetes/lib/kubernetes/models/v1_secret_env_source.rb index cb5b0346..ab7b59ad 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_env_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_env_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_key_selector.rb b/kubernetes/lib/kubernetes/models/v1_secret_key_selector.rb index 1e3d3cd2..a1c1a753 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_key_selector.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_key_selector.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_list.rb b/kubernetes/lib/kubernetes/models/v1_secret_list.rb index 46106675..2a94c508 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_projection.rb b/kubernetes/lib/kubernetes/models/v1_secret_projection.rb index 62a92bc9..7105936e 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_projection.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_projection.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_reference.rb b/kubernetes/lib/kubernetes/models/v1_secret_reference.rb index f5eade94..89306d97 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_secret_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_secret_volume_source.rb index d1803140..594a3887 100644 --- a/kubernetes/lib/kubernetes/models/v1_secret_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_secret_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_security_context.rb b/kubernetes/lib/kubernetes/models/v1_security_context.rb index 3d3f633a..e865b864 100644 --- a/kubernetes/lib/kubernetes/models/v1_security_context.rb +++ b/kubernetes/lib/kubernetes/models/v1_security_context.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,9 +24,15 @@ class V1SecurityContext # Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. attr_accessor :privileged + # procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. + attr_accessor :proc_mount + # Whether this container has a read-only root filesystem. Default is false. attr_accessor :read_only_root_filesystem + # The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + attr_accessor :run_as_group + # Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. attr_accessor :run_as_non_root @@ -43,7 +49,9 @@ def self.attribute_map :'allow_privilege_escalation' => :'allowPrivilegeEscalation', :'capabilities' => :'capabilities', :'privileged' => :'privileged', + :'proc_mount' => :'procMount', :'read_only_root_filesystem' => :'readOnlyRootFilesystem', + :'run_as_group' => :'runAsGroup', :'run_as_non_root' => :'runAsNonRoot', :'run_as_user' => :'runAsUser', :'se_linux_options' => :'seLinuxOptions' @@ -56,7 +64,9 @@ def self.swagger_types :'allow_privilege_escalation' => :'BOOLEAN', :'capabilities' => :'V1Capabilities', :'privileged' => :'BOOLEAN', + :'proc_mount' => :'String', :'read_only_root_filesystem' => :'BOOLEAN', + :'run_as_group' => :'Integer', :'run_as_non_root' => :'BOOLEAN', :'run_as_user' => :'Integer', :'se_linux_options' => :'V1SELinuxOptions' @@ -83,10 +93,18 @@ def initialize(attributes = {}) self.privileged = attributes[:'privileged'] end + if attributes.has_key?(:'procMount') + self.proc_mount = attributes[:'procMount'] + end + if attributes.has_key?(:'readOnlyRootFilesystem') self.read_only_root_filesystem = attributes[:'readOnlyRootFilesystem'] end + if attributes.has_key?(:'runAsGroup') + self.run_as_group = attributes[:'runAsGroup'] + end + if attributes.has_key?(:'runAsNonRoot') self.run_as_non_root = attributes[:'runAsNonRoot'] end @@ -122,7 +140,9 @@ def ==(o) allow_privilege_escalation == o.allow_privilege_escalation && capabilities == o.capabilities && privileged == o.privileged && + proc_mount == o.proc_mount && read_only_root_filesystem == o.read_only_root_filesystem && + run_as_group == o.run_as_group && run_as_non_root == o.run_as_non_root && run_as_user == o.run_as_user && se_linux_options == o.se_linux_options @@ -137,7 +157,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allow_privilege_escalation, capabilities, privileged, read_only_root_filesystem, run_as_non_root, run_as_user, se_linux_options].hash + [allow_privilege_escalation, capabilities, privileged, proc_mount, read_only_root_filesystem, run_as_group, run_as_non_root, run_as_user, se_linux_options].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_self_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1_self_subject_access_review.rb index feb0d33d..34a9e4df 100644 --- a/kubernetes/lib/kubernetes/models/v1_self_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1_self_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_self_subject_access_review_spec.rb b/kubernetes/lib/kubernetes/models/v1_self_subject_access_review_spec.rb index ce2e0ede..96255d3a 100644 --- a/kubernetes/lib/kubernetes/models/v1_self_subject_access_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_self_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review.rb b/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review.rb index 9494092f..795dc0fd 100644 --- a/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review.rb +++ b/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb b/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb index 1a1ee62a..7ac2d441 100644 --- a/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_self_subject_rules_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_server_address_by_client_cidr.rb b/kubernetes/lib/kubernetes/models/v1_server_address_by_client_cidr.rb index 5bd7b0f8..7e38eb36 100644 --- a/kubernetes/lib/kubernetes/models/v1_server_address_by_client_cidr.rb +++ b/kubernetes/lib/kubernetes/models/v1_server_address_by_client_cidr.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_service.rb b/kubernetes/lib/kubernetes/models/v1_service.rb index 692bf5e9..20385931 100644 --- a/kubernetes/lib/kubernetes/models/v1_service.rb +++ b/kubernetes/lib/kubernetes/models/v1_service.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_service_account.rb b/kubernetes/lib/kubernetes/models/v1_service_account.rb index 1eefe2fe..85fff0ca 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_account.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_account.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_service_account_list.rb b/kubernetes/lib/kubernetes/models/v1_service_account_list.rb index 08a91408..eb11fed7 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_account_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_account_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_service_account_token_projection.rb b/kubernetes/lib/kubernetes/models/v1_service_account_token_projection.rb new file mode 100644 index 00000000..9008a83e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_service_account_token_projection.rb @@ -0,0 +1,214 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise). + class V1ServiceAccountTokenProjection + # Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver. + attr_accessor :audience + + # ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes. + attr_accessor :expiration_seconds + + # Path is the path relative to the mount point of the file to project the token into. + attr_accessor :path + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'audience' => :'audience', + :'expiration_seconds' => :'expirationSeconds', + :'path' => :'path' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'audience' => :'String', + :'expiration_seconds' => :'Integer', + :'path' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'audience') + self.audience = attributes[:'audience'] + end + + if attributes.has_key?(:'expirationSeconds') + self.expiration_seconds = attributes[:'expirationSeconds'] + end + + if attributes.has_key?(:'path') + self.path = attributes[:'path'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @path.nil? + invalid_properties.push("invalid value for 'path', path cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @path.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + audience == o.audience && + expiration_seconds == o.expiration_seconds && + path == o.path + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [audience, expiration_seconds, path].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_service_list.rb b/kubernetes/lib/kubernetes/models/v1_service_list.rb index 140cf620..a8b29a08 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_service_port.rb b/kubernetes/lib/kubernetes/models/v1_service_port.rb index 4751a3a0..ec301bc4 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_port.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_port.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,7 @@ class V1ServicePort # The port that will be exposed by this service. attr_accessor :port - # The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP. + # The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP. attr_accessor :protocol # Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service diff --git a/kubernetes/lib/kubernetes/models/v1beta1_service_reference.rb b/kubernetes/lib/kubernetes/models/v1_service_reference.rb similarity index 98% rename from kubernetes/lib/kubernetes/models/v1beta1_service_reference.rb rename to kubernetes/lib/kubernetes/models/v1_service_reference.rb index b8f97f06..e91cd23a 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_service_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,7 +14,7 @@ module Kubernetes # ServiceReference holds a reference to Service.legacy.k8s.io - class V1beta1ServiceReference + class V1ServiceReference # Name is the name of the service attr_accessor :name diff --git a/kubernetes/lib/kubernetes/models/v1_service_spec.rb b/kubernetes/lib/kubernetes/models/v1_service_spec.rb index fb1b935c..91ce9224 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1ServiceSpec # externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system. attr_accessor :external_i_ps - # externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName. + # externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName. attr_accessor :external_name # externalTrafficPolicy denotes if this Service desires to route external traffic to node-local or cluster-wide endpoints. \"Local\" preserves the client source IP and avoids a second hop for LoadBalancer and Nodeport type services, but risks potentially imbalanced traffic spreading. \"Cluster\" obscures the client source IP and may cause a second hop to another node, but should have good overall load-spreading. @@ -39,7 +39,7 @@ class V1ServiceSpec # The list of ports that are exposed by this service. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies attr_accessor :ports - # publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field. + # publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. attr_accessor :publish_not_ready_addresses # Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: https://kubernetes.io/docs/concepts/services-networking/service/ diff --git a/kubernetes/lib/kubernetes/models/v1_service_status.rb b/kubernetes/lib/kubernetes/models/v1_service_status.rb index 685cf9df..4046efcb 100644 --- a/kubernetes/lib/kubernetes/models/v1_service_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_service_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_session_affinity_config.rb b/kubernetes/lib/kubernetes/models/v1_session_affinity_config.rb index 97e1d1ca..bf7a1ea2 100644 --- a/kubernetes/lib/kubernetes/models/v1_session_affinity_config.rb +++ b/kubernetes/lib/kubernetes/models/v1_session_affinity_config.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set.rb new file mode 100644 index 00000000..19448287 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set.rb @@ -0,0 +1,228 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + class V1StatefulSet + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + # Spec defines the desired identities of pods in this set. + attr_accessor :spec + + # Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1StatefulSetSpec', + :'status' => :'V1StatefulSetStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set_condition.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set_condition.rb new file mode 100644 index 00000000..41d857db --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetCondition describes the state of a statefulset at a certain point. + class V1StatefulSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of statefulset condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set_list.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set_list.rb new file mode 100644 index 00000000..f11165cf --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set_list.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetList is a collection of StatefulSets. + class V1StatefulSetList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set_spec.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set_spec.rb new file mode 100644 index 00000000..91bb951e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set_spec.rb @@ -0,0 +1,276 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # A StatefulSetSpec is the specification of a StatefulSet. + class V1StatefulSetSpec + # podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once. + attr_accessor :pod_management_policy + + # replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1. + attr_accessor :replicas + + # revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. + attr_accessor :revision_history_limit + + # selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + attr_accessor :selector + + # serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. + attr_accessor :service_name + + # template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. + attr_accessor :template + + # updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template. + attr_accessor :update_strategy + + # volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name. + attr_accessor :volume_claim_templates + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'pod_management_policy' => :'podManagementPolicy', + :'replicas' => :'replicas', + :'revision_history_limit' => :'revisionHistoryLimit', + :'selector' => :'selector', + :'service_name' => :'serviceName', + :'template' => :'template', + :'update_strategy' => :'updateStrategy', + :'volume_claim_templates' => :'volumeClaimTemplates' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'pod_management_policy' => :'String', + :'replicas' => :'Integer', + :'revision_history_limit' => :'Integer', + :'selector' => :'V1LabelSelector', + :'service_name' => :'String', + :'template' => :'V1PodTemplateSpec', + :'update_strategy' => :'V1StatefulSetUpdateStrategy', + :'volume_claim_templates' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'podManagementPolicy') + self.pod_management_policy = attributes[:'podManagementPolicy'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + if attributes.has_key?(:'revisionHistoryLimit') + self.revision_history_limit = attributes[:'revisionHistoryLimit'] + end + + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + + if attributes.has_key?(:'serviceName') + self.service_name = attributes[:'serviceName'] + end + + if attributes.has_key?(:'template') + self.template = attributes[:'template'] + end + + if attributes.has_key?(:'updateStrategy') + self.update_strategy = attributes[:'updateStrategy'] + end + + if attributes.has_key?(:'volumeClaimTemplates') + if (value = attributes[:'volumeClaimTemplates']).is_a?(Array) + self.volume_claim_templates = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + + if @service_name.nil? + invalid_properties.push("invalid value for 'service_name', service_name cannot be nil.") + end + + if @template.nil? + invalid_properties.push("invalid value for 'template', template cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @selector.nil? + return false if @service_name.nil? + return false if @template.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + pod_management_policy == o.pod_management_policy && + replicas == o.replicas && + revision_history_limit == o.revision_history_limit && + selector == o.selector && + service_name == o.service_name && + template == o.template && + update_strategy == o.update_strategy && + volume_claim_templates == o.volume_claim_templates + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [pod_management_policy, replicas, revision_history_limit, selector, service_name, template, update_strategy, volume_claim_templates].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set_status.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set_status.rb new file mode 100644 index 00000000..4c085df1 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set_status.rb @@ -0,0 +1,276 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetStatus represents the current state of a StatefulSet. + class V1StatefulSetStatus + # collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. + attr_accessor :collision_count + + # Represents the latest available observations of a statefulset's current state. + attr_accessor :conditions + + # currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. + attr_accessor :current_replicas + + # currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas). + attr_accessor :current_revision + + # observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server. + attr_accessor :observed_generation + + # readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition. + attr_accessor :ready_replicas + + # replicas is the number of Pods created by the StatefulSet controller. + attr_accessor :replicas + + # updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas) + attr_accessor :update_revision + + # updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision. + attr_accessor :updated_replicas + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', + :'current_replicas' => :'currentReplicas', + :'current_revision' => :'currentRevision', + :'observed_generation' => :'observedGeneration', + :'ready_replicas' => :'readyReplicas', + :'replicas' => :'replicas', + :'update_revision' => :'updateRevision', + :'updated_replicas' => :'updatedReplicas' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'collision_count' => :'Integer', + :'conditions' => :'Array', + :'current_replicas' => :'Integer', + :'current_revision' => :'String', + :'observed_generation' => :'Integer', + :'ready_replicas' => :'Integer', + :'replicas' => :'Integer', + :'update_revision' => :'String', + :'updated_replicas' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'collisionCount') + self.collision_count = attributes[:'collisionCount'] + end + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + if attributes.has_key?(:'currentReplicas') + self.current_replicas = attributes[:'currentReplicas'] + end + + if attributes.has_key?(:'currentRevision') + self.current_revision = attributes[:'currentRevision'] + end + + if attributes.has_key?(:'observedGeneration') + self.observed_generation = attributes[:'observedGeneration'] + end + + if attributes.has_key?(:'readyReplicas') + self.ready_replicas = attributes[:'readyReplicas'] + end + + if attributes.has_key?(:'replicas') + self.replicas = attributes[:'replicas'] + end + + if attributes.has_key?(:'updateRevision') + self.update_revision = attributes[:'updateRevision'] + end + + if attributes.has_key?(:'updatedReplicas') + self.updated_replicas = attributes[:'updatedReplicas'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @replicas.nil? + invalid_properties.push("invalid value for 'replicas', replicas cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @replicas.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + collision_count == o.collision_count && + conditions == o.conditions && + current_replicas == o.current_replicas && + current_revision == o.current_revision && + observed_generation == o.observed_generation && + ready_replicas == o.ready_replicas && + replicas == o.replicas && + update_revision == o.update_revision && + updated_replicas == o.updated_replicas + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [collision_count, conditions, current_replicas, current_revision, observed_generation, ready_replicas, replicas, update_revision, updated_replicas].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_stateful_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1_stateful_set_update_strategy.rb new file mode 100644 index 00000000..ace83c45 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_stateful_set_update_strategy.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy. + class V1StatefulSetUpdateStrategy + # RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType. + attr_accessor :rolling_update + + # Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'rolling_update' => :'rollingUpdate', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'rolling_update' => :'V1RollingUpdateStatefulSetStrategy', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'rollingUpdate') + self.rolling_update = attributes[:'rollingUpdate'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + rolling_update == o.rolling_update && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [rolling_update, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_status.rb b/kubernetes/lib/kubernetes/models/v1_status.rb index beb3573a..3c9174b5 100644 --- a/kubernetes/lib/kubernetes/models/v1_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_status_cause.rb b/kubernetes/lib/kubernetes/models/v1_status_cause.rb index daf564ca..8e1621ba 100644 --- a/kubernetes/lib/kubernetes/models/v1_status_cause.rb +++ b/kubernetes/lib/kubernetes/models/v1_status_cause.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_status_details.rb b/kubernetes/lib/kubernetes/models/v1_status_details.rb index f38c9abf..e672fe20 100644 --- a/kubernetes/lib/kubernetes/models/v1_status_details.rb +++ b/kubernetes/lib/kubernetes/models/v1_status_details.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_storage_class.rb b/kubernetes/lib/kubernetes/models/v1_storage_class.rb index 19ad1427..f799638c 100644 --- a/kubernetes/lib/kubernetes/models/v1_storage_class.rb +++ b/kubernetes/lib/kubernetes/models/v1_storage_class.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1StorageClass # AllowVolumeExpansion shows whether the storage class allow volume expand attr_accessor :allow_volume_expansion + # Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. + attr_accessor :allowed_topologies + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -39,18 +42,23 @@ class V1StorageClass # Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. attr_accessor :reclaim_policy + # VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. + attr_accessor :volume_binding_mode + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'allow_volume_expansion' => :'allowVolumeExpansion', + :'allowed_topologies' => :'allowedTopologies', :'api_version' => :'apiVersion', :'kind' => :'kind', :'metadata' => :'metadata', :'mount_options' => :'mountOptions', :'parameters' => :'parameters', :'provisioner' => :'provisioner', - :'reclaim_policy' => :'reclaimPolicy' + :'reclaim_policy' => :'reclaimPolicy', + :'volume_binding_mode' => :'volumeBindingMode' } end @@ -58,13 +66,15 @@ def self.attribute_map def self.swagger_types { :'allow_volume_expansion' => :'BOOLEAN', + :'allowed_topologies' => :'Array', :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', :'mount_options' => :'Array', :'parameters' => :'Hash', :'provisioner' => :'String', - :'reclaim_policy' => :'String' + :'reclaim_policy' => :'String', + :'volume_binding_mode' => :'String' } end @@ -80,6 +90,12 @@ def initialize(attributes = {}) self.allow_volume_expansion = attributes[:'allowVolumeExpansion'] end + if attributes.has_key?(:'allowedTopologies') + if (value = attributes[:'allowedTopologies']).is_a?(Array) + self.allowed_topologies = value + end + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -112,6 +128,10 @@ def initialize(attributes = {}) self.reclaim_policy = attributes[:'reclaimPolicy'] end + if attributes.has_key?(:'volumeBindingMode') + self.volume_binding_mode = attributes[:'volumeBindingMode'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -138,13 +158,15 @@ def ==(o) return true if self.equal?(o) self.class == o.class && allow_volume_expansion == o.allow_volume_expansion && + allowed_topologies == o.allowed_topologies && api_version == o.api_version && kind == o.kind && metadata == o.metadata && mount_options == o.mount_options && parameters == o.parameters && provisioner == o.provisioner && - reclaim_policy == o.reclaim_policy + reclaim_policy == o.reclaim_policy && + volume_binding_mode == o.volume_binding_mode end # @see the `==` method @@ -156,7 +178,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allow_volume_expansion, api_version, kind, metadata, mount_options, parameters, provisioner, reclaim_policy].hash + [allow_volume_expansion, allowed_topologies, api_version, kind, metadata, mount_options, parameters, provisioner, reclaim_policy, volume_binding_mode].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_storage_class_list.rb b/kubernetes/lib/kubernetes/models/v1_storage_class_list.rb index 5d5330de..719aaf13 100644 --- a/kubernetes/lib/kubernetes/models/v1_storage_class_list.rb +++ b/kubernetes/lib/kubernetes/models/v1_storage_class_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb index ef84c26d..1d520430 100644 --- a/kubernetes/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_storage_os_persistent_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_storage_os_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_storage_os_volume_source.rb index bafa23c7..3d766e32 100644 --- a/kubernetes/lib/kubernetes/models/v1_storage_os_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_storage_os_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_subject.rb b/kubernetes/lib/kubernetes/models/v1_subject.rb index 0a59adfc..5a4fb64f 100644 --- a/kubernetes/lib/kubernetes/models/v1_subject.rb +++ b/kubernetes/lib/kubernetes/models/v1_subject.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1_subject_access_review.rb index 180e9369..8e8d7306 100644 --- a/kubernetes/lib/kubernetes/models/v1_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_subject_access_review_spec.rb b/kubernetes/lib/kubernetes/models/v1_subject_access_review_spec.rb index 1ee23d30..f822a691 100644 --- a/kubernetes/lib/kubernetes/models/v1_subject_access_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_subject_access_review_status.rb b/kubernetes/lib/kubernetes/models/v1_subject_access_review_status.rb index 7f115492..8f290bcc 100644 --- a/kubernetes/lib/kubernetes/models/v1_subject_access_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_subject_access_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,9 +15,12 @@ module Kubernetes # SubjectAccessReviewStatus class V1SubjectAccessReviewStatus - # Allowed is required. True if the action would be allowed, false otherwise. + # Allowed is required. True if the action would be allowed, false otherwise. attr_accessor :allowed + # Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. + attr_accessor :denied + # EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. attr_accessor :evaluation_error @@ -29,6 +32,7 @@ class V1SubjectAccessReviewStatus def self.attribute_map { :'allowed' => :'allowed', + :'denied' => :'denied', :'evaluation_error' => :'evaluationError', :'reason' => :'reason' } @@ -38,6 +42,7 @@ def self.attribute_map def self.swagger_types { :'allowed' => :'BOOLEAN', + :'denied' => :'BOOLEAN', :'evaluation_error' => :'String', :'reason' => :'String' } @@ -55,6 +60,10 @@ def initialize(attributes = {}) self.allowed = attributes[:'allowed'] end + if attributes.has_key?(:'denied') + self.denied = attributes[:'denied'] + end + if attributes.has_key?(:'evaluationError') self.evaluation_error = attributes[:'evaluationError'] end @@ -89,6 +98,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && allowed == o.allowed && + denied == o.denied && evaluation_error == o.evaluation_error && reason == o.reason end @@ -102,7 +112,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allowed, evaluation_error, reason].hash + [allowed, denied, evaluation_error, reason].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_subject_rules_review_status.rb b/kubernetes/lib/kubernetes/models/v1_subject_rules_review_status.rb index 50291c25..8101dc5b 100644 --- a/kubernetes/lib/kubernetes/models/v1_subject_rules_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_subject_rules_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_sysctl.rb b/kubernetes/lib/kubernetes/models/v1_sysctl.rb new file mode 100644 index 00000000..70087dcb --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_sysctl.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Sysctl defines a kernel parameter to be set + class V1Sysctl + # Name of a property to set + attr_accessor :name + + # Value of a property to set + attr_accessor :value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'value' => :'value' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'value' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'value') + self.value = attributes[:'value'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @value.nil? + invalid_properties.push("invalid value for 'value', value cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @value.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + value == o.value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_taint.rb b/kubernetes/lib/kubernetes/models/v1_taint.rb index 017cfe52..1d8bc0cf 100644 --- a/kubernetes/lib/kubernetes/models/v1_taint.rb +++ b/kubernetes/lib/kubernetes/models/v1_taint.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_tcp_socket_action.rb b/kubernetes/lib/kubernetes/models/v1_tcp_socket_action.rb index 45554153..df53f491 100644 --- a/kubernetes/lib/kubernetes/models/v1_tcp_socket_action.rb +++ b/kubernetes/lib/kubernetes/models/v1_tcp_socket_action.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_token_review.rb b/kubernetes/lib/kubernetes/models/v1_token_review.rb index 033cc96e..10068c9e 100644 --- a/kubernetes/lib/kubernetes/models/v1_token_review.rb +++ b/kubernetes/lib/kubernetes/models/v1_token_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_token_review_spec.rb b/kubernetes/lib/kubernetes/models/v1_token_review_spec.rb index aafcac98..aea5308e 100644 --- a/kubernetes/lib/kubernetes/models/v1_token_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1_token_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # TokenReviewSpec is a description of the token authentication request. class V1TokenReviewSpec + # Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + attr_accessor :audiences + # Token is the opaque bearer token. attr_accessor :token @@ -22,6 +25,7 @@ class V1TokenReviewSpec # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'audiences' => :'audiences', :'token' => :'token' } end @@ -29,6 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'audiences' => :'Array', :'token' => :'String' } end @@ -41,6 +46,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'audiences') + if (value = attributes[:'audiences']).is_a?(Array) + self.audiences = value + end + end + if attributes.has_key?(:'token') self.token = attributes[:'token'] end @@ -65,6 +76,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + audiences == o.audiences && token == o.token end @@ -77,7 +89,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [token].hash + [audiences, token].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_token_review_status.rb b/kubernetes/lib/kubernetes/models/v1_token_review_status.rb index f3e3c139..2e30f0a4 100644 --- a/kubernetes/lib/kubernetes/models/v1_token_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1_token_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # TokenReviewStatus is the result of the token authentication request. class V1TokenReviewStatus + # Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + attr_accessor :audiences + # Authenticated indicates that the token was associated with a known user. attr_accessor :authenticated @@ -28,6 +31,7 @@ class V1TokenReviewStatus # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'audiences' => :'audiences', :'authenticated' => :'authenticated', :'error' => :'error', :'user' => :'user' @@ -37,6 +41,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'audiences' => :'Array', :'authenticated' => :'BOOLEAN', :'error' => :'String', :'user' => :'V1UserInfo' @@ -51,6 +56,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'audiences') + if (value = attributes[:'audiences']).is_a?(Array) + self.audiences = value + end + end + if attributes.has_key?(:'authenticated') self.authenticated = attributes[:'authenticated'] end @@ -83,6 +94,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + audiences == o.audiences && authenticated == o.authenticated && error == o.error && user == o.user @@ -97,7 +109,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [authenticated, error, user].hash + [audiences, authenticated, error, user].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_toleration.rb b/kubernetes/lib/kubernetes/models/v1_toleration.rb index 5b58b5a1..d9200d9f 100644 --- a/kubernetes/lib/kubernetes/models/v1_toleration.rb +++ b/kubernetes/lib/kubernetes/models/v1_toleration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_array.rb b/kubernetes/lib/kubernetes/models/v1_topology_selector_label_requirement.rb similarity index 81% rename from kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_array.rb rename to kubernetes/lib/kubernetes/models/v1_topology_selector_label_requirement.rb index 32ff345a..ef736a6f 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_array.rb +++ b/kubernetes/lib/kubernetes/models/v1_topology_selector_label_requirement.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,26 +13,28 @@ require 'date' module Kubernetes - # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. - class V1beta1JSONSchemaPropsOrArray - attr_accessor :json_schemas + # A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future. + class V1TopologySelectorLabelRequirement + # The label key that the selector applies to. + attr_accessor :key - attr_accessor :schema + # An array of string values. One value must match the label to be selected. Each entry in Values is ORed. + attr_accessor :values # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'json_schemas' => :'JSONSchemas', - :'schema' => :'Schema' + :'key' => :'key', + :'values' => :'values' } end # Attribute type mapping. def self.swagger_types { - :'json_schemas' => :'Array', - :'schema' => :'V1beta1JSONSchemaProps' + :'key' => :'String', + :'values' => :'Array' } end @@ -44,14 +46,14 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'JSONSchemas') - if (value = attributes[:'JSONSchemas']).is_a?(Array) - self.json_schemas = value - end + if attributes.has_key?(:'key') + self.key = attributes[:'key'] end - if attributes.has_key?(:'Schema') - self.schema = attributes[:'Schema'] + if attributes.has_key?(:'values') + if (value = attributes[:'values']).is_a?(Array) + self.values = value + end end end @@ -60,12 +62,12 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @json_schemas.nil? - invalid_properties.push("invalid value for 'json_schemas', json_schemas cannot be nil.") + if @key.nil? + invalid_properties.push("invalid value for 'key', key cannot be nil.") end - if @schema.nil? - invalid_properties.push("invalid value for 'schema', schema cannot be nil.") + if @values.nil? + invalid_properties.push("invalid value for 'values', values cannot be nil.") end return invalid_properties @@ -74,8 +76,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @json_schemas.nil? - return false if @schema.nil? + return false if @key.nil? + return false if @values.nil? return true end @@ -84,8 +86,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - json_schemas == o.json_schemas && - schema == o.schema + key == o.key && + values == o.values end # @see the `==` method @@ -97,7 +99,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [json_schemas, schema].hash + [key, values].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_topology_selector_term.rb b/kubernetes/lib/kubernetes/models/v1_topology_selector_term.rb new file mode 100644 index 00000000..c2ec48a7 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_topology_selector_term.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future. + class V1TopologySelectorTerm + # A list of topology selector requirements by labels. + attr_accessor :match_label_expressions + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'match_label_expressions' => :'matchLabelExpressions' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'match_label_expressions' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'matchLabelExpressions') + if (value = attributes[:'matchLabelExpressions']).is_a?(Array) + self.match_label_expressions = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + match_label_expressions == o.match_label_expressions + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [match_label_expressions].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_typed_local_object_reference.rb b/kubernetes/lib/kubernetes/models/v1_typed_local_object_reference.rb new file mode 100644 index 00000000..6dd52b57 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_typed_local_object_reference.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. + class V1TypedLocalObjectReference + # APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. + attr_accessor :api_group + + # Kind is the type of resource being referenced + attr_accessor :kind + + # Name is the name of resource being referenced + attr_accessor :name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_group' => :'apiGroup', + :'kind' => :'kind', + :'name' => :'name' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_group' => :'String', + :'kind' => :'String', + :'name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiGroup') + self.api_group = attributes[:'apiGroup'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @kind.nil? + invalid_properties.push("invalid value for 'kind', kind cannot be nil.") + end + + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @kind.nil? + return false if @name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_group == o.api_group && + kind == o.kind && + name == o.name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_group, kind, name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_user_info.rb b/kubernetes/lib/kubernetes/models/v1_user_info.rb index 2db9bd2f..3c27368b 100644 --- a/kubernetes/lib/kubernetes/models/v1_user_info.rb +++ b/kubernetes/lib/kubernetes/models/v1_user_info.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_volume.rb b/kubernetes/lib/kubernetes/models/v1_volume.rb index bf991b17..064ac3e9 100644 --- a/kubernetes/lib/kubernetes/models/v1_volume.rb +++ b/kubernetes/lib/kubernetes/models/v1_volume.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -42,7 +42,7 @@ class V1Volume # FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. attr_accessor :fc - # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + # FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. attr_accessor :flex_volume # Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running @@ -51,7 +51,7 @@ class V1Volume # GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk attr_accessor :gce_persistent_disk - # GitRepo represents a git repository at a particular revision. + # GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container. attr_accessor :git_repo # Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md diff --git a/kubernetes/lib/kubernetes/models/v1_volume_attachment.rb b/kubernetes/lib/kubernetes/models/v1_volume_attachment.rb new file mode 100644 index 00000000..eeea6d07 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_attachment.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + class V1VolumeAttachment + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. + attr_accessor :spec + + # Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1VolumeAttachmentSpec', + :'status' => :'V1VolumeAttachmentStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @spec.nil? + invalid_properties.push("invalid value for 'spec', spec cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @spec.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_attachment_list.rb b/kubernetes/lib/kubernetes/models/v1_volume_attachment_list.rb new file mode 100644 index 00000000..32fc2bdb --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_attachment_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentList is a collection of VolumeAttachment objects. + class V1VolumeAttachmentList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is the list of VolumeAttachments + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_attachment_source.rb b/kubernetes/lib/kubernetes/models/v1_volume_attachment_source.rb new file mode 100644 index 00000000..3b7572c6 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_attachment_source.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + class V1VolumeAttachmentSource + # Name of the persistent volume to attach. + attr_accessor :persistent_volume_name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'persistent_volume_name' => :'persistentVolumeName' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'persistent_volume_name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'persistentVolumeName') + self.persistent_volume_name = attributes[:'persistentVolumeName'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + persistent_volume_name == o.persistent_volume_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [persistent_volume_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_attachment_spec.rb b/kubernetes/lib/kubernetes/models/v1_volume_attachment_spec.rb new file mode 100644 index 00000000..f29bcc1e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_attachment_spec.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSpec is the specification of a VolumeAttachment request. + class V1VolumeAttachmentSpec + # Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + attr_accessor :attacher + + # The node that the volume should be attached to. + attr_accessor :node_name + + # Source represents the volume that should be attached. + attr_accessor :source + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attacher' => :'attacher', + :'node_name' => :'nodeName', + :'source' => :'source' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attacher' => :'String', + :'node_name' => :'String', + :'source' => :'V1VolumeAttachmentSource' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attacher') + self.attacher = attributes[:'attacher'] + end + + if attributes.has_key?(:'nodeName') + self.node_name = attributes[:'nodeName'] + end + + if attributes.has_key?(:'source') + self.source = attributes[:'source'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attacher.nil? + invalid_properties.push("invalid value for 'attacher', attacher cannot be nil.") + end + + if @node_name.nil? + invalid_properties.push("invalid value for 'node_name', node_name cannot be nil.") + end + + if @source.nil? + invalid_properties.push("invalid value for 'source', source cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attacher.nil? + return false if @node_name.nil? + return false if @source.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attacher == o.attacher && + node_name == o.node_name && + source == o.source + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attacher, node_name, source].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_attachment_status.rb b/kubernetes/lib/kubernetes/models/v1_volume_attachment_status.rb new file mode 100644 index 00000000..03aa6c38 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_attachment_status.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentStatus is the status of a VolumeAttachment request. + class V1VolumeAttachmentStatus + # The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attach_error + + # Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attached + + # Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attachment_metadata + + # The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. + attr_accessor :detach_error + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attach_error' => :'attachError', + :'attached' => :'attached', + :'attachment_metadata' => :'attachmentMetadata', + :'detach_error' => :'detachError' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attach_error' => :'V1VolumeError', + :'attached' => :'BOOLEAN', + :'attachment_metadata' => :'Hash', + :'detach_error' => :'V1VolumeError' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attachError') + self.attach_error = attributes[:'attachError'] + end + + if attributes.has_key?(:'attached') + self.attached = attributes[:'attached'] + end + + if attributes.has_key?(:'attachmentMetadata') + if (value = attributes[:'attachmentMetadata']).is_a?(Array) + self.attachment_metadata = value + end + end + + if attributes.has_key?(:'detachError') + self.detach_error = attributes[:'detachError'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attached.nil? + invalid_properties.push("invalid value for 'attached', attached cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attached.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attach_error == o.attach_error && + attached == o.attached && + attachment_metadata == o.attachment_metadata && + detach_error == o.detach_error + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attach_error, attached, attachment_metadata, detach_error].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_device.rb b/kubernetes/lib/kubernetes/models/v1_volume_device.rb new file mode 100644 index 00000000..57983597 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_device.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # volumeDevice describes a mapping of a raw block device within a container. + class V1VolumeDevice + # devicePath is the path inside of the container that the device will be mapped to. + attr_accessor :device_path + + # name must match the name of a persistentVolumeClaim in the pod + attr_accessor :name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'device_path' => :'devicePath', + :'name' => :'name' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'device_path' => :'String', + :'name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'devicePath') + self.device_path = attributes[:'devicePath'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @device_path.nil? + invalid_properties.push("invalid value for 'device_path', device_path cannot be nil.") + end + + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @device_path.nil? + return false if @name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + device_path == o.device_path && + name == o.name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [device_path, name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_error.rb b/kubernetes/lib/kubernetes/models/v1_volume_error.rb new file mode 100644 index 00000000..0420ca27 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_error.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeError captures an error encountered during a volume operation. + class V1VolumeError + # String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + attr_accessor :message + + # Time the error was encountered. + attr_accessor :time + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'message' => :'message', + :'time' => :'time' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'message' => :'String', + :'time' => :'DateTime' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'time') + self.time = attributes[:'time'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + message == o.message && + time == o.time + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [message, time].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_mount.rb b/kubernetes/lib/kubernetes/models/v1_volume_mount.rb index 6c49c5bf..743fbce8 100644 --- a/kubernetes/lib/kubernetes/models/v1_volume_mount.rb +++ b/kubernetes/lib/kubernetes/models/v1_volume_mount.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,7 +18,7 @@ class V1VolumeMount # Path within the container at which the volume should be mounted. Must not contain ':'. attr_accessor :mount_path - # mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release. + # mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. attr_accessor :mount_propagation # This must match the Name of a Volume. diff --git a/kubernetes/lib/kubernetes/models/v1_volume_node_affinity.rb b/kubernetes/lib/kubernetes/models/v1_volume_node_affinity.rb new file mode 100644 index 00000000..d2e93061 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1_volume_node_affinity.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from. + class V1VolumeNodeAffinity + # Required specifies hard node constraints that must be met. + attr_accessor :required + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'required' => :'required' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'required' => :'V1NodeSelector' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'required') + self.required = attributes[:'required'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + required == o.required + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [required].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1_volume_projection.rb b/kubernetes/lib/kubernetes/models/v1_volume_projection.rb index 8bcad2ad..6b628ac6 100644 --- a/kubernetes/lib/kubernetes/models/v1_volume_projection.rb +++ b/kubernetes/lib/kubernetes/models/v1_volume_projection.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,13 +24,17 @@ class V1VolumeProjection # information about the secret data to project attr_accessor :secret + # information about the serviceAccountToken data to project + attr_accessor :service_account_token + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'config_map' => :'configMap', :'downward_api' => :'downwardAPI', - :'secret' => :'secret' + :'secret' => :'secret', + :'service_account_token' => :'serviceAccountToken' } end @@ -39,7 +43,8 @@ def self.swagger_types { :'config_map' => :'V1ConfigMapProjection', :'downward_api' => :'V1DownwardAPIProjection', - :'secret' => :'V1SecretProjection' + :'secret' => :'V1SecretProjection', + :'service_account_token' => :'V1ServiceAccountTokenProjection' } end @@ -63,6 +68,10 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end + if attributes.has_key?(:'serviceAccountToken') + self.service_account_token = attributes[:'serviceAccountToken'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -85,7 +94,8 @@ def ==(o) self.class == o.class && config_map == o.config_map && downward_api == o.downward_api && - secret == o.secret + secret == o.secret && + service_account_token == o.service_account_token end # @see the `==` method @@ -97,7 +107,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [config_map, downward_api, secret].hash + [config_map, downward_api, secret, service_account_token].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb b/kubernetes/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb index 5ea33fe6..d071dee3 100644 --- a/kubernetes/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb +++ b/kubernetes/lib/kubernetes/models/v1_vsphere_virtual_disk_volume_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_watch_event.rb b/kubernetes/lib/kubernetes/models/v1_watch_event.rb index 348cf8ce..ff0ecb46 100644 --- a/kubernetes/lib/kubernetes/models/v1_watch_event.rb +++ b/kubernetes/lib/kubernetes/models/v1_watch_event.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb b/kubernetes/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb index 11055c54..ef23a6e4 100644 --- a/kubernetes/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb +++ b/kubernetes/lib/kubernetes/models/v1_weighted_pod_affinity_term.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_aggregation_rule.rb b/kubernetes/lib/kubernetes/models/v1alpha1_aggregation_rule.rb new file mode 100644 index 00000000..22f9b70a --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_aggregation_rule.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + class V1alpha1AggregationRule + # ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added + attr_accessor :cluster_role_selectors + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'cluster_role_selectors' => :'clusterRoleSelectors' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'cluster_role_selectors' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'clusterRoleSelectors') + if (value = attributes[:'clusterRoleSelectors']).is_a?(Array) + self.cluster_role_selectors = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + cluster_role_selectors == o.cluster_role_selectors + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [cluster_role_selectors].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink.rb b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink.rb new file mode 100644 index 00000000..29d4c9cd --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink.rb @@ -0,0 +1,218 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AuditSink represents a cluster level audit sink + class V1alpha1AuditSink + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + # Spec defines the audit configuration spec + attr_accessor :spec + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1alpha1AuditSinkSpec' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_list.rb new file mode 100644 index 00000000..0c9142b4 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_list.rb @@ -0,0 +1,225 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AuditSinkList is a list of AuditSink items. + class V1alpha1AuditSinkList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # List of audit configurations. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_string_array.rb b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb similarity index 83% rename from kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_string_array.rb rename to kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb index 8145a9fa..2da59dc5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_string_array.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_audit_sink_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,26 +13,28 @@ require 'date' module Kubernetes - # JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. - class V1beta1JSONSchemaPropsOrStringArray - attr_accessor :property + # AuditSinkSpec holds the spec for the audit sink + class V1alpha1AuditSinkSpec + # Policy defines the policy for selecting which events should be sent to the webhook required + attr_accessor :policy - attr_accessor :schema + # Webhook to send events required + attr_accessor :webhook # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'property' => :'Property', - :'schema' => :'Schema' + :'policy' => :'policy', + :'webhook' => :'webhook' } end # Attribute type mapping. def self.swagger_types { - :'property' => :'Array', - :'schema' => :'V1beta1JSONSchemaProps' + :'policy' => :'V1alpha1Policy', + :'webhook' => :'V1alpha1Webhook' } end @@ -44,14 +46,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'Property') - if (value = attributes[:'Property']).is_a?(Array) - self.property = value - end + if attributes.has_key?(:'policy') + self.policy = attributes[:'policy'] end - if attributes.has_key?(:'Schema') - self.schema = attributes[:'Schema'] + if attributes.has_key?(:'webhook') + self.webhook = attributes[:'webhook'] end end @@ -60,12 +60,12 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @property.nil? - invalid_properties.push("invalid value for 'property', property cannot be nil.") + if @policy.nil? + invalid_properties.push("invalid value for 'policy', policy cannot be nil.") end - if @schema.nil? - invalid_properties.push("invalid value for 'schema', schema cannot be nil.") + if @webhook.nil? + invalid_properties.push("invalid value for 'webhook', webhook cannot be nil.") end return invalid_properties @@ -74,8 +74,8 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @property.nil? - return false if @schema.nil? + return false if @policy.nil? + return false if @webhook.nil? return true end @@ -84,8 +84,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - property == o.property && - schema == o.schema + policy == o.policy && + webhook == o.webhook end # @see the `==` method @@ -97,7 +97,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [property, schema].hash + [policy, webhook].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role.rb b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role.rb index 7fab0b9f..3bb0280c 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. class V1alpha1ClusterRole + # AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. + attr_accessor :aggregation_rule + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -31,6 +34,7 @@ class V1alpha1ClusterRole # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'aggregation_rule' => :'aggregationRule', :'api_version' => :'apiVersion', :'kind' => :'kind', :'metadata' => :'metadata', @@ -41,6 +45,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'aggregation_rule' => :'V1alpha1AggregationRule', :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', @@ -56,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'aggregationRule') + self.aggregation_rule = attributes[:'aggregationRule'] + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -99,6 +108,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + aggregation_rule == o.aggregation_rule && api_version == o.api_version && kind == o.kind && metadata == o.metadata && @@ -114,7 +124,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, kind, metadata, rules].hash + [aggregation_rule, api_version, kind, metadata, rules].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb index 75fb64f6..8e8e1613 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb index 4599da6e..a5ba58fc 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_list.rb index b2b32a89..2ab146b1 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_cluster_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_initializer.rb b/kubernetes/lib/kubernetes/models/v1alpha1_initializer.rb index 717b5b7f..e691a43b 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_initializer.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_initializer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration.rb b/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration.rb index b22f1532..fc05d480 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb index 83d5ebb0..10a2582d 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_initializer_configuration_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset.rb b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset.rb index 3431acfa..e527c408 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_list.rb index 0f5ca39a..dd6682d1 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb index 3b6a1c4d..9b8e2a47 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_pod_preset_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_bool.rb b/kubernetes/lib/kubernetes/models/v1alpha1_policy.rb similarity index 84% rename from kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_bool.rb rename to kubernetes/lib/kubernetes/models/v1alpha1_policy.rb index b111399a..185aa8ad 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props_or_bool.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_policy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,26 +13,28 @@ require 'date' module Kubernetes - # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. - class V1beta1JSONSchemaPropsOrBool - attr_accessor :allows + # Policy defines the configuration of how audit events are logged + class V1alpha1Policy + # The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required + attr_accessor :level - attr_accessor :schema + # Stages is a list of stages for which events are created. + attr_accessor :stages # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'allows' => :'Allows', - :'schema' => :'Schema' + :'level' => :'level', + :'stages' => :'stages' } end # Attribute type mapping. def self.swagger_types { - :'allows' => :'BOOLEAN', - :'schema' => :'V1beta1JSONSchemaProps' + :'level' => :'String', + :'stages' => :'Array' } end @@ -44,12 +46,14 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'Allows') - self.allows = attributes[:'Allows'] + if attributes.has_key?(:'level') + self.level = attributes[:'level'] end - if attributes.has_key?(:'Schema') - self.schema = attributes[:'Schema'] + if attributes.has_key?(:'stages') + if (value = attributes[:'stages']).is_a?(Array) + self.stages = value + end end end @@ -58,12 +62,8 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @allows.nil? - invalid_properties.push("invalid value for 'allows', allows cannot be nil.") - end - - if @schema.nil? - invalid_properties.push("invalid value for 'schema', schema cannot be nil.") + if @level.nil? + invalid_properties.push("invalid value for 'level', level cannot be nil.") end return invalid_properties @@ -72,8 +72,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @allows.nil? - return false if @schema.nil? + return false if @level.nil? return true end @@ -82,8 +81,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - allows == o.allows && - schema == o.schema + level == o.level && + stages == o.stages end # @see the `==` method @@ -95,7 +94,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allows, schema].hash + [level, stages].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_policy_rule.rb b/kubernetes/lib/kubernetes/models/v1alpha1_policy_rule.rb index afd9f322..46c49753 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_policy_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_policy_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_priority_class.rb b/kubernetes/lib/kubernetes/models/v1alpha1_priority_class.rb index 4d8cb829..477ea738 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_priority_class.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_priority_class.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,13 +21,13 @@ class V1alpha1PriorityClass # description is an arbitrary string that usually provides guidelines on when this priority class should be used. attr_accessor :description - # globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. + # globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. attr_accessor :global_default # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds attr_accessor :kind - # Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + # Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata attr_accessor :metadata # The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_priority_class_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_priority_class_list.rb index fac47a6d..71dc314f 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_priority_class_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_priority_class_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,7 @@ class V1alpha1PriorityClassList # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds attr_accessor :kind - # Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata + # Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata attr_accessor :metadata diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_role.rb b/kubernetes/lib/kubernetes/models/v1alpha1_role.rb index d308503f..ff9896af 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_role.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_role_binding.rb b/kubernetes/lib/kubernetes/models/v1alpha1_role_binding.rb index 5286fd1d..15026f18 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_role_binding_list.rb index 22186d42..d73187c0 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_role_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_role_list.rb index 905e6f9a..6b1eb9bd 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_role_ref.rb b/kubernetes/lib/kubernetes/models/v1alpha1_role_ref.rb index 74243b86..492c9742 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_role_ref.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_role_ref.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_rule.rb b/kubernetes/lib/kubernetes/models/v1alpha1_rule.rb index 29b45a91..ab5f6595 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_service_reference.rb b/kubernetes/lib/kubernetes/models/v1alpha1_service_reference.rb index 83f13057..a087a6cf 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_service_reference.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_service_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,18 +15,22 @@ module Kubernetes # ServiceReference holds a reference to Service.legacy.k8s.io class V1alpha1ServiceReference - # Name is the name of the service Required + # `name` is the name of the service. Required attr_accessor :name - # Namespace is the namespace of the service Required + # `namespace` is the namespace of the service. Required attr_accessor :namespace + # `path` is an optional URL path which will be sent in any request to this service. + attr_accessor :path + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'name' => :'name', - :'namespace' => :'namespace' + :'namespace' => :'namespace', + :'path' => :'path' } end @@ -34,7 +38,8 @@ def self.attribute_map def self.swagger_types { :'name' => :'String', - :'namespace' => :'String' + :'namespace' => :'String', + :'path' => :'String' } end @@ -54,6 +59,10 @@ def initialize(attributes = {}) self.namespace = attributes[:'namespace'] end + if attributes.has_key?(:'path') + self.path = attributes[:'path'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -85,7 +94,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && name == o.name && - namespace == o.namespace + namespace == o.namespace && + path == o.path end # @see the `==` method @@ -97,7 +107,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [name, namespace].hash + [name, namespace, path].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_subject.rb b/kubernetes/lib/kubernetes/models/v1alpha1_subject.rb index 1e6a2da4..57f3a68d 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_subject.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_subject.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment.rb new file mode 100644 index 00000000..b233c2b7 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + class V1alpha1VolumeAttachment + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. + attr_accessor :spec + + # Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1alpha1VolumeAttachmentSpec', + :'status' => :'V1alpha1VolumeAttachmentStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @spec.nil? + invalid_properties.push("invalid value for 'spec', spec cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @spec.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb new file mode 100644 index 00000000..47e58df8 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentList is a collection of VolumeAttachment objects. + class V1alpha1VolumeAttachmentList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is the list of VolumeAttachments + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb new file mode 100644 index 00000000..c134ca53 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_source.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + class V1alpha1VolumeAttachmentSource + # Name of the persistent volume to attach. + attr_accessor :persistent_volume_name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'persistent_volume_name' => :'persistentVolumeName' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'persistent_volume_name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'persistentVolumeName') + self.persistent_volume_name = attributes[:'persistentVolumeName'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + persistent_volume_name == o.persistent_volume_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [persistent_volume_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb new file mode 100644 index 00000000..925261bf --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_spec.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSpec is the specification of a VolumeAttachment request. + class V1alpha1VolumeAttachmentSpec + # Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + attr_accessor :attacher + + # The node that the volume should be attached to. + attr_accessor :node_name + + # Source represents the volume that should be attached. + attr_accessor :source + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attacher' => :'attacher', + :'node_name' => :'nodeName', + :'source' => :'source' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attacher' => :'String', + :'node_name' => :'String', + :'source' => :'V1alpha1VolumeAttachmentSource' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attacher') + self.attacher = attributes[:'attacher'] + end + + if attributes.has_key?(:'nodeName') + self.node_name = attributes[:'nodeName'] + end + + if attributes.has_key?(:'source') + self.source = attributes[:'source'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attacher.nil? + invalid_properties.push("invalid value for 'attacher', attacher cannot be nil.") + end + + if @node_name.nil? + invalid_properties.push("invalid value for 'node_name', node_name cannot be nil.") + end + + if @source.nil? + invalid_properties.push("invalid value for 'source', source cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attacher.nil? + return false if @node_name.nil? + return false if @source.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attacher == o.attacher && + node_name == o.node_name && + source == o.source + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attacher, node_name, source].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb new file mode 100644 index 00000000..49e52c2b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_attachment_status.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentStatus is the status of a VolumeAttachment request. + class V1alpha1VolumeAttachmentStatus + # The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attach_error + + # Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attached + + # Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attachment_metadata + + # The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. + attr_accessor :detach_error + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attach_error' => :'attachError', + :'attached' => :'attached', + :'attachment_metadata' => :'attachmentMetadata', + :'detach_error' => :'detachError' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attach_error' => :'V1alpha1VolumeError', + :'attached' => :'BOOLEAN', + :'attachment_metadata' => :'Hash', + :'detach_error' => :'V1alpha1VolumeError' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attachError') + self.attach_error = attributes[:'attachError'] + end + + if attributes.has_key?(:'attached') + self.attached = attributes[:'attached'] + end + + if attributes.has_key?(:'attachmentMetadata') + if (value = attributes[:'attachmentMetadata']).is_a?(Array) + self.attachment_metadata = value + end + end + + if attributes.has_key?(:'detachError') + self.detach_error = attributes[:'detachError'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attached.nil? + invalid_properties.push("invalid value for 'attached', attached cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attached.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attach_error == o.attach_error && + attached == o.attached && + attachment_metadata == o.attachment_metadata && + detach_error == o.detach_error + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attach_error, attached, attachment_metadata, detach_error].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_volume_error.rb b/kubernetes/lib/kubernetes/models/v1alpha1_volume_error.rb new file mode 100644 index 00000000..ac0a22f4 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_volume_error.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeError captures an error encountered during a volume operation. + class V1alpha1VolumeError + # String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + attr_accessor :message + + # Time the error was encountered. + attr_accessor :time + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'message' => :'message', + :'time' => :'time' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'message' => :'String', + :'time' => :'DateTime' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'time') + self.time = attributes[:'time'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + message == o.message && + time == o.time + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [message, time].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_webhook.rb b/kubernetes/lib/kubernetes/models/v1alpha1_webhook.rb new file mode 100644 index 00000000..c000c9fc --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_webhook.rb @@ -0,0 +1,204 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Webhook holds the configuration of the webhook + class V1alpha1Webhook + # ClientConfig holds the connection parameters for the webhook required + attr_accessor :client_config + + # Throttle holds the options for throttling the webhook + attr_accessor :throttle + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_config' => :'clientConfig', + :'throttle' => :'throttle' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'client_config' => :'V1alpha1WebhookClientConfig', + :'throttle' => :'V1alpha1WebhookThrottleConfig' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'clientConfig') + self.client_config = attributes[:'clientConfig'] + end + + if attributes.has_key?(:'throttle') + self.throttle = attributes[:'throttle'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @client_config.nil? + invalid_properties.push("invalid value for 'client_config', client_config cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @client_config.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_config == o.client_config && + throttle == o.throttle + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [client_config, throttle].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_admission_hook_client_config.rb b/kubernetes/lib/kubernetes/models/v1alpha1_webhook_client_config.rb similarity index 70% rename from kubernetes/lib/kubernetes/models/v1alpha1_admission_hook_client_config.rb rename to kubernetes/lib/kubernetes/models/v1alpha1_webhook_client_config.rb index c8990aec..f3c6e5f8 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_admission_hook_client_config.rb +++ b/kubernetes/lib/kubernetes/models/v1alpha1_webhook_client_config.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,20 +13,24 @@ require 'date' module Kubernetes - # AdmissionHookClientConfig contains the information to make a TLS connection with the webhook - class V1alpha1AdmissionHookClientConfig - # CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required + # WebhookClientConfig contains the information to make a connection with the webhook + class V1alpha1WebhookClientConfig + # `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used. attr_accessor :ca_bundle - # Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required + # `service` is a reference to the service for this webhook. Either `service` or `url` must be specified. If the webhook is running within the cluster, then you should use `service`. Port 443 will be used if it is open, otherwise it is an error. attr_accessor :service + # `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified. The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address. Please note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster. The scheme must be \"https\"; the URL must begin with \"https://\". A path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier. Attempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either. + attr_accessor :url + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'ca_bundle' => :'caBundle', - :'service' => :'service' + :'service' => :'service', + :'url' => :'url' } end @@ -34,7 +38,8 @@ def self.attribute_map def self.swagger_types { :'ca_bundle' => :'String', - :'service' => :'V1alpha1ServiceReference' + :'service' => :'V1alpha1ServiceReference', + :'url' => :'String' } end @@ -54,44 +59,35 @@ def initialize(attributes = {}) self.service = attributes[:'service'] end + if attributes.has_key?(:'url') + self.url = attributes[:'url'] + end + end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @ca_bundle.nil? - invalid_properties.push("invalid value for 'ca_bundle', ca_bundle cannot be nil.") - end - - if @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push("invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") end - if @service.nil? - invalid_properties.push("invalid value for 'service', service cannot be nil.") - end - return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @ca_bundle.nil? - return false if @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) - return false if @service.nil? + return false if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return true end # Custom attribute writer method with validation # @param [Object] ca_bundle Value to be assigned def ca_bundle=(ca_bundle) - if ca_bundle.nil? - fail ArgumentError, "ca_bundle cannot be nil" - end - if ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + if !ca_bundle.nil? && ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) fail ArgumentError, "invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." end @@ -104,7 +100,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && ca_bundle == o.ca_bundle && - service == o.service + service == o.service && + url == o.url end # @see the `==` method @@ -116,7 +113,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [ca_bundle, service].hash + [ca_bundle, service, url].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb b/kubernetes/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb new file mode 100644 index 00000000..ee6fe0d0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1alpha1_webhook_throttle_config.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # WebhookThrottleConfig holds the configuration for throttling events + class V1alpha1WebhookThrottleConfig + # ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS + attr_accessor :burst + + # ThrottleQPS maximum number of batches per second default 10 QPS + attr_accessor :qps + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'burst' => :'burst', + :'qps' => :'qps' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'burst' => :'Integer', + :'qps' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'burst') + self.burst = attributes[:'burst'] + end + + if attributes.has_key?(:'qps') + self.qps = attributes[:'qps'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + burst == o.burst && + qps == o.qps + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [burst, qps].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_aggregation_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_aggregation_rule.rb new file mode 100644 index 00000000..6e79e84f --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_aggregation_rule.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole + class V1beta1AggregationRule + # ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added + attr_accessor :cluster_role_selectors + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'cluster_role_selectors' => :'clusterRoleSelectors' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'cluster_role_selectors' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'clusterRoleSelectors') + if (value = attributes[:'clusterRoleSelectors']).is_a?(Array) + self.cluster_role_selectors = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + cluster_role_selectors == o.cluster_role_selectors + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [cluster_role_selectors].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_api_service.rb b/kubernetes/lib/kubernetes/models/v1beta1_api_service.rb index 3529fed6..b0706dc8 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_api_service.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_api_service.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_api_service_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_api_service_condition.rb index e057caa3..d0092819 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_api_service_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_api_service_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_api_service_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_api_service_list.rb index 6875c888..339380ea 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_api_service_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_api_service_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_api_service_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_api_service_spec.rb index ab49d950..fa727bdb 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_api_service_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_api_service_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,13 +15,13 @@ module Kubernetes # APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification. class V1beta1APIServiceSpec - # CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. + # CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used. attr_accessor :ca_bundle # Group is the API group name this server hosts attr_accessor :group - # GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s + # GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s attr_accessor :group_priority_minimum # InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead. @@ -33,7 +33,7 @@ class V1beta1APIServiceSpec # Version is the API version this server hosts. For example, \"v1\" attr_accessor :version - # VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s. + # VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. attr_accessor :version_priority @@ -57,7 +57,7 @@ def self.swagger_types :'group' => :'String', :'group_priority_minimum' => :'Integer', :'insecure_skip_tls_verify' => :'BOOLEAN', - :'service' => :'V1beta1ServiceReference', + :'service' => :'ApiregistrationV1beta1ServiceReference', :'version' => :'String', :'version_priority' => :'Integer' } @@ -105,11 +105,7 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @ca_bundle.nil? - invalid_properties.push("invalid value for 'ca_bundle', ca_bundle cannot be nil.") - end - - if @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) invalid_properties.push("invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") end @@ -131,8 +127,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @ca_bundle.nil? - return false if @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + return false if !@ca_bundle.nil? && @ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) return false if @group_priority_minimum.nil? return false if @service.nil? return false if @version_priority.nil? @@ -142,11 +137,8 @@ def valid? # Custom attribute writer method with validation # @param [Object] ca_bundle Value to be assigned def ca_bundle=(ca_bundle) - if ca_bundle.nil? - fail ArgumentError, "ca_bundle cannot be nil" - end - if ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + if !ca_bundle.nil? && ca_bundle !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) fail ArgumentError, "invalid value for 'ca_bundle', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_api_service_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_api_service_status.rb index 48107033..5d83dda0 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_api_service_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_api_service_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request.rb b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request.rb index e2959a8e..3a5cf296 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb index 8dfbeed5..26c0fe28 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb index f6de61ca..6ea84c77 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb index af380f1a..6d6fda98 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb index 388fcda1..13d972fb 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_certificate_signing_request_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role.rb b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role.rb index fdf78d78..09c7dfc5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. class V1beta1ClusterRole + # AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller. + attr_accessor :aggregation_rule + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -31,6 +34,7 @@ class V1beta1ClusterRole # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'aggregation_rule' => :'aggregationRule', :'api_version' => :'apiVersion', :'kind' => :'kind', :'metadata' => :'metadata', @@ -41,6 +45,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'aggregation_rule' => :'V1beta1AggregationRule', :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', @@ -56,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'aggregationRule') + self.aggregation_rule = attributes[:'aggregationRule'] + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -99,6 +108,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + aggregation_rule == o.aggregation_rule && api_version == o.api_version && kind == o.kind && metadata == o.metadata && @@ -114,7 +124,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, kind, metadata, rules].hash + [aggregation_rule, api_version, kind, metadata, rules].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding.rb b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding.rb index 0743f0d6..13646fca 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb index c4e7cbb8..374e49d1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_list.rb index 17ccae1b..71b40f7f 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cluster_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_controller_revision.rb b/kubernetes/lib/kubernetes/models/v1beta1_controller_revision.rb index 7cee8d77..cf9b0e9e 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_controller_revision.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_controller_revision.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_controller_revision_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_controller_revision_list.rb index 7bfde35d..fd7cb86c 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_controller_revision_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_controller_revision_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cron_job.rb b/kubernetes/lib/kubernetes/models/v1beta1_cron_job.rb index 0d3e24de..99f179a5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cron_job.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cron_job.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_list.rb index 927290a4..add734ce 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_spec.rb index 9ade3d9b..c75875a7 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # CronJobSpec describes how the job execution will look like and when it will actually run. class V1beta1CronJobSpec - # Specifies how to treat concurrent executions of a Job. Defaults to Allow. + # Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one attr_accessor :concurrency_policy # The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. diff --git a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_status.rb index 0d931e1b..a08f40ee 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_cron_job_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_cron_job_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb new file mode 100644 index 00000000..2f291ec4 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_column_definition.rb @@ -0,0 +1,254 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # CustomResourceColumnDefinition specifies a column for server side printing. + class V1beta1CustomResourceColumnDefinition + # JSONPath is a simple JSON path, i.e. with array notation. + attr_accessor :json_path + + # description is a human readable description of this column. + attr_accessor :description + + # format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + attr_accessor :format + + # name is a human readable name for the column. + attr_accessor :name + + # priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. + attr_accessor :priority + + # type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'json_path' => :'JSONPath', + :'description' => :'description', + :'format' => :'format', + :'name' => :'name', + :'priority' => :'priority', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'json_path' => :'String', + :'description' => :'String', + :'format' => :'String', + :'name' => :'String', + :'priority' => :'Integer', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'JSONPath') + self.json_path = attributes[:'JSONPath'] + end + + if attributes.has_key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.has_key?(:'format') + self.format = attributes[:'format'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'priority') + self.priority = attributes[:'priority'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @json_path.nil? + invalid_properties.push("invalid value for 'json_path', json_path cannot be nil.") + end + + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @json_path.nil? + return false if @name.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + json_path == o.json_path && + description == o.description && + format == o.format && + name == o.name && + priority == o.priority && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [json_path, description, format, name, priority, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb new file mode 100644 index 00000000..6dc2c909 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_conversion.rb @@ -0,0 +1,204 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # CustomResourceConversion describes how to convert different versions of a CR. + class V1beta1CustomResourceConversion + # `strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option. + attr_accessor :strategy + + # `webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + attr_accessor :webhook_client_config + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'strategy' => :'strategy', + :'webhook_client_config' => :'webhookClientConfig' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'strategy' => :'String', + :'webhook_client_config' => :'ApiextensionsV1beta1WebhookClientConfig' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'strategy') + self.strategy = attributes[:'strategy'] + end + + if attributes.has_key?(:'webhookClientConfig') + self.webhook_client_config = attributes[:'webhookClientConfig'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @strategy.nil? + invalid_properties.push("invalid value for 'strategy', strategy cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @strategy.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + strategy == o.strategy && + webhook_client_config == o.webhook_client_config + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [strategy, webhook_client_config].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition.rb index c57909ac..7730ebef 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -86,12 +86,17 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @spec.nil? + invalid_properties.push("invalid value for 'spec', spec cannot be nil.") + end + return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @spec.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb index bda0fe24..33225406 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb index b15d884e..84c7b3d1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb index 6fbaa955..7a7989f4 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_names.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition class V1beta1CustomResourceDefinitionNames + # Categories is a list of grouped resources custom resources belong to (e.g. 'all') + attr_accessor :categories + # Kind is the serialized kind of the resource. It is normally CamelCase and singular. attr_accessor :kind @@ -34,6 +37,7 @@ class V1beta1CustomResourceDefinitionNames # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'categories' => :'categories', :'kind' => :'kind', :'list_kind' => :'listKind', :'plural' => :'plural', @@ -45,6 +49,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'categories' => :'Array', :'kind' => :'String', :'list_kind' => :'String', :'plural' => :'String', @@ -61,6 +66,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'categories') + if (value = attributes[:'categories']).is_a?(Array) + self.categories = value + end + end + if attributes.has_key?(:'kind') self.kind = attributes[:'kind'] end @@ -113,6 +124,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + categories == o.categories && kind == o.kind && list_kind == o.list_kind && plural == o.plural && @@ -129,7 +141,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [kind, list_kind, plural, short_names, singular].hash + [categories, kind, list_kind, plural, short_names, singular].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb index b39b557c..d101aa94 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,12 @@ module Kubernetes # CustomResourceDefinitionSpec describes how a user wants their resource to appear class V1beta1CustomResourceDefinitionSpec + # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive. + attr_accessor :additional_printer_columns + + # `conversion` defines conversion settings for the CRD. + attr_accessor :conversion + # Group is the group this resource belongs in attr_accessor :group @@ -24,32 +30,46 @@ class V1beta1CustomResourceDefinitionSpec # Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced attr_accessor :scope - # Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature. + # Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive. + attr_accessor :subresources + + # Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive. attr_accessor :validation - # Version is the version this resource belongs in + # Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. attr_accessor :version + # Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. + attr_accessor :versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'additional_printer_columns' => :'additionalPrinterColumns', + :'conversion' => :'conversion', :'group' => :'group', :'names' => :'names', :'scope' => :'scope', + :'subresources' => :'subresources', :'validation' => :'validation', - :'version' => :'version' + :'version' => :'version', + :'versions' => :'versions' } end # Attribute type mapping. def self.swagger_types { + :'additional_printer_columns' => :'Array', + :'conversion' => :'V1beta1CustomResourceConversion', :'group' => :'String', :'names' => :'V1beta1CustomResourceDefinitionNames', :'scope' => :'String', + :'subresources' => :'V1beta1CustomResourceSubresources', :'validation' => :'V1beta1CustomResourceValidation', - :'version' => :'String' + :'version' => :'String', + :'versions' => :'Array' } end @@ -61,6 +81,16 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'additionalPrinterColumns') + if (value = attributes[:'additionalPrinterColumns']).is_a?(Array) + self.additional_printer_columns = value + end + end + + if attributes.has_key?(:'conversion') + self.conversion = attributes[:'conversion'] + end + if attributes.has_key?(:'group') self.group = attributes[:'group'] end @@ -73,6 +103,10 @@ def initialize(attributes = {}) self.scope = attributes[:'scope'] end + if attributes.has_key?(:'subresources') + self.subresources = attributes[:'subresources'] + end + if attributes.has_key?(:'validation') self.validation = attributes[:'validation'] end @@ -81,6 +115,12 @@ def initialize(attributes = {}) self.version = attributes[:'version'] end + if attributes.has_key?(:'versions') + if (value = attributes[:'versions']).is_a?(Array) + self.versions = value + end + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -99,10 +139,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'scope', scope cannot be nil.") end - if @version.nil? - invalid_properties.push("invalid value for 'version', version cannot be nil.") - end - return invalid_properties end @@ -112,7 +148,6 @@ def valid? return false if @group.nil? return false if @names.nil? return false if @scope.nil? - return false if @version.nil? return true end @@ -121,11 +156,15 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + additional_printer_columns == o.additional_printer_columns && + conversion == o.conversion && group == o.group && names == o.names && scope == o.scope && + subresources == o.subresources && validation == o.validation && - version == o.version + version == o.version && + versions == o.versions end # @see the `==` method @@ -137,7 +176,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [group, names, scope, validation, version].hash + [additional_printer_columns, conversion, group, names, scope, subresources, validation, version, versions].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb index 3f07b72c..56bd4602 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,12 +21,16 @@ class V1beta1CustomResourceDefinitionStatus # Conditions indicate state for particular aspects of a CustomResourceDefinition attr_accessor :conditions + # StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field. + attr_accessor :stored_versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'accepted_names' => :'acceptedNames', - :'conditions' => :'conditions' + :'conditions' => :'conditions', + :'stored_versions' => :'storedVersions' } end @@ -34,7 +38,8 @@ def self.attribute_map def self.swagger_types { :'accepted_names' => :'V1beta1CustomResourceDefinitionNames', - :'conditions' => :'Array' + :'conditions' => :'Array', + :'stored_versions' => :'Array' } end @@ -56,6 +61,12 @@ def initialize(attributes = {}) end end + if attributes.has_key?(:'storedVersions') + if (value = attributes[:'storedVersions']).is_a?(Array) + self.stored_versions = value + end + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -70,6 +81,10 @@ def list_invalid_properties invalid_properties.push("invalid value for 'conditions', conditions cannot be nil.") end + if @stored_versions.nil? + invalid_properties.push("invalid value for 'stored_versions', stored_versions cannot be nil.") + end + return invalid_properties end @@ -78,6 +93,7 @@ def list_invalid_properties def valid? return false if @accepted_names.nil? return false if @conditions.nil? + return false if @stored_versions.nil? return true end @@ -87,7 +103,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && accepted_names == o.accepted_names && - conditions == o.conditions + conditions == o.conditions && + stored_versions == o.stored_versions end # @see the `==` method @@ -99,7 +116,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [accepted_names, conditions].hash + [accepted_names, conditions, stored_versions].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb new file mode 100644 index 00000000..85429a44 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_definition_version.rb @@ -0,0 +1,256 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # CustomResourceDefinitionVersion describes a version for CRD. + class V1beta1CustomResourceDefinitionVersion + # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null + attr_accessor :additional_printer_columns + + # Name is the version name, e.g. “v1”, “v2beta1”, etc. + attr_accessor :name + + # Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + attr_accessor :schema + + # Served is a flag enabling/disabling this version from being served via REST APIs + attr_accessor :served + + # Storage flags the version as storage version. There must be exactly one flagged as storage version. + attr_accessor :storage + + # Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. + attr_accessor :subresources + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'additional_printer_columns' => :'additionalPrinterColumns', + :'name' => :'name', + :'schema' => :'schema', + :'served' => :'served', + :'storage' => :'storage', + :'subresources' => :'subresources' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'additional_printer_columns' => :'Array', + :'name' => :'String', + :'schema' => :'V1beta1CustomResourceValidation', + :'served' => :'BOOLEAN', + :'storage' => :'BOOLEAN', + :'subresources' => :'V1beta1CustomResourceSubresources' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'additionalPrinterColumns') + if (value = attributes[:'additionalPrinterColumns']).is_a?(Array) + self.additional_printer_columns = value + end + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'schema') + self.schema = attributes[:'schema'] + end + + if attributes.has_key?(:'served') + self.served = attributes[:'served'] + end + + if attributes.has_key?(:'storage') + self.storage = attributes[:'storage'] + end + + if attributes.has_key?(:'subresources') + self.subresources = attributes[:'subresources'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @served.nil? + invalid_properties.push("invalid value for 'served', served cannot be nil.") + end + + if @storage.nil? + invalid_properties.push("invalid value for 'storage', storage cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @served.nil? + return false if @storage.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + additional_printer_columns == o.additional_printer_columns && + name == o.name && + schema == o.schema && + served == o.served && + storage == o.storage && + subresources == o.subresources + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [additional_printer_columns, name, schema, served, storage, subresources].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb new file mode 100644 index 00000000..fbfc9c0c --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresource_scale.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources. + class V1beta1CustomResourceSubresourceScale + # LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string. + attr_accessor :label_selector_path + + # SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET. + attr_accessor :spec_replicas_path + + # StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0. + attr_accessor :status_replicas_path + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'label_selector_path' => :'labelSelectorPath', + :'spec_replicas_path' => :'specReplicasPath', + :'status_replicas_path' => :'statusReplicasPath' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'label_selector_path' => :'String', + :'spec_replicas_path' => :'String', + :'status_replicas_path' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'labelSelectorPath') + self.label_selector_path = attributes[:'labelSelectorPath'] + end + + if attributes.has_key?(:'specReplicasPath') + self.spec_replicas_path = attributes[:'specReplicasPath'] + end + + if attributes.has_key?(:'statusReplicasPath') + self.status_replicas_path = attributes[:'statusReplicasPath'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @spec_replicas_path.nil? + invalid_properties.push("invalid value for 'spec_replicas_path', spec_replicas_path cannot be nil.") + end + + if @status_replicas_path.nil? + invalid_properties.push("invalid value for 'status_replicas_path', status_replicas_path cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @spec_replicas_path.nil? + return false if @status_replicas_path.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + label_selector_path == o.label_selector_path && + spec_replicas_path == o.spec_replicas_path && + status_replicas_path == o.status_replicas_path + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [label_selector_path, spec_replicas_path, status_replicas_path].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb new file mode 100644 index 00000000..b7e1f77a --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_subresources.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # CustomResourceSubresources defines the status and scale subresources for CustomResources. + class V1beta1CustomResourceSubresources + # Scale denotes the scale subresource for CustomResources + attr_accessor :scale + + # Status denotes the status subresource for CustomResources + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'scale' => :'scale', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'scale' => :'V1beta1CustomResourceSubresourceScale', + :'status' => :'Object' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'scale') + self.scale = attributes[:'scale'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + scale == o.scale && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [scale, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_validation.rb b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_validation.rb index 17485d2e..84bfefab 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_validation.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_custom_resource_validation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set.rb index 6ea721d2..05791fa6 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_condition.rb new file mode 100644 index 00000000..de6c2b4a --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetCondition describes the state of a DaemonSet at a certain point. + class V1beta1DaemonSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of DaemonSet condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_list.rb index dd144ee8..bda90de4 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_spec.rb index b18ae778..1a407fd2 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_status.rb index 09bce46a..758547fc 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1beta1DaemonSetStatus # Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. attr_accessor :collision_count + # Represents the latest available observations of a DaemonSet's current state. + attr_accessor :conditions + # The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ attr_accessor :current_number_scheduled @@ -47,6 +50,7 @@ class V1beta1DaemonSetStatus def self.attribute_map { :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', :'current_number_scheduled' => :'currentNumberScheduled', :'desired_number_scheduled' => :'desiredNumberScheduled', :'number_available' => :'numberAvailable', @@ -62,6 +66,7 @@ def self.attribute_map def self.swagger_types { :'collision_count' => :'Integer', + :'conditions' => :'Array', :'current_number_scheduled' => :'Integer', :'desired_number_scheduled' => :'Integer', :'number_available' => :'Integer', @@ -85,6 +90,12 @@ def initialize(attributes = {}) self.collision_count = attributes[:'collisionCount'] end + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + if attributes.has_key?(:'currentNumberScheduled') self.current_number_scheduled = attributes[:'currentNumberScheduled'] end @@ -158,6 +169,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && collision_count == o.collision_count && + conditions == o.conditions && current_number_scheduled == o.current_number_scheduled && desired_number_scheduled == o.desired_number_scheduled && number_available == o.number_available && @@ -177,7 +189,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [collision_count, current_number_scheduled, desired_number_scheduled, number_available, number_misscheduled, number_ready, number_unavailable, observed_generation, updated_number_scheduled].hash + [collision_count, conditions, current_number_scheduled, desired_number_scheduled, number_available, number_misscheduled, number_ready, number_unavailable, observed_generation, updated_number_scheduled].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb index fc840859..2f3a47d4 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_daemon_set_update_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_event.rb b/kubernetes/lib/kubernetes/models/v1beta1_event.rb new file mode 100644 index 00000000..94dfc5f0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_event.rb @@ -0,0 +1,353 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. + class V1beta1Event + # What action was taken/failed regarding to the regarding object. + attr_accessor :action + + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Deprecated field assuring backward compatibility with core.v1 Event type + attr_accessor :deprecated_count + + # Deprecated field assuring backward compatibility with core.v1 Event type + attr_accessor :deprecated_first_timestamp + + # Deprecated field assuring backward compatibility with core.v1 Event type + attr_accessor :deprecated_last_timestamp + + # Deprecated field assuring backward compatibility with core.v1 Event type + attr_accessor :deprecated_source + + # Required. Time when this Event was first observed. + attr_accessor :event_time + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + attr_accessor :metadata + + # Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB. + attr_accessor :note + + # Why the action was taken. + attr_accessor :reason + + # The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object. + attr_accessor :regarding + + # Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object. + attr_accessor :related + + # Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. + attr_accessor :reporting_controller + + # ID of the controller instance, e.g. `kubelet-xyzf`. + attr_accessor :reporting_instance + + # Data about the Event series this event represents or nil if it's a singleton Event. + attr_accessor :series + + # Type of this event (Normal, Warning), new types could be added in the future. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'action' => :'action', + :'api_version' => :'apiVersion', + :'deprecated_count' => :'deprecatedCount', + :'deprecated_first_timestamp' => :'deprecatedFirstTimestamp', + :'deprecated_last_timestamp' => :'deprecatedLastTimestamp', + :'deprecated_source' => :'deprecatedSource', + :'event_time' => :'eventTime', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'note' => :'note', + :'reason' => :'reason', + :'regarding' => :'regarding', + :'related' => :'related', + :'reporting_controller' => :'reportingController', + :'reporting_instance' => :'reportingInstance', + :'series' => :'series', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'action' => :'String', + :'api_version' => :'String', + :'deprecated_count' => :'Integer', + :'deprecated_first_timestamp' => :'DateTime', + :'deprecated_last_timestamp' => :'DateTime', + :'deprecated_source' => :'V1EventSource', + :'event_time' => :'DateTime', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'note' => :'String', + :'reason' => :'String', + :'regarding' => :'V1ObjectReference', + :'related' => :'V1ObjectReference', + :'reporting_controller' => :'String', + :'reporting_instance' => :'String', + :'series' => :'V1beta1EventSeries', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'action') + self.action = attributes[:'action'] + end + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'deprecatedCount') + self.deprecated_count = attributes[:'deprecatedCount'] + end + + if attributes.has_key?(:'deprecatedFirstTimestamp') + self.deprecated_first_timestamp = attributes[:'deprecatedFirstTimestamp'] + end + + if attributes.has_key?(:'deprecatedLastTimestamp') + self.deprecated_last_timestamp = attributes[:'deprecatedLastTimestamp'] + end + + if attributes.has_key?(:'deprecatedSource') + self.deprecated_source = attributes[:'deprecatedSource'] + end + + if attributes.has_key?(:'eventTime') + self.event_time = attributes[:'eventTime'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'note') + self.note = attributes[:'note'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'regarding') + self.regarding = attributes[:'regarding'] + end + + if attributes.has_key?(:'related') + self.related = attributes[:'related'] + end + + if attributes.has_key?(:'reportingController') + self.reporting_controller = attributes[:'reportingController'] + end + + if attributes.has_key?(:'reportingInstance') + self.reporting_instance = attributes[:'reportingInstance'] + end + + if attributes.has_key?(:'series') + self.series = attributes[:'series'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @event_time.nil? + invalid_properties.push("invalid value for 'event_time', event_time cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @event_time.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + action == o.action && + api_version == o.api_version && + deprecated_count == o.deprecated_count && + deprecated_first_timestamp == o.deprecated_first_timestamp && + deprecated_last_timestamp == o.deprecated_last_timestamp && + deprecated_source == o.deprecated_source && + event_time == o.event_time && + kind == o.kind && + metadata == o.metadata && + note == o.note && + reason == o.reason && + regarding == o.regarding && + related == o.related && + reporting_controller == o.reporting_controller && + reporting_instance == o.reporting_instance && + series == o.series && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [action, api_version, deprecated_count, deprecated_first_timestamp, deprecated_last_timestamp, deprecated_source, event_time, kind, metadata, note, reason, regarding, related, reporting_controller, reporting_instance, series, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_event_list.rb similarity index 97% rename from kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_list.rb rename to kubernetes/lib/kubernetes/models/v1beta1_event_list.rb index 9b7a0605..2057a6aa 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_security_policy_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_event_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,8 +13,8 @@ require 'date' module Kubernetes - # Pod Security Policy List is a list of PodSecurityPolicy objects. - class V1beta1PodSecurityPolicyList + # EventList is a list of Event objects. + class V1beta1EventList # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -42,7 +42,7 @@ def self.attribute_map def self.swagger_types { :'api_version' => :'String', - :'items' => :'Array', + :'items' => :'Array', :'kind' => :'String', :'metadata' => :'V1ListMeta' } diff --git a/kubernetes/lib/kubernetes/models/v1beta1_event_series.rb b/kubernetes/lib/kubernetes/models/v1beta1_event_series.rb new file mode 100644 index 00000000..13b3fa07 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_event_series.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time. + class V1beta1EventSeries + # Number of occurrences in this series up to the last heartbeat time + attr_accessor :count + + # Time when last Event from the series was seen before last heartbeat. + attr_accessor :last_observed_time + + # Information whether this series is ongoing or finished. + attr_accessor :state + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'count' => :'count', + :'last_observed_time' => :'lastObservedTime', + :'state' => :'state' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'count' => :'Integer', + :'last_observed_time' => :'DateTime', + :'state' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'count') + self.count = attributes[:'count'] + end + + if attributes.has_key?(:'lastObservedTime') + self.last_observed_time = attributes[:'lastObservedTime'] + end + + if attributes.has_key?(:'state') + self.state = attributes[:'state'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @count.nil? + invalid_properties.push("invalid value for 'count', count cannot be nil.") + end + + if @last_observed_time.nil? + invalid_properties.push("invalid value for 'last_observed_time', last_observed_time cannot be nil.") + end + + if @state.nil? + invalid_properties.push("invalid value for 'state', state cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @count.nil? + return false if @last_observed_time.nil? + return false if @state.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + count == o.count && + last_observed_time == o.last_observed_time && + state == o.state + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [count, last_observed_time, state].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_eviction.rb b/kubernetes/lib/kubernetes/models/v1beta1_eviction.rb index 231c357f..e6185521 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_eviction.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_eviction.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_external_documentation.rb b/kubernetes/lib/kubernetes/models/v1beta1_external_documentation.rb index 43f8e677..d54071c8 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_external_documentation.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_external_documentation.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_path.rb b/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_path.rb index b90fc239..5cfdbd30 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_path.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_path.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb b/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb index 2c558316..56296d8c 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_http_ingress_rule_value.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress.rb index d98da61b..3e852d75 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_backend.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_backend.rb index 02df98ce..52b57e6c 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_backend.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_backend.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_list.rb index 87319a13..18202d56 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_rule.rb index b3b9e7db..c638073d 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_spec.rb index 1b26c62c..000a4393 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_status.rb index d196a553..ec4e81aa 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ingress_tls.rb b/kubernetes/lib/kubernetes/models/v1beta1_ingress_tls.rb index 0662b5d2..90a265c4 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ingress_tls.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ingress_tls.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_ip_block.rb b/kubernetes/lib/kubernetes/models/v1beta1_ip_block.rb index 0fe6669f..528eef38 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_ip_block.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_ip_block.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. + # DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule. class V1beta1IPBlock # CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\" attr_accessor :cidr diff --git a/kubernetes/lib/kubernetes/models/v1beta1_job_template_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_job_template_spec.rb index b0ef040d..b3fb2d0f 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_job_template_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_job_template_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props.rb b/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props.rb index ea6527d0..33ae0191 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_json_schema_props.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -19,14 +19,17 @@ class V1beta1JSONSchemaProps attr_accessor :schema + # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. attr_accessor :additional_items + # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property. attr_accessor :additional_properties attr_accessor :all_of attr_accessor :any_of + # JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. attr_accessor :default attr_accessor :definitions @@ -37,6 +40,7 @@ class V1beta1JSONSchemaProps attr_accessor :enum + # JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. attr_accessor :example attr_accessor :exclusive_maximum @@ -49,6 +53,7 @@ class V1beta1JSONSchemaProps attr_accessor :id + # JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. attr_accessor :items attr_accessor :max_items @@ -135,22 +140,22 @@ def self.swagger_types { :'ref' => :'String', :'schema' => :'String', - :'additional_items' => :'V1beta1JSONSchemaPropsOrBool', - :'additional_properties' => :'V1beta1JSONSchemaPropsOrBool', + :'additional_items' => :'Object', + :'additional_properties' => :'Object', :'all_of' => :'Array', :'any_of' => :'Array', - :'default' => :'V1beta1JSON', + :'default' => :'Object', :'definitions' => :'Hash', - :'dependencies' => :'Hash', + :'dependencies' => :'Hash', :'description' => :'String', - :'enum' => :'Array', - :'example' => :'V1beta1JSON', + :'enum' => :'Array', + :'example' => :'Object', :'exclusive_maximum' => :'BOOLEAN', :'exclusive_minimum' => :'BOOLEAN', :'external_docs' => :'V1beta1ExternalDocumentation', :'format' => :'String', :'id' => :'String', - :'items' => :'V1beta1JSONSchemaPropsOrArray', + :'items' => :'Object', :'max_items' => :'Integer', :'max_length' => :'Integer', :'max_properties' => :'Integer', diff --git a/kubernetes/lib/kubernetes/models/v1beta1_lease.rb b/kubernetes/lib/kubernetes/models/v1beta1_lease.rb new file mode 100644 index 00000000..ed872a23 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_lease.rb @@ -0,0 +1,219 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Lease defines a lease concept. + class V1beta1Lease + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status + attr_accessor :spec + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1beta1LeaseSpec' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_lease_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_lease_list.rb new file mode 100644 index 00000000..3e31de6e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_lease_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # LeaseList is a list of Lease objects. + class V1beta1LeaseList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is a list of schema objects. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_lease_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_lease_spec.rb new file mode 100644 index 00000000..51261ed2 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_lease_spec.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # LeaseSpec is a specification of a Lease. + class V1beta1LeaseSpec + # acquireTime is a time when the current lease was acquired. + attr_accessor :acquire_time + + # holderIdentity contains the identity of the holder of a current lease. + attr_accessor :holder_identity + + # leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime. + attr_accessor :lease_duration_seconds + + # leaseTransitions is the number of transitions of a lease between holders. + attr_accessor :lease_transitions + + # renewTime is a time when the current holder of a lease has last updated the lease. + attr_accessor :renew_time + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'acquire_time' => :'acquireTime', + :'holder_identity' => :'holderIdentity', + :'lease_duration_seconds' => :'leaseDurationSeconds', + :'lease_transitions' => :'leaseTransitions', + :'renew_time' => :'renewTime' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'acquire_time' => :'DateTime', + :'holder_identity' => :'String', + :'lease_duration_seconds' => :'Integer', + :'lease_transitions' => :'Integer', + :'renew_time' => :'DateTime' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'acquireTime') + self.acquire_time = attributes[:'acquireTime'] + end + + if attributes.has_key?(:'holderIdentity') + self.holder_identity = attributes[:'holderIdentity'] + end + + if attributes.has_key?(:'leaseDurationSeconds') + self.lease_duration_seconds = attributes[:'leaseDurationSeconds'] + end + + if attributes.has_key?(:'leaseTransitions') + self.lease_transitions = attributes[:'leaseTransitions'] + end + + if attributes.has_key?(:'renewTime') + self.renew_time = attributes[:'renewTime'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + acquire_time == o.acquire_time && + holder_identity == o.holder_identity && + lease_duration_seconds == o.lease_duration_seconds && + lease_transitions == o.lease_transitions && + renew_time == o.renew_time + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [acquire_time, holder_identity, lease_duration_seconds, lease_transitions, renew_time].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_local_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1beta1_local_subject_access_review.rb index 8a3f7c58..55cfacba 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_local_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_local_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration.rb b/kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb similarity index 87% rename from kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration.rb rename to kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb index e6f68b23..5901a863 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_external_admission_hook_configuration.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,28 +13,28 @@ require 'date' module Kubernetes - # ExternalAdmissionHookConfiguration describes the configuration of initializers. - class V1alpha1ExternalAdmissionHookConfiguration + # MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object. + class V1beta1MutatingWebhookConfiguration # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version - # ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations. - attr_accessor :external_admission_hooks - # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds attr_accessor :kind # Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. attr_accessor :metadata + # Webhooks is a list of webhooks and the affected resources and operations. + attr_accessor :webhooks + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'api_version' => :'apiVersion', - :'external_admission_hooks' => :'externalAdmissionHooks', :'kind' => :'kind', - :'metadata' => :'metadata' + :'metadata' => :'metadata', + :'webhooks' => :'webhooks' } end @@ -42,9 +42,9 @@ def self.attribute_map def self.swagger_types { :'api_version' => :'String', - :'external_admission_hooks' => :'Array', :'kind' => :'String', - :'metadata' => :'V1ObjectMeta' + :'metadata' => :'V1ObjectMeta', + :'webhooks' => :'Array' } end @@ -60,12 +60,6 @@ def initialize(attributes = {}) self.api_version = attributes[:'apiVersion'] end - if attributes.has_key?(:'externalAdmissionHooks') - if (value = attributes[:'externalAdmissionHooks']).is_a?(Array) - self.external_admission_hooks = value - end - end - if attributes.has_key?(:'kind') self.kind = attributes[:'kind'] end @@ -74,6 +68,12 @@ def initialize(attributes = {}) self.metadata = attributes[:'metadata'] end + if attributes.has_key?(:'webhooks') + if (value = attributes[:'webhooks']).is_a?(Array) + self.webhooks = value + end + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -95,9 +95,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && api_version == o.api_version && - external_admission_hooks == o.external_admission_hooks && kind == o.kind && - metadata == o.metadata + metadata == o.metadata && + webhooks == o.webhooks end # @see the `==` method @@ -109,7 +109,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [api_version, external_admission_hooks, kind, metadata].hash + [api_version, kind, metadata, webhooks].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb new file mode 100644 index 00000000..1dded051 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_mutating_webhook_configuration_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration. + class V1beta1MutatingWebhookConfigurationList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # List of MutatingWebhookConfiguration. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy.rb index 6c945dc6..87e3a6ba 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # NetworkPolicy describes what network traffic is allowed for a set of Pods + # DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods class V1beta1NetworkPolicy # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb index ca60f6e2..2c1c11d8 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_egress_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 + # DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8 class V1beta1NetworkPolicyEgressRule # List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. attr_accessor :ports diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb index 21b08a60..07693fdd 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_ingress_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from. + # DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from. class V1beta1NetworkPolicyIngressRule # List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list. attr_accessor :from diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_list.rb index fbedece0..e0ecf913 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # Network Policy List is a list of NetworkPolicy objects. + # DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects. class V1beta1NetworkPolicyList # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_peer.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_peer.rb index 0c2a6139..fc1e5a57 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_peer.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_peer.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,15 +13,15 @@ require 'date' module Kubernetes - + # DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer. class V1beta1NetworkPolicyPeer - # IPBlock defines policy on a particular IPBlock + # IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be. attr_accessor :ip_block - # Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces. + # Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces. If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector. attr_accessor :namespace_selector - # This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace. + # This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods. If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace. attr_accessor :pod_selector diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_port.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_port.rb index 22b3ff80..b5352b93 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_port.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_port.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,12 +13,12 @@ require 'date' module Kubernetes - + # DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort. class V1beta1NetworkPolicyPort # If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. attr_accessor :port - # Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP. + # Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. attr_accessor :protocol diff --git a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_spec.rb index 43065122..dd43bf3e 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_network_policy_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_network_policy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - + # DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec. class V1beta1NetworkPolicySpec # List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 attr_accessor :egress diff --git a/kubernetes/lib/kubernetes/models/v1beta1_non_resource_attributes.rb b/kubernetes/lib/kubernetes/models/v1beta1_non_resource_attributes.rb index 3f105889..f196f0b0 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_non_resource_attributes.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_non_resource_attributes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_non_resource_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_non_resource_rule.rb index 5320dbe5..c3566eab 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_non_resource_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_non_resource_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb index 28b5a2b8..914958d1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb index 6bbafe3f..1ed0a178 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb index 9643cd28..83332bf1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb index c16cd528..453f2c3f 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_pod_disruption_budget_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -106,10 +106,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'desired_healthy', desired_healthy cannot be nil.") end - if @disrupted_pods.nil? - invalid_properties.push("invalid value for 'disrupted_pods', disrupted_pods cannot be nil.") - end - if @disruptions_allowed.nil? invalid_properties.push("invalid value for 'disruptions_allowed', disruptions_allowed cannot be nil.") end @@ -126,7 +122,6 @@ def list_invalid_properties def valid? return false if @current_healthy.nil? return false if @desired_healthy.nil? - return false if @disrupted_pods.nil? return false if @disruptions_allowed.nil? return false if @expected_pods.nil? return true diff --git a/kubernetes/lib/kubernetes/models/v1beta1_policy_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_policy_rule.rb index 6d075e1e..00e2bea4 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_policy_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_policy_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,7 @@ class V1beta1PolicyRule # ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. attr_accessor :resource_names - # Resources is a list of resources this rule applies to. ResourceAll represents all resources. + # Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups. attr_accessor :resources # Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds. diff --git a/kubernetes/lib/kubernetes/models/v1beta1_priority_class.rb b/kubernetes/lib/kubernetes/models/v1beta1_priority_class.rb new file mode 100644 index 00000000..dc57df4b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_priority_class.rb @@ -0,0 +1,244 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer. + class V1beta1PriorityClass + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # description is an arbitrary string that usually provides guidelines on when this priority class should be used. + attr_accessor :description + + # globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority. + attr_accessor :global_default + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec. + attr_accessor :value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'description' => :'description', + :'global_default' => :'globalDefault', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'value' => :'value' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'description' => :'String', + :'global_default' => :'BOOLEAN', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'value' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.has_key?(:'globalDefault') + self.global_default = attributes[:'globalDefault'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'value') + self.value = attributes[:'value'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @value.nil? + invalid_properties.push("invalid value for 'value', value cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @value.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + description == o.description && + global_default == o.global_default && + kind == o.kind && + metadata == o.metadata && + value == o.value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, description, global_default, kind, metadata, value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_priority_class_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_priority_class_list.rb new file mode 100644 index 00000000..645a7bbe --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_priority_class_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PriorityClassList is a collection of priority classes. + class V1beta1PriorityClassList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # items is the list of PriorityClasses + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_replica_set.rb b/kubernetes/lib/kubernetes/models/v1beta1_replica_set.rb index b92d9611..448a7c52 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_replica_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_replica_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet represents the configuration of a ReplicaSet. + # DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. class V1beta1ReplicaSet # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_condition.rb index 6a9f2f37..ffdd6157 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_list.rb index 4ae4ad8c..2fb94790 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_spec.rb index a8924377..610b4dc6 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_status.rb index 9338bc75..97b0847b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_replica_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_replica_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_resource_attributes.rb b/kubernetes/lib/kubernetes/models/v1beta1_resource_attributes.rb index 546e1cae..2b3aee6b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_resource_attributes.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_resource_attributes.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_resource_rule.rb b/kubernetes/lib/kubernetes/models/v1beta1_resource_rule.rb index 5827d2e5..026ecebf 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_resource_rule.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_resource_rule.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1beta1ResourceRule # ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all. attr_accessor :resource_names - # Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all. + # Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups. \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups. attr_accessor :resources # Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all. diff --git a/kubernetes/lib/kubernetes/models/v1beta1_role.rb b/kubernetes/lib/kubernetes/models/v1beta1_role.rb index b67d02c1..619409d2 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_role.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_role.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_role_binding.rb b/kubernetes/lib/kubernetes/models/v1beta1_role_binding.rb index 9637a38e..5fa0af84 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_role_binding.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_role_binding.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -93,10 +93,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'role_ref', role_ref cannot be nil.") end - if @subjects.nil? - invalid_properties.push("invalid value for 'subjects', subjects cannot be nil.") - end - return invalid_properties end @@ -104,7 +100,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @role_ref.nil? - return false if @subjects.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_role_binding_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_role_binding_list.rb index c6f16d34..4e4bfc7b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_role_binding_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_role_binding_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_role_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_role_list.rb index c5f065d1..877909a2 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_role_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_role_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_role_ref.rb b/kubernetes/lib/kubernetes/models/v1beta1_role_ref.rb index 989710e5..f17c63b1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_role_ref.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_role_ref.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb index b8a5fab1..f8e6e407 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_daemon_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb index 8c2d2360..474e597d 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_rolling_update_stateful_set_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1alpha1_rule_with_operations.rb b/kubernetes/lib/kubernetes/models/v1beta1_rule_with_operations.rb similarity index 99% rename from kubernetes/lib/kubernetes/models/v1alpha1_rule_with_operations.rb rename to kubernetes/lib/kubernetes/models/v1beta1_rule_with_operations.rb index f9c29b85..77eb3c59 100644 --- a/kubernetes/lib/kubernetes/models/v1alpha1_rule_with_operations.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_rule_with_operations.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,7 +14,7 @@ module Kubernetes # RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid. - class V1alpha1RuleWithOperations + class V1beta1RuleWithOperations # APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required. attr_accessor :api_groups diff --git a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review.rb index f45bef6f..e5c16c23 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb index ecacc198..991a9446 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb index 4fb19b11..fa11fd0e 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb index 4a1614be..ef0a66e7 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_self_subject_rules_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set.rb index 93821574..a8567e5b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_condition.rb new file mode 100644 index 00000000..b0207485 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetCondition describes the state of a statefulset at a certain point. + class V1beta1StatefulSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of statefulset condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_list.rb index 5de0686f..4eeee762 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_spec.rb index c14888ec..4142fa72 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_status.rb index d23f3b1e..7d71fbef 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1beta1StatefulSetStatus # collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. attr_accessor :collision_count + # Represents the latest available observations of a statefulset's current state. + attr_accessor :conditions + # currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. attr_accessor :current_replicas @@ -44,6 +47,7 @@ class V1beta1StatefulSetStatus def self.attribute_map { :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', :'current_replicas' => :'currentReplicas', :'current_revision' => :'currentRevision', :'observed_generation' => :'observedGeneration', @@ -58,6 +62,7 @@ def self.attribute_map def self.swagger_types { :'collision_count' => :'Integer', + :'conditions' => :'Array', :'current_replicas' => :'Integer', :'current_revision' => :'String', :'observed_generation' => :'Integer', @@ -80,6 +85,12 @@ def initialize(attributes = {}) self.collision_count = attributes[:'collisionCount'] end + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + if attributes.has_key?(:'currentReplicas') self.current_replicas = attributes[:'currentReplicas'] end @@ -134,6 +145,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && collision_count == o.collision_count && + conditions == o.conditions && current_replicas == o.current_replicas && current_revision == o.current_revision && observed_generation == o.observed_generation && @@ -152,7 +164,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [collision_count, current_replicas, current_revision, observed_generation, ready_replicas, replicas, update_revision, updated_replicas].hash + [collision_count, conditions, current_replicas, current_revision, observed_generation, ready_replicas, replicas, update_revision, updated_replicas].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb index 4614b6ce..0caa3366 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_stateful_set_update_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_storage_class.rb b/kubernetes/lib/kubernetes/models/v1beta1_storage_class.rb index 5b0de76a..80cfafe2 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_storage_class.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_storage_class.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1beta1StorageClass # AllowVolumeExpansion shows whether the storage class allow volume expand attr_accessor :allow_volume_expansion + # Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature. + attr_accessor :allowed_topologies + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version @@ -39,18 +42,23 @@ class V1beta1StorageClass # Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete. attr_accessor :reclaim_policy + # VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature. + attr_accessor :volume_binding_mode + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'allow_volume_expansion' => :'allowVolumeExpansion', + :'allowed_topologies' => :'allowedTopologies', :'api_version' => :'apiVersion', :'kind' => :'kind', :'metadata' => :'metadata', :'mount_options' => :'mountOptions', :'parameters' => :'parameters', :'provisioner' => :'provisioner', - :'reclaim_policy' => :'reclaimPolicy' + :'reclaim_policy' => :'reclaimPolicy', + :'volume_binding_mode' => :'volumeBindingMode' } end @@ -58,13 +66,15 @@ def self.attribute_map def self.swagger_types { :'allow_volume_expansion' => :'BOOLEAN', + :'allowed_topologies' => :'Array', :'api_version' => :'String', :'kind' => :'String', :'metadata' => :'V1ObjectMeta', :'mount_options' => :'Array', :'parameters' => :'Hash', :'provisioner' => :'String', - :'reclaim_policy' => :'String' + :'reclaim_policy' => :'String', + :'volume_binding_mode' => :'String' } end @@ -80,6 +90,12 @@ def initialize(attributes = {}) self.allow_volume_expansion = attributes[:'allowVolumeExpansion'] end + if attributes.has_key?(:'allowedTopologies') + if (value = attributes[:'allowedTopologies']).is_a?(Array) + self.allowed_topologies = value + end + end + if attributes.has_key?(:'apiVersion') self.api_version = attributes[:'apiVersion'] end @@ -112,6 +128,10 @@ def initialize(attributes = {}) self.reclaim_policy = attributes[:'reclaimPolicy'] end + if attributes.has_key?(:'volumeBindingMode') + self.volume_binding_mode = attributes[:'volumeBindingMode'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -138,13 +158,15 @@ def ==(o) return true if self.equal?(o) self.class == o.class && allow_volume_expansion == o.allow_volume_expansion && + allowed_topologies == o.allowed_topologies && api_version == o.api_version && kind == o.kind && metadata == o.metadata && mount_options == o.mount_options && parameters == o.parameters && provisioner == o.provisioner && - reclaim_policy == o.reclaim_policy + reclaim_policy == o.reclaim_policy && + volume_binding_mode == o.volume_binding_mode end # @see the `==` method @@ -156,7 +178,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allow_volume_expansion, api_version, kind, metadata, mount_options, parameters, provisioner, reclaim_policy].hash + [allow_volume_expansion, allowed_topologies, api_version, kind, metadata, mount_options, parameters, provisioner, reclaim_policy, volume_binding_mode].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_storage_class_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_storage_class_list.rb index e578b771..861283bc 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_storage_class_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_storage_class_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_subject.rb b/kubernetes/lib/kubernetes/models/v1beta1_subject.rb index 68d9e8b5..47558d69 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_subject.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_subject.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review.rb b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review.rb index 4cd20197..23a00675 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb index 9d6e263c..cef1dd9c 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_status.rb index 4d906aae..20cbc206 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_subject_access_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,9 +15,12 @@ module Kubernetes # SubjectAccessReviewStatus class V1beta1SubjectAccessReviewStatus - # Allowed is required. True if the action would be allowed, false otherwise. + # Allowed is required. True if the action would be allowed, false otherwise. attr_accessor :allowed + # Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true. + attr_accessor :denied + # EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request. attr_accessor :evaluation_error @@ -29,6 +32,7 @@ class V1beta1SubjectAccessReviewStatus def self.attribute_map { :'allowed' => :'allowed', + :'denied' => :'denied', :'evaluation_error' => :'evaluationError', :'reason' => :'reason' } @@ -38,6 +42,7 @@ def self.attribute_map def self.swagger_types { :'allowed' => :'BOOLEAN', + :'denied' => :'BOOLEAN', :'evaluation_error' => :'String', :'reason' => :'String' } @@ -55,6 +60,10 @@ def initialize(attributes = {}) self.allowed = attributes[:'allowed'] end + if attributes.has_key?(:'denied') + self.denied = attributes[:'denied'] + end + if attributes.has_key?(:'evaluationError') self.evaluation_error = attributes[:'evaluationError'] end @@ -89,6 +98,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && allowed == o.allowed && + denied == o.denied && evaluation_error == o.evaluation_error && reason == o.reason end @@ -102,7 +112,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [allowed, evaluation_error, reason].hash + [allowed, denied, evaluation_error, reason].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb index 24b5568d..97a93bc8 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_subject_rules_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_token_review.rb b/kubernetes/lib/kubernetes/models/v1beta1_token_review.rb index 45aa17fb..16c380d7 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_token_review.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_token_review.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_token_review_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_token_review_spec.rb index 470576c3..e833626e 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_token_review_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_token_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # TokenReviewSpec is a description of the token authentication request. class V1beta1TokenReviewSpec + # Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. + attr_accessor :audiences + # Token is the opaque bearer token. attr_accessor :token @@ -22,6 +25,7 @@ class V1beta1TokenReviewSpec # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'audiences' => :'audiences', :'token' => :'token' } end @@ -29,6 +33,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'audiences' => :'Array', :'token' => :'String' } end @@ -41,6 +46,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'audiences') + if (value = attributes[:'audiences']).is_a?(Array) + self.audiences = value + end + end + if attributes.has_key?(:'token') self.token = attributes[:'token'] end @@ -65,6 +76,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + audiences == o.audiences && token == o.token end @@ -77,7 +89,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [token].hash + [audiences, token].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_token_review_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_token_review_status.rb index 8d313070..6e4f4862 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_token_review_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_token_review_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # TokenReviewStatus is the result of the token authentication request. class V1beta1TokenReviewStatus + # Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server. + attr_accessor :audiences + # Authenticated indicates that the token was associated with a known user. attr_accessor :authenticated @@ -28,6 +31,7 @@ class V1beta1TokenReviewStatus # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'audiences' => :'audiences', :'authenticated' => :'authenticated', :'error' => :'error', :'user' => :'user' @@ -37,6 +41,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'audiences' => :'Array', :'authenticated' => :'BOOLEAN', :'error' => :'String', :'user' => :'V1beta1UserInfo' @@ -51,6 +56,12 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'audiences') + if (value = attributes[:'audiences']).is_a?(Array) + self.audiences = value + end + end + if attributes.has_key?(:'authenticated') self.authenticated = attributes[:'authenticated'] end @@ -83,6 +94,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + audiences == o.audiences && authenticated == o.authenticated && error == o.error && user == o.user @@ -97,7 +109,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [authenticated, error, user].hash + [audiences, authenticated, error, user].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta1_user_info.rb b/kubernetes/lib/kubernetes/models/v1beta1_user_info.rb index 0d745caa..4f4a5f2e 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_user_info.rb +++ b/kubernetes/lib/kubernetes/models/v1beta1_user_info.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb b/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb new file mode 100644 index 00000000..7569051e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration.rb @@ -0,0 +1,221 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. + class V1beta1ValidatingWebhookConfiguration + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. + attr_accessor :metadata + + # Webhooks is a list of webhooks and the affected resources and operations. + attr_accessor :webhooks + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'webhooks' => :'webhooks' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'webhooks' => :'Array' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'webhooks') + if (value = attributes[:'webhooks']).is_a?(Array) + self.webhooks = value + end + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + webhooks == o.webhooks + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, webhooks].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb new file mode 100644 index 00000000..0cc37cc0 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_validating_webhook_configuration_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration. + class V1beta1ValidatingWebhookConfigurationList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # List of ValidatingWebhookConfiguration. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment.rb new file mode 100644 index 00000000..61d25f8e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node. VolumeAttachment objects are non-namespaced. + class V1beta1VolumeAttachment + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system. + attr_accessor :spec + + # Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V1beta1VolumeAttachmentSpec', + :'status' => :'V1beta1VolumeAttachmentStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @spec.nil? + invalid_properties.push("invalid value for 'spec', spec cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @spec.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_list.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_list.rb new file mode 100644 index 00000000..dca560c1 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentList is a collection of VolumeAttachment objects. + class V1beta1VolumeAttachmentList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Items is the list of VolumeAttachments + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_source.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_source.rb new file mode 100644 index 00000000..a2e95635 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_source.rb @@ -0,0 +1,189 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set. + class V1beta1VolumeAttachmentSource + # Name of the persistent volume to attach. + attr_accessor :persistent_volume_name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'persistent_volume_name' => :'persistentVolumeName' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'persistent_volume_name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'persistentVolumeName') + self.persistent_volume_name = attributes[:'persistentVolumeName'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + persistent_volume_name == o.persistent_volume_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [persistent_volume_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb new file mode 100644 index 00000000..90e70e7b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_spec.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentSpec is the specification of a VolumeAttachment request. + class V1beta1VolumeAttachmentSpec + # Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName(). + attr_accessor :attacher + + # The node that the volume should be attached to. + attr_accessor :node_name + + # Source represents the volume that should be attached. + attr_accessor :source + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attacher' => :'attacher', + :'node_name' => :'nodeName', + :'source' => :'source' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attacher' => :'String', + :'node_name' => :'String', + :'source' => :'V1beta1VolumeAttachmentSource' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attacher') + self.attacher = attributes[:'attacher'] + end + + if attributes.has_key?(:'nodeName') + self.node_name = attributes[:'nodeName'] + end + + if attributes.has_key?(:'source') + self.source = attributes[:'source'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attacher.nil? + invalid_properties.push("invalid value for 'attacher', attacher cannot be nil.") + end + + if @node_name.nil? + invalid_properties.push("invalid value for 'node_name', node_name cannot be nil.") + end + + if @source.nil? + invalid_properties.push("invalid value for 'source', source cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attacher.nil? + return false if @node_name.nil? + return false if @source.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attacher == o.attacher && + node_name == o.node_name && + source == o.source + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attacher, node_name, source].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_status.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_status.rb new file mode 100644 index 00000000..9b073cb5 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_attachment_status.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeAttachmentStatus is the status of a VolumeAttachment request. + class V1beta1VolumeAttachmentStatus + # The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attach_error + + # Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attached + + # Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher. + attr_accessor :attachment_metadata + + # The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher. + attr_accessor :detach_error + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'attach_error' => :'attachError', + :'attached' => :'attached', + :'attachment_metadata' => :'attachmentMetadata', + :'detach_error' => :'detachError' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'attach_error' => :'V1beta1VolumeError', + :'attached' => :'BOOLEAN', + :'attachment_metadata' => :'Hash', + :'detach_error' => :'V1beta1VolumeError' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'attachError') + self.attach_error = attributes[:'attachError'] + end + + if attributes.has_key?(:'attached') + self.attached = attributes[:'attached'] + end + + if attributes.has_key?(:'attachmentMetadata') + if (value = attributes[:'attachmentMetadata']).is_a?(Array) + self.attachment_metadata = value + end + end + + if attributes.has_key?(:'detachError') + self.detach_error = attributes[:'detachError'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @attached.nil? + invalid_properties.push("invalid value for 'attached', attached cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @attached.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + attach_error == o.attach_error && + attached == o.attached && + attachment_metadata == o.attachment_metadata && + detach_error == o.detach_error + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [attach_error, attached, attachment_metadata, detach_error].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_volume_error.rb b/kubernetes/lib/kubernetes/models/v1beta1_volume_error.rb new file mode 100644 index 00000000..37ea548b --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_volume_error.rb @@ -0,0 +1,199 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # VolumeError captures an error encountered during a volume operation. + class V1beta1VolumeError + # String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information. + attr_accessor :message + + # Time the error was encountered. + attr_accessor :time + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'message' => :'message', + :'time' => :'time' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'message' => :'String', + :'time' => :'DateTime' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'time') + self.time = attributes[:'time'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + message == o.message && + time == o.time + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [message, time].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta1_webhook.rb b/kubernetes/lib/kubernetes/models/v1beta1_webhook.rb new file mode 100644 index 00000000..cdcc9b67 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta1_webhook.rb @@ -0,0 +1,251 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # Webhook describes an admission webhook and the resources and operations it applies to. + class V1beta1Webhook + # ClientConfig defines how to communicate with the hook. Required + attr_accessor :client_config + + # FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore. + attr_accessor :failure_policy + + # The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required. + attr_accessor :name + + # NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook. For example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"runlevel\", \"operator\": \"NotIn\", \"values\": [ \"0\", \"1\" ] } ] } If instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": { \"matchExpressions\": [ { \"key\": \"environment\", \"operator\": \"In\", \"values\": [ \"prod\", \"staging\" ] } ] } See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors. Default to the empty LabelSelector, which matches everything. + attr_accessor :namespace_selector + + # Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects. + attr_accessor :rules + + # SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown. + attr_accessor :side_effects + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_config' => :'clientConfig', + :'failure_policy' => :'failurePolicy', + :'name' => :'name', + :'namespace_selector' => :'namespaceSelector', + :'rules' => :'rules', + :'side_effects' => :'sideEffects' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'client_config' => :'AdmissionregistrationV1beta1WebhookClientConfig', + :'failure_policy' => :'String', + :'name' => :'String', + :'namespace_selector' => :'V1LabelSelector', + :'rules' => :'Array', + :'side_effects' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'clientConfig') + self.client_config = attributes[:'clientConfig'] + end + + if attributes.has_key?(:'failurePolicy') + self.failure_policy = attributes[:'failurePolicy'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'namespaceSelector') + self.namespace_selector = attributes[:'namespaceSelector'] + end + + if attributes.has_key?(:'rules') + if (value = attributes[:'rules']).is_a?(Array) + self.rules = value + end + end + + if attributes.has_key?(:'sideEffects') + self.side_effects = attributes[:'sideEffects'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @client_config.nil? + invalid_properties.push("invalid value for 'client_config', client_config cannot be nil.") + end + + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @client_config.nil? + return false if @name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_config == o.client_config && + failure_policy == o.failure_policy && + name == o.name && + namespace_selector == o.namespace_selector && + rules == o.rules && + side_effects == o.side_effects + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [client_config, failure_policy, name, namespace_selector, rules, side_effects].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_controller_revision.rb b/kubernetes/lib/kubernetes/models/v1beta2_controller_revision.rb index 431a52b5..d6c1e2f1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_controller_revision.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_controller_revision.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. + # DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers. class V1beta2ControllerRevision # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta2_controller_revision_list.rb b/kubernetes/lib/kubernetes/models/v1beta2_controller_revision_list.rb index 8b638f0d..56f1037b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_controller_revision_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_controller_revision_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set.rb index 6c0afd01..22838c62 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # DaemonSet represents the configuration of a daemon set. + # DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set. class V1beta2DaemonSet # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_condition.rb new file mode 100644 index 00000000..6bb21c5c --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # DaemonSetCondition describes the state of a DaemonSet at a certain point. + class V1beta2DaemonSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of DaemonSet condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_list.rb index af4da3a8..d87dfe69 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_spec.rb index 147bec9f..17b6a37d 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1beta2DaemonSetSpec # The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. attr_accessor :revision_history_limit - # A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + # A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors attr_accessor :selector # An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -87,6 +87,10 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + if @template.nil? invalid_properties.push("invalid value for 'template', template cannot be nil.") end @@ -97,6 +101,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @selector.nil? return false if @template.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_status.rb index 1866167a..3dd1df01 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1beta2DaemonSetStatus # Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. attr_accessor :collision_count + # Represents the latest available observations of a DaemonSet's current state. + attr_accessor :conditions + # The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/ attr_accessor :current_number_scheduled @@ -47,6 +50,7 @@ class V1beta2DaemonSetStatus def self.attribute_map { :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', :'current_number_scheduled' => :'currentNumberScheduled', :'desired_number_scheduled' => :'desiredNumberScheduled', :'number_available' => :'numberAvailable', @@ -62,6 +66,7 @@ def self.attribute_map def self.swagger_types { :'collision_count' => :'Integer', + :'conditions' => :'Array', :'current_number_scheduled' => :'Integer', :'desired_number_scheduled' => :'Integer', :'number_available' => :'Integer', @@ -85,6 +90,12 @@ def initialize(attributes = {}) self.collision_count = attributes[:'collisionCount'] end + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + if attributes.has_key?(:'currentNumberScheduled') self.current_number_scheduled = attributes[:'currentNumberScheduled'] end @@ -158,6 +169,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && collision_count == o.collision_count && + conditions == o.conditions && current_number_scheduled == o.current_number_scheduled && desired_number_scheduled == o.desired_number_scheduled && number_available == o.number_available && @@ -177,7 +189,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [collision_count, current_number_scheduled, desired_number_scheduled, number_available, number_misscheduled, number_ready, number_unavailable, observed_generation, updated_number_scheduled].hash + [collision_count, conditions, current_number_scheduled, desired_number_scheduled, number_available, number_misscheduled, number_ready, number_unavailable, observed_generation, updated_number_scheduled].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb index 62326b47..4d58a0d5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_daemon_set_update_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment.rb index 8d4e55eb..791920c9 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # Deployment enables declarative updates for Pods and ReplicaSets. + # DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets. class V1beta2Deployment # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment_condition.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment_condition.rb index 3ee8878d..3dba38e7 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment_list.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment_list.rb index fe9f204c..1dc7c658 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment_spec.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment_spec.rb index 8fc44398..439634f3 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -30,7 +30,7 @@ class V1beta2DeploymentSpec # The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10. attr_accessor :revision_history_limit - # Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. + # Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels. attr_accessor :selector # The deployment strategy to use to replace existing pods with new ones. @@ -114,6 +114,10 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + if @template.nil? invalid_properties.push("invalid value for 'template', template cannot be nil.") end @@ -124,6 +128,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @selector.nil? return false if @template.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment_status.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment_status.rb index a55f5c07..eefbb495 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_deployment_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta2_deployment_strategy.rb index 4dc00c35..c33b22c1 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_deployment_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_deployment_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_replica_set.rb b/kubernetes/lib/kubernetes/models/v1beta2_replica_set.rb index 987bffa2..2cc21bf3 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_replica_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_replica_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # ReplicaSet represents the configuration of a ReplicaSet. + # DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time. class V1beta2ReplicaSet # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_condition.rb index adae1af5..bd399c6b 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_condition.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_list.rb index c6c7fc6d..aa8b50b0 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_spec.rb index f2f11d4a..2f0b0429 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,7 +21,7 @@ class V1beta2ReplicaSetSpec # Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller attr_accessor :replicas - # Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + # Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors attr_accessor :selector # Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template @@ -78,12 +78,17 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + return invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @selector.nil? return true end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_status.rb index 0d210a9c..bec3348d 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_replica_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_replica_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb index bcde288b..6ed44c20 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_daemon_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb index 9537b3dd..12ff5885 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_deployment.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,10 +15,10 @@ module Kubernetes # Spec to control the desired behavior of rolling update. class V1beta2RollingUpdateDeployment - # The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. + # The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods. attr_accessor :max_surge - # The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. + # The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods. attr_accessor :max_unavailable diff --git a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb index 12d858dc..4c0b72ec 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_rolling_update_stateful_set_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_scale.rb b/kubernetes/lib/kubernetes/models/v1beta2_scale.rb index 4c517802..2c5c5ce5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_scale.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_scale.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_scale_spec.rb b/kubernetes/lib/kubernetes/models/v1beta2_scale_spec.rb index b00554bc..077db14c 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_scale_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_scale_status.rb b/kubernetes/lib/kubernetes/models/v1beta2_scale_status.rb index 05f7a1db..c266a369 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_scale_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_scale_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set.rb index 96d74805..928246c5 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,7 +13,7 @@ require 'date' module Kubernetes - # StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. + # DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as: - Network: A single stable DNS and hostname. - Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity. class V1beta2StatefulSet # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources attr_accessor :api_version diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_condition.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_condition.rb new file mode 100644 index 00000000..f557b3c8 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # StatefulSetCondition describes the state of a statefulset at a certain point. + class V1beta2StatefulSetCondition + # Last time the condition transitioned from one status to another. + attr_accessor :last_transition_time + + # A human readable message indicating details about the transition. + attr_accessor :message + + # The reason for the condition's last transition. + attr_accessor :reason + + # Status of the condition, one of True, False, Unknown. + attr_accessor :status + + # Type of statefulset condition. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_list.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_list.rb index 3f5199b9..a96a95ad 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_list.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_spec.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_spec.rb index cf2314a8..bb4b2a43 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_spec.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -24,7 +24,7 @@ class V1beta2StatefulSetSpec # revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10. attr_accessor :revision_history_limit - # selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors + # selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors attr_accessor :selector # serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller. @@ -116,6 +116,10 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new + if @selector.nil? + invalid_properties.push("invalid value for 'selector', selector cannot be nil.") + end + if @service_name.nil? invalid_properties.push("invalid value for 'service_name', service_name cannot be nil.") end @@ -130,6 +134,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @selector.nil? return false if @service_name.nil? return false if @template.nil? return true diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_status.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_status.rb index daebe137..a86d883a 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_status.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V1beta2StatefulSetStatus # collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision. attr_accessor :collision_count + # Represents the latest available observations of a statefulset's current state. + attr_accessor :conditions + # currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision. attr_accessor :current_replicas @@ -44,6 +47,7 @@ class V1beta2StatefulSetStatus def self.attribute_map { :'collision_count' => :'collisionCount', + :'conditions' => :'conditions', :'current_replicas' => :'currentReplicas', :'current_revision' => :'currentRevision', :'observed_generation' => :'observedGeneration', @@ -58,6 +62,7 @@ def self.attribute_map def self.swagger_types { :'collision_count' => :'Integer', + :'conditions' => :'Array', :'current_replicas' => :'Integer', :'current_revision' => :'String', :'observed_generation' => :'Integer', @@ -80,6 +85,12 @@ def initialize(attributes = {}) self.collision_count = attributes[:'collisionCount'] end + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + if attributes.has_key?(:'currentReplicas') self.current_replicas = attributes[:'currentReplicas'] end @@ -134,6 +145,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && collision_count == o.collision_count && + conditions == o.conditions && current_replicas == o.current_replicas && current_revision == o.current_revision && observed_generation == o.observed_generation && @@ -152,7 +164,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [collision_count, current_replicas, current_revision, observed_generation, ready_replicas, replicas, update_revision, updated_replicas].hash + [collision_count, conditions, current_replicas, current_revision, observed_generation, ready_replicas, replicas, update_revision, updated_replicas].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb index 278f8c3d..5536e628 100644 --- a/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb +++ b/kubernetes/lib/kubernetes/models/v1beta2_stateful_set_update_strategy.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job.rb b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job.rb index 3ba11392..529dec0c 100644 --- a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job.rb +++ b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_list.rb b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_list.rb index 1347abf6..9b11fbfc 100644 --- a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_list.rb +++ b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_spec.rb b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_spec.rb index e78e3199..6561e109 100644 --- a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_spec.rb +++ b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,7 +15,7 @@ module Kubernetes # CronJobSpec describes how the job execution will look like and when it will actually run. class V2alpha1CronJobSpec - # Specifies how to treat concurrent executions of a Job. Defaults to Allow. + # Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one attr_accessor :concurrency_policy # The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. diff --git a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_status.rb b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_status.rb index 609c268b..dd4065a6 100644 --- a/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_status.rb +++ b/kubernetes/lib/kubernetes/models/v2alpha1_cron_job_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2alpha1_job_template_spec.rb b/kubernetes/lib/kubernetes/models/v2alpha1_job_template_spec.rb index 14e5f9f1..0c65d794 100644 --- a/kubernetes/lib/kubernetes/models/v2alpha1_job_template_spec.rb +++ b/kubernetes/lib/kubernetes/models/v2alpha1_job_template_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb b/kubernetes/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb index a398b8b3..72cf3d4f 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_cross_version_object_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_external_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta1_external_metric_source.rb new file mode 100644 index 00000000..0b0da2b3 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta1_external_metric_source.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set. + class V2beta1ExternalMetricSource + # metricName is the name of the metric in question. + attr_accessor :metric_name + + # metricSelector is used to identify a specific time series within a given metric. + attr_accessor :metric_selector + + # targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue. + attr_accessor :target_average_value + + # targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue. + attr_accessor :target_value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'metric_name' => :'metricName', + :'metric_selector' => :'metricSelector', + :'target_average_value' => :'targetAverageValue', + :'target_value' => :'targetValue' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'metric_name' => :'String', + :'metric_selector' => :'V1LabelSelector', + :'target_average_value' => :'String', + :'target_value' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'metricName') + self.metric_name = attributes[:'metricName'] + end + + if attributes.has_key?(:'metricSelector') + self.metric_selector = attributes[:'metricSelector'] + end + + if attributes.has_key?(:'targetAverageValue') + self.target_average_value = attributes[:'targetAverageValue'] + end + + if attributes.has_key?(:'targetValue') + self.target_value = attributes[:'targetValue'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @metric_name.nil? + invalid_properties.push("invalid value for 'metric_name', metric_name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @metric_name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + metric_name == o.metric_name && + metric_selector == o.metric_selector && + target_average_value == o.target_average_value && + target_value == o.target_value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [metric_name, metric_selector, target_average_value, target_value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta1_external_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_external_metric_status.rb new file mode 100644 index 00000000..7b8d8444 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta1_external_metric_status.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. + class V2beta1ExternalMetricStatus + # currentAverageValue is the current value of metric averaged over autoscaled pods. + attr_accessor :current_average_value + + # currentValue is the current value of the metric (as a quantity) + attr_accessor :current_value + + # metricName is the name of a metric used for autoscaling in metric system. + attr_accessor :metric_name + + # metricSelector is used to identify a specific time series within a given metric. + attr_accessor :metric_selector + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'current_average_value' => :'currentAverageValue', + :'current_value' => :'currentValue', + :'metric_name' => :'metricName', + :'metric_selector' => :'metricSelector' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'current_average_value' => :'String', + :'current_value' => :'String', + :'metric_name' => :'String', + :'metric_selector' => :'V1LabelSelector' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'currentAverageValue') + self.current_average_value = attributes[:'currentAverageValue'] + end + + if attributes.has_key?(:'currentValue') + self.current_value = attributes[:'currentValue'] + end + + if attributes.has_key?(:'metricName') + self.metric_name = attributes[:'metricName'] + end + + if attributes.has_key?(:'metricSelector') + self.metric_selector = attributes[:'metricSelector'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current_value.nil? + invalid_properties.push("invalid value for 'current_value', current_value cannot be nil.") + end + + if @metric_name.nil? + invalid_properties.push("invalid value for 'metric_name', metric_name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current_value.nil? + return false if @metric_name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + current_average_value == o.current_average_value && + current_value == o.current_value && + metric_name == o.metric_name && + metric_selector == o.metric_selector + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [current_average_value, current_value, metric_name, metric_selector].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb index 75060628..935a5c3d 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb index e86410a6..1bf0d71a 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_condition.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb index bba8240c..9a90c42d 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_list.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb index 94f0a914..ce654bd1 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb index 732bf19d..b2394b94 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_horizontal_pod_autoscaler_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -104,10 +104,6 @@ def list_invalid_properties invalid_properties.push("invalid value for 'conditions', conditions cannot be nil.") end - if @current_metrics.nil? - invalid_properties.push("invalid value for 'current_metrics', current_metrics cannot be nil.") - end - if @current_replicas.nil? invalid_properties.push("invalid value for 'current_replicas', current_replicas cannot be nil.") end @@ -123,7 +119,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @conditions.nil? - return false if @current_metrics.nil? return false if @current_replicas.nil? return false if @desired_replicas.nil? return true diff --git a/kubernetes/lib/kubernetes/models/v2beta1_metric_spec.rb b/kubernetes/lib/kubernetes/models/v2beta1_metric_spec.rb index d32d564f..298783a9 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_metric_spec.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_metric_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). class V2beta1MetricSpec + # external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + attr_accessor :external + # object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). attr_accessor :object @@ -24,13 +27,14 @@ class V2beta1MetricSpec # resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. attr_accessor :resource - # type is the type of metric source. It should match one of the fields below. + # type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. attr_accessor :type # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'external' => :'external', :'object' => :'object', :'pods' => :'pods', :'resource' => :'resource', @@ -41,6 +45,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'external' => :'V2beta1ExternalMetricSource', :'object' => :'V2beta1ObjectMetricSource', :'pods' => :'V2beta1PodsMetricSource', :'resource' => :'V2beta1ResourceMetricSource', @@ -56,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'external') + self.external = attributes[:'external'] + end + if attributes.has_key?(:'object') self.object = attributes[:'object'] end @@ -97,6 +106,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + external == o.external && object == o.object && pods == o.pods && resource == o.resource && @@ -112,7 +122,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [object, pods, resource, type].hash + [external, object, pods, resource, type].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_metric_status.rb index 8327eb89..ac3c03bf 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_metric_status.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_metric_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,6 +15,9 @@ module Kubernetes # MetricStatus describes the last-read state of a single metric. class V2beta1MetricStatus + # external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + attr_accessor :external + # object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). attr_accessor :object @@ -24,13 +27,14 @@ class V2beta1MetricStatus # resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. attr_accessor :resource - # type is the type of metric source. It will match one of the fields below. + # type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. attr_accessor :type # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'external' => :'external', :'object' => :'object', :'pods' => :'pods', :'resource' => :'resource', @@ -41,6 +45,7 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'external' => :'V2beta1ExternalMetricStatus', :'object' => :'V2beta1ObjectMetricStatus', :'pods' => :'V2beta1PodsMetricStatus', :'resource' => :'V2beta1ResourceMetricStatus', @@ -56,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'external') + self.external = attributes[:'external'] + end + if attributes.has_key?(:'object') self.object = attributes[:'object'] end @@ -97,6 +106,7 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + external == o.external && object == o.object && pods == o.pods && resource == o.resource && @@ -112,7 +122,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [object, pods, resource, type].hash + [external, object, pods, resource, type].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_object_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta1_object_metric_source.rb index d57ec86e..7b68444a 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_object_metric_source.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_object_metric_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,9 +15,15 @@ module Kubernetes # ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). class V2beta1ObjectMetricSource + # averageValue is the target value of the average of the metric across all relevant pods (as a quantity) + attr_accessor :average_value + # metricName is the name of the metric in question. attr_accessor :metric_name + # selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. + attr_accessor :selector + # target is the described Kubernetes object. attr_accessor :target @@ -28,7 +34,9 @@ class V2beta1ObjectMetricSource # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'average_value' => :'averageValue', :'metric_name' => :'metricName', + :'selector' => :'selector', :'target' => :'target', :'target_value' => :'targetValue' } @@ -37,7 +45,9 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'average_value' => :'String', :'metric_name' => :'String', + :'selector' => :'V1LabelSelector', :'target' => :'V2beta1CrossVersionObjectReference', :'target_value' => :'String' } @@ -51,10 +61,18 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'averageValue') + self.average_value = attributes[:'averageValue'] + end + if attributes.has_key?(:'metricName') self.metric_name = attributes[:'metricName'] end + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + if attributes.has_key?(:'target') self.target = attributes[:'target'] end @@ -98,7 +116,9 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + average_value == o.average_value && metric_name == o.metric_name && + selector == o.selector && target == o.target && target_value == o.target_value end @@ -112,7 +132,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [metric_name, target, target_value].hash + [average_value, metric_name, selector, target, target_value].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_object_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_object_metric_status.rb index 27c2f4ff..6c4a64b1 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_object_metric_status.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_object_metric_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -15,12 +15,18 @@ module Kubernetes # ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). class V2beta1ObjectMetricStatus + # averageValue is the current value of the average of the metric across all relevant pods (as a quantity) + attr_accessor :average_value + # currentValue is the current value of the metric (as a quantity). attr_accessor :current_value # metricName is the name of the metric in question. attr_accessor :metric_name + # selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. + attr_accessor :selector + # target is the described Kubernetes object. attr_accessor :target @@ -28,8 +34,10 @@ class V2beta1ObjectMetricStatus # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { + :'average_value' => :'averageValue', :'current_value' => :'currentValue', :'metric_name' => :'metricName', + :'selector' => :'selector', :'target' => :'target' } end @@ -37,8 +45,10 @@ def self.attribute_map # Attribute type mapping. def self.swagger_types { + :'average_value' => :'String', :'current_value' => :'String', :'metric_name' => :'String', + :'selector' => :'V1LabelSelector', :'target' => :'V2beta1CrossVersionObjectReference' } end @@ -51,6 +61,10 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + if attributes.has_key?(:'averageValue') + self.average_value = attributes[:'averageValue'] + end + if attributes.has_key?(:'currentValue') self.current_value = attributes[:'currentValue'] end @@ -59,6 +73,10 @@ def initialize(attributes = {}) self.metric_name = attributes[:'metricName'] end + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + if attributes.has_key?(:'target') self.target = attributes[:'target'] end @@ -98,8 +116,10 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && + average_value == o.average_value && current_value == o.current_value && metric_name == o.metric_name && + selector == o.selector && target == o.target end @@ -112,7 +132,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [current_value, metric_name, target].hash + [average_value, current_value, metric_name, selector, target].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_source.rb index b3ec6e9b..cba52396 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_source.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -18,6 +18,9 @@ class V2beta1PodsMetricSource # metricName is the name of the metric in question attr_accessor :metric_name + # selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics. + attr_accessor :selector + # targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity) attr_accessor :target_average_value @@ -26,6 +29,7 @@ class V2beta1PodsMetricSource def self.attribute_map { :'metric_name' => :'metricName', + :'selector' => :'selector', :'target_average_value' => :'targetAverageValue' } end @@ -34,6 +38,7 @@ def self.attribute_map def self.swagger_types { :'metric_name' => :'String', + :'selector' => :'V1LabelSelector', :'target_average_value' => :'String' } end @@ -50,6 +55,10 @@ def initialize(attributes = {}) self.metric_name = attributes[:'metricName'] end + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + if attributes.has_key?(:'targetAverageValue') self.target_average_value = attributes[:'targetAverageValue'] end @@ -85,6 +94,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && metric_name == o.metric_name && + selector == o.selector && target_average_value == o.target_average_value end @@ -97,7 +107,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [metric_name, target_average_value].hash + [metric_name, selector, target_average_value].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_status.rb index 208ebc9a..4aacc185 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_status.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_pods_metric_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -21,12 +21,16 @@ class V2beta1PodsMetricStatus # metricName is the name of the metric in question attr_accessor :metric_name + # selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. + attr_accessor :selector + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'current_average_value' => :'currentAverageValue', - :'metric_name' => :'metricName' + :'metric_name' => :'metricName', + :'selector' => :'selector' } end @@ -34,7 +38,8 @@ def self.attribute_map def self.swagger_types { :'current_average_value' => :'String', - :'metric_name' => :'String' + :'metric_name' => :'String', + :'selector' => :'V1LabelSelector' } end @@ -54,6 +59,10 @@ def initialize(attributes = {}) self.metric_name = attributes[:'metricName'] end + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + end # Show invalid properties with the reasons. Usually used together with valid? @@ -85,7 +94,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && current_average_value == o.current_average_value && - metric_name == o.metric_name + metric_name == o.metric_name && + selector == o.selector end # @see the `==` method @@ -97,7 +107,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [current_average_value, metric_name].hash + [current_average_value, metric_name, selector].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_source.rb index a1a28017..4acf7ad8 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_source.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_source.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_status.rb index 1a7bc7b0..190a517c 100644 --- a/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_status.rb +++ b/kubernetes/lib/kubernetes/models/v2beta1_resource_metric_status.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/models/v1beta1_json.rb b/kubernetes/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb similarity index 78% rename from kubernetes/lib/kubernetes/models/v1beta1_json.rb rename to kubernetes/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb index b9a0e622..0f5ed351 100644 --- a/kubernetes/lib/kubernetes/models/v1beta1_json.rb +++ b/kubernetes/lib/kubernetes/models/v2beta2_cross_version_object_reference.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -13,22 +13,33 @@ require 'date' module Kubernetes - # JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil. - class V1beta1JSON - attr_accessor :raw + # CrossVersionObjectReference contains enough information to let you identify the referred resource. + class V2beta2CrossVersionObjectReference + # API version of the referent + attr_accessor :api_version + + # Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\" + attr_accessor :kind + + # Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names + attr_accessor :name # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'raw' => :'Raw' + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'name' => :'name' } end # Attribute type mapping. def self.swagger_types { - :'raw' => :'String' + :'api_version' => :'String', + :'kind' => :'String', + :'name' => :'String' } end @@ -40,8 +51,16 @@ def initialize(attributes = {}) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} - if attributes.has_key?(:'Raw') - self.raw = attributes[:'Raw'] + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] end end @@ -50,12 +69,12 @@ def initialize(attributes = {}) # @return Array for valid properies with the reasons def list_invalid_properties invalid_properties = Array.new - if @raw.nil? - invalid_properties.push("invalid value for 'raw', raw cannot be nil.") + if @kind.nil? + invalid_properties.push("invalid value for 'kind', kind cannot be nil.") end - if @raw !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) - invalid_properties.push("invalid value for 'raw', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.") + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") end return invalid_properties @@ -64,31 +83,19 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @raw.nil? - return false if @raw !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) + return false if @kind.nil? + return false if @name.nil? return true end - # Custom attribute writer method with validation - # @param [Object] raw Value to be assigned - def raw=(raw) - if raw.nil? - fail ArgumentError, "raw cannot be nil" - end - - if raw !~ Regexp.new(/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/) - fail ArgumentError, "invalid value for 'raw', must conform to the pattern /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/." - end - - @raw = raw - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && - raw == o.raw + api_version == o.api_version && + kind == o.kind && + name == o.name end # @see the `==` method @@ -100,7 +107,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [raw].hash + [api_version, kind, name].hash end # Builds the object from hash diff --git a/kubernetes/lib/kubernetes/models/v2beta2_external_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta2_external_metric_source.rb new file mode 100644 index 00000000..0af9cc3d --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_external_metric_source.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + class V2beta2ExternalMetricSource + # metric identifies the target metric by name and selector + attr_accessor :metric + + # target specifies the target value for the given metric + attr_accessor :target + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'metric' => :'metric', + :'target' => :'target' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'metric' => :'V2beta2MetricIdentifier', + :'target' => :'V2beta2MetricTarget' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + if attributes.has_key?(:'target') + self.target = attributes[:'target'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + if @target.nil? + invalid_properties.push("invalid value for 'target', target cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @metric.nil? + return false if @target.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + metric == o.metric && + target == o.target + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [metric, target].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_external_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_external_metric_status.rb new file mode 100644 index 00000000..9a32272e --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_external_metric_status.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object. + class V2beta2ExternalMetricStatus + # current contains the current value for the given metric + attr_accessor :current + + # metric identifies the target metric by name and selector + attr_accessor :metric + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'current' => :'current', + :'metric' => :'metric' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'current' => :'V2beta2MetricValueStatus', + :'metric' => :'V2beta2MetricIdentifier' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current.nil? + invalid_properties.push("invalid value for 'current', current cannot be nil.") + end + + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current.nil? + return false if @metric.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + current == o.current && + metric == o.metric + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [current, metric].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb new file mode 100644 index 00000000..60d734ca --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler.rb @@ -0,0 +1,229 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified. + class V2beta2HorizontalPodAutoscaler + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata + attr_accessor :metadata + + # spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. + attr_accessor :spec + + # status is the current information about the autoscaler. + attr_accessor :status + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'kind' => :'kind', + :'metadata' => :'metadata', + :'spec' => :'spec', + :'status' => :'status' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'kind' => :'String', + :'metadata' => :'V1ObjectMeta', + :'spec' => :'V2beta2HorizontalPodAutoscalerSpec', + :'status' => :'V2beta2HorizontalPodAutoscalerStatus' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.has_key?(:'spec') + self.spec = attributes[:'spec'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + kind == o.kind && + metadata == o.metadata && + spec == o.spec && + status == o.status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, kind, metadata, spec, status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb new file mode 100644 index 00000000..e143c147 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_condition.rb @@ -0,0 +1,239 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point. + class V2beta2HorizontalPodAutoscalerCondition + # lastTransitionTime is the last time the condition transitioned from one status to another + attr_accessor :last_transition_time + + # message is a human-readable explanation containing details about the transition + attr_accessor :message + + # reason is the reason for the condition's last transition. + attr_accessor :reason + + # status is the status of the condition (True, False, Unknown) + attr_accessor :status + + # type describes the current condition + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'last_transition_time' => :'lastTransitionTime', + :'message' => :'message', + :'reason' => :'reason', + :'status' => :'status', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'last_transition_time' => :'DateTime', + :'message' => :'String', + :'reason' => :'String', + :'status' => :'String', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'lastTransitionTime') + self.last_transition_time = attributes[:'lastTransitionTime'] + end + + if attributes.has_key?(:'message') + self.message = attributes[:'message'] + end + + if attributes.has_key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.has_key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status.nil? + invalid_properties.push("invalid value for 'status', status cannot be nil.") + end + + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status.nil? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + last_transition_time == o.last_transition_time && + message == o.message && + reason == o.reason && + status == o.status && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [last_transition_time, message, reason, status, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb new file mode 100644 index 00000000..52231587 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_list.rb @@ -0,0 +1,226 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects. + class V2beta2HorizontalPodAutoscalerList + # APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources + attr_accessor :api_version + + # items is the list of horizontal pod autoscaler objects. + attr_accessor :items + + # Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds + attr_accessor :kind + + # metadata is the standard list metadata. + attr_accessor :metadata + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'api_version' => :'apiVersion', + :'items' => :'items', + :'kind' => :'kind', + :'metadata' => :'metadata' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'api_version' => :'String', + :'items' => :'Array', + :'kind' => :'String', + :'metadata' => :'V1ListMeta' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'apiVersion') + self.api_version = attributes[:'apiVersion'] + end + + if attributes.has_key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + + if attributes.has_key?(:'kind') + self.kind = attributes[:'kind'] + end + + if attributes.has_key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @items.nil? + invalid_properties.push("invalid value for 'items', items cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @items.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + api_version == o.api_version && + items == o.items && + kind == o.kind && + metadata == o.metadata + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [api_version, items, kind, metadata].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb new file mode 100644 index 00000000..e5f294b8 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_spec.rb @@ -0,0 +1,231 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler. + class V2beta2HorizontalPodAutoscalerSpec + # maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas. + attr_accessor :max_replicas + + # metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization. + attr_accessor :metrics + + # minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. + attr_accessor :min_replicas + + # scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count. + attr_accessor :scale_target_ref + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'max_replicas' => :'maxReplicas', + :'metrics' => :'metrics', + :'min_replicas' => :'minReplicas', + :'scale_target_ref' => :'scaleTargetRef' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'max_replicas' => :'Integer', + :'metrics' => :'Array', + :'min_replicas' => :'Integer', + :'scale_target_ref' => :'V2beta2CrossVersionObjectReference' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'maxReplicas') + self.max_replicas = attributes[:'maxReplicas'] + end + + if attributes.has_key?(:'metrics') + if (value = attributes[:'metrics']).is_a?(Array) + self.metrics = value + end + end + + if attributes.has_key?(:'minReplicas') + self.min_replicas = attributes[:'minReplicas'] + end + + if attributes.has_key?(:'scaleTargetRef') + self.scale_target_ref = attributes[:'scaleTargetRef'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @max_replicas.nil? + invalid_properties.push("invalid value for 'max_replicas', max_replicas cannot be nil.") + end + + if @scale_target_ref.nil? + invalid_properties.push("invalid value for 'scale_target_ref', scale_target_ref cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @max_replicas.nil? + return false if @scale_target_ref.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + max_replicas == o.max_replicas && + metrics == o.metrics && + min_replicas == o.min_replicas && + scale_target_ref == o.scale_target_ref + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [max_replicas, metrics, min_replicas, scale_target_ref].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb new file mode 100644 index 00000000..5fa8b0bf --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_horizontal_pod_autoscaler_status.rb @@ -0,0 +1,258 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. + class V2beta2HorizontalPodAutoscalerStatus + # conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met. + attr_accessor :conditions + + # currentMetrics is the last read state of the metrics used by this autoscaler. + attr_accessor :current_metrics + + # currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler. + attr_accessor :current_replicas + + # desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler. + attr_accessor :desired_replicas + + # lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed. + attr_accessor :last_scale_time + + # observedGeneration is the most recent generation observed by this autoscaler. + attr_accessor :observed_generation + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'conditions' => :'conditions', + :'current_metrics' => :'currentMetrics', + :'current_replicas' => :'currentReplicas', + :'desired_replicas' => :'desiredReplicas', + :'last_scale_time' => :'lastScaleTime', + :'observed_generation' => :'observedGeneration' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'conditions' => :'Array', + :'current_metrics' => :'Array', + :'current_replicas' => :'Integer', + :'desired_replicas' => :'Integer', + :'last_scale_time' => :'DateTime', + :'observed_generation' => :'Integer' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'conditions') + if (value = attributes[:'conditions']).is_a?(Array) + self.conditions = value + end + end + + if attributes.has_key?(:'currentMetrics') + if (value = attributes[:'currentMetrics']).is_a?(Array) + self.current_metrics = value + end + end + + if attributes.has_key?(:'currentReplicas') + self.current_replicas = attributes[:'currentReplicas'] + end + + if attributes.has_key?(:'desiredReplicas') + self.desired_replicas = attributes[:'desiredReplicas'] + end + + if attributes.has_key?(:'lastScaleTime') + self.last_scale_time = attributes[:'lastScaleTime'] + end + + if attributes.has_key?(:'observedGeneration') + self.observed_generation = attributes[:'observedGeneration'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @conditions.nil? + invalid_properties.push("invalid value for 'conditions', conditions cannot be nil.") + end + + if @current_replicas.nil? + invalid_properties.push("invalid value for 'current_replicas', current_replicas cannot be nil.") + end + + if @desired_replicas.nil? + invalid_properties.push("invalid value for 'desired_replicas', desired_replicas cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @conditions.nil? + return false if @current_replicas.nil? + return false if @desired_replicas.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + conditions == o.conditions && + current_metrics == o.current_metrics && + current_replicas == o.current_replicas && + desired_replicas == o.desired_replicas && + last_scale_time == o.last_scale_time && + observed_generation == o.observed_generation + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [conditions, current_metrics, current_replicas, desired_replicas, last_scale_time, observed_generation].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_metric_identifier.rb b/kubernetes/lib/kubernetes/models/v2beta2_metric_identifier.rb new file mode 100644 index 00000000..99295207 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_metric_identifier.rb @@ -0,0 +1,204 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MetricIdentifier defines the name and optionally selector for a metric + class V2beta2MetricIdentifier + # name is the name of the given metric + attr_accessor :name + + # selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics. + attr_accessor :selector + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'selector' => :'selector' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'selector' => :'V1LabelSelector' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'selector') + self.selector = attributes[:'selector'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + selector == o.selector + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, selector].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_metric_spec.rb b/kubernetes/lib/kubernetes/models/v2beta2_metric_spec.rb new file mode 100644 index 00000000..4ab1cbff --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_metric_spec.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once). + class V2beta2MetricSpec + # external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + attr_accessor :external + + # object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). + attr_accessor :object + + # pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. + attr_accessor :pods + + # resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. + attr_accessor :resource + + # type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'external' => :'external', + :'object' => :'object', + :'pods' => :'pods', + :'resource' => :'resource', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'external' => :'V2beta2ExternalMetricSource', + :'object' => :'V2beta2ObjectMetricSource', + :'pods' => :'V2beta2PodsMetricSource', + :'resource' => :'V2beta2ResourceMetricSource', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'external') + self.external = attributes[:'external'] + end + + if attributes.has_key?(:'object') + self.object = attributes[:'object'] + end + + if attributes.has_key?(:'pods') + self.pods = attributes[:'pods'] + end + + if attributes.has_key?(:'resource') + self.resource = attributes[:'resource'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + external == o.external && + object == o.object && + pods == o.pods && + resource == o.resource && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [external, object, pods, resource, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_metric_status.rb new file mode 100644 index 00000000..e06c1a60 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_metric_status.rb @@ -0,0 +1,234 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MetricStatus describes the last-read state of a single metric. + class V2beta2MetricStatus + # external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). + attr_accessor :external + + # object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object). + attr_accessor :object + + # pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. + attr_accessor :pods + + # resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. + attr_accessor :resource + + # type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. + attr_accessor :type + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'external' => :'external', + :'object' => :'object', + :'pods' => :'pods', + :'resource' => :'resource', + :'type' => :'type' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'external' => :'V2beta2ExternalMetricStatus', + :'object' => :'V2beta2ObjectMetricStatus', + :'pods' => :'V2beta2PodsMetricStatus', + :'resource' => :'V2beta2ResourceMetricStatus', + :'type' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'external') + self.external = attributes[:'external'] + end + + if attributes.has_key?(:'object') + self.object = attributes[:'object'] + end + + if attributes.has_key?(:'pods') + self.pods = attributes[:'pods'] + end + + if attributes.has_key?(:'resource') + self.resource = attributes[:'resource'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + external == o.external && + object == o.object && + pods == o.pods && + resource == o.resource && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [external, object, pods, resource, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_metric_target.rb b/kubernetes/lib/kubernetes/models/v2beta2_metric_target.rb new file mode 100644 index 00000000..249568aa --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_metric_target.rb @@ -0,0 +1,224 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MetricTarget defines the target value, average value, or average utilization of a specific metric + class V2beta2MetricTarget + # averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type + attr_accessor :average_utilization + + # averageValue is the target value of the average of the metric across all relevant pods (as a quantity) + attr_accessor :average_value + + # type represents whether the metric type is Utilization, Value, or AverageValue + attr_accessor :type + + # value is the target value of the metric (as a quantity). + attr_accessor :value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'average_utilization' => :'averageUtilization', + :'average_value' => :'averageValue', + :'type' => :'type', + :'value' => :'value' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'average_utilization' => :'Integer', + :'average_value' => :'String', + :'type' => :'String', + :'value' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'averageUtilization') + self.average_utilization = attributes[:'averageUtilization'] + end + + if attributes.has_key?(:'averageValue') + self.average_value = attributes[:'averageValue'] + end + + if attributes.has_key?(:'type') + self.type = attributes[:'type'] + end + + if attributes.has_key?(:'value') + self.value = attributes[:'value'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @type.nil? + invalid_properties.push("invalid value for 'type', type cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @type.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + average_utilization == o.average_utilization && + average_value == o.average_value && + type == o.type && + value == o.value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [average_utilization, average_value, type, value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_metric_value_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_metric_value_status.rb new file mode 100644 index 00000000..12413d71 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_metric_value_status.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # MetricValueStatus holds the current value for a metric + class V2beta2MetricValueStatus + # currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. + attr_accessor :average_utilization + + # averageValue is the current value of the average of the metric across all relevant pods (as a quantity) + attr_accessor :average_value + + # value is the current value of the metric (as a quantity). + attr_accessor :value + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'average_utilization' => :'averageUtilization', + :'average_value' => :'averageValue', + :'value' => :'value' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'average_utilization' => :'Integer', + :'average_value' => :'String', + :'value' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'averageUtilization') + self.average_utilization = attributes[:'averageUtilization'] + end + + if attributes.has_key?(:'averageValue') + self.average_value = attributes[:'averageValue'] + end + + if attributes.has_key?(:'value') + self.value = attributes[:'value'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + average_utilization == o.average_utilization && + average_value == o.average_value && + value == o.value + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [average_utilization, average_value, value].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_object_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta2_object_metric_source.rb new file mode 100644 index 00000000..8ef5d708 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_object_metric_source.rb @@ -0,0 +1,223 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + class V2beta2ObjectMetricSource + attr_accessor :described_object + + # metric identifies the target metric by name and selector + attr_accessor :metric + + # target specifies the target value for the given metric + attr_accessor :target + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'described_object' => :'describedObject', + :'metric' => :'metric', + :'target' => :'target' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'described_object' => :'V2beta2CrossVersionObjectReference', + :'metric' => :'V2beta2MetricIdentifier', + :'target' => :'V2beta2MetricTarget' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'describedObject') + self.described_object = attributes[:'describedObject'] + end + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + if attributes.has_key?(:'target') + self.target = attributes[:'target'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @described_object.nil? + invalid_properties.push("invalid value for 'described_object', described_object cannot be nil.") + end + + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + if @target.nil? + invalid_properties.push("invalid value for 'target', target cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @described_object.nil? + return false if @metric.nil? + return false if @target.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + described_object == o.described_object && + metric == o.metric && + target == o.target + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [described_object, metric, target].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_object_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_object_metric_status.rb new file mode 100644 index 00000000..baac938c --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_object_metric_status.rb @@ -0,0 +1,223 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object). + class V2beta2ObjectMetricStatus + # current contains the current value for the given metric + attr_accessor :current + + attr_accessor :described_object + + # metric identifies the target metric by name and selector + attr_accessor :metric + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'current' => :'current', + :'described_object' => :'describedObject', + :'metric' => :'metric' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'current' => :'V2beta2MetricValueStatus', + :'described_object' => :'V2beta2CrossVersionObjectReference', + :'metric' => :'V2beta2MetricIdentifier' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.has_key?(:'describedObject') + self.described_object = attributes[:'describedObject'] + end + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current.nil? + invalid_properties.push("invalid value for 'current', current cannot be nil.") + end + + if @described_object.nil? + invalid_properties.push("invalid value for 'described_object', described_object cannot be nil.") + end + + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current.nil? + return false if @described_object.nil? + return false if @metric.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + current == o.current && + described_object == o.described_object && + metric == o.metric + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [current, described_object, metric].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_source.rb new file mode 100644 index 00000000..84dd5d69 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_source.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value. + class V2beta2PodsMetricSource + # metric identifies the target metric by name and selector + attr_accessor :metric + + # target specifies the target value for the given metric + attr_accessor :target + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'metric' => :'metric', + :'target' => :'target' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'metric' => :'V2beta2MetricIdentifier', + :'target' => :'V2beta2MetricTarget' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + if attributes.has_key?(:'target') + self.target = attributes[:'target'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + if @target.nil? + invalid_properties.push("invalid value for 'target', target cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @metric.nil? + return false if @target.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + metric == o.metric && + target == o.target + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [metric, target].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_status.rb new file mode 100644 index 00000000..db88ea28 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_pods_metric_status.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second). + class V2beta2PodsMetricStatus + # current contains the current value for the given metric + attr_accessor :current + + # metric identifies the target metric by name and selector + attr_accessor :metric + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'current' => :'current', + :'metric' => :'metric' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'current' => :'V2beta2MetricValueStatus', + :'metric' => :'V2beta2MetricIdentifier' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.has_key?(:'metric') + self.metric = attributes[:'metric'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current.nil? + invalid_properties.push("invalid value for 'current', current cannot be nil.") + end + + if @metric.nil? + invalid_properties.push("invalid value for 'metric', metric cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current.nil? + return false if @metric.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + current == o.current && + metric == o.metric + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [current, metric].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_source.rb b/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_source.rb new file mode 100644 index 00000000..87085747 --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_source.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set. + class V2beta2ResourceMetricSource + # name is the name of the resource in question. + attr_accessor :name + + # target specifies the target value for the given metric + attr_accessor :target + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'name' => :'name', + :'target' => :'target' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'name' => :'String', + :'target' => :'V2beta2MetricTarget' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.has_key?(:'target') + self.target = attributes[:'target'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + if @target.nil? + invalid_properties.push("invalid value for 'target', target cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @name.nil? + return false if @target.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + name == o.name && + target == o.target + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [name, target].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_status.rb b/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_status.rb new file mode 100644 index 00000000..53e16aff --- /dev/null +++ b/kubernetes/lib/kubernetes/models/v2beta2_resource_metric_status.rb @@ -0,0 +1,209 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'date' + +module Kubernetes + # ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. + class V2beta2ResourceMetricStatus + # current contains the current value for the given metric + attr_accessor :current + + # Name is the name of the resource in question. + attr_accessor :name + + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'current' => :'current', + :'name' => :'name' + } + end + + # Attribute type mapping. + def self.swagger_types + { + :'current' => :'V2beta2MetricValueStatus', + :'name' => :'String' + } + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + return unless attributes.is_a?(Hash) + + # convert string to symbol for hash key + attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} + + if attributes.has_key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.has_key?(:'name') + self.name = attributes[:'name'] + end + + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properies with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @current.nil? + invalid_properties.push("invalid value for 'current', current cannot be nil.") + end + + if @name.nil? + invalid_properties.push("invalid value for 'name', name cannot be nil.") + end + + return invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @current.nil? + return false if @name.nil? + return true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + current == o.current && + name == o.name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Fixnum] Hash code + def hash + [current, name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + self.class.swagger_types.each_pair do |key, type| + if type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end # or else data not found in attributes(hash), not an issue as the data can be optional + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :DateTime + DateTime.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :BOOLEAN + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + temp_model = Kubernetes.const_get(type).new + temp_model.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + next if value.nil? + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map{ |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/kubernetes/lib/kubernetes/models/version_info.rb b/kubernetes/lib/kubernetes/models/version_info.rb index 9bb2da25..5c82b8f0 100644 --- a/kubernetes/lib/kubernetes/models/version_info.rb +++ b/kubernetes/lib/kubernetes/models/version_info.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/lib/kubernetes/version.rb b/kubernetes/lib/kubernetes/version.rb index 49b74bed..f79120df 100644 --- a/kubernetes/lib/kubernetes/version.rb +++ b/kubernetes/lib/kubernetes/version.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -11,5 +11,5 @@ =end module Kubernetes - VERSION = "1.0.0-alpha1" + VERSION = "1.0.0-alpha2" end diff --git a/kubernetes/spec/api/admissionregistration_api_spec.rb b/kubernetes/spec/api/admissionregistration_api_spec.rb index df07e18f..66e09886 100644 --- a/kubernetes/spec/api/admissionregistration_api_spec.rb +++ b/kubernetes/spec/api/admissionregistration_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb b/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb index fbbcf716..94ca9a8d 100644 --- a/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb +++ b/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,25 +32,14 @@ end end - # unit tests for create_external_admission_hook_configuration - # - # create an ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - describe 'create_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for create_initializer_configuration # # create an InitializerConfiguration # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] describe 'create_initializer_configuration test' do it "should work" do @@ -58,38 +47,18 @@ end end - # unit tests for delete_collection_external_admission_hook_configuration - # - # delete collection of ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for delete_collection_initializer_configuration # # delete collection of InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_initializer_configuration test' do @@ -98,33 +67,17 @@ end end - # unit tests for delete_external_admission_hook_configuration - # - # delete an ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - # @return [V1Status] - describe 'delete_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for delete_initializer_configuration # # delete an InitializerConfiguration # @param name name of the InitializerConfiguration - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_initializer_configuration test' do it "should work" do @@ -143,38 +96,18 @@ end end - # unit tests for list_external_admission_hook_configuration - # - # list or watch objects of kind ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1ExternalAdmissionHookConfigurationList] - describe 'list_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for list_initializer_configuration # # list or watch objects of kind InitializerConfiguration # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1InitializerConfigurationList] describe 'list_initializer_configuration test' do @@ -183,20 +116,6 @@ end end - # unit tests for patch_external_admission_hook_configuration - # - # partially update the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - describe 'patch_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for patch_initializer_configuration # # partially update the specified InitializerConfiguration @@ -204,6 +123,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] describe 'patch_initializer_configuration test' do it "should work" do @@ -211,21 +131,6 @@ end end - # unit tests for read_external_admission_hook_configuration - # - # read the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - describe 'read_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for read_initializer_configuration # # read the specified InitializerConfiguration @@ -241,20 +146,6 @@ end end - # unit tests for replace_external_admission_hook_configuration - # - # replace the specified ExternalAdmissionHookConfiguration - # @param name name of the ExternalAdmissionHookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ExternalAdmissionHookConfiguration] - describe 'replace_external_admission_hook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for replace_initializer_configuration # # replace the specified InitializerConfiguration @@ -262,6 +153,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1InitializerConfiguration] describe 'replace_initializer_configuration test' do it "should work" do diff --git a/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb b/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb new file mode 100644 index 00000000..8002ce47 --- /dev/null +++ b/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb @@ -0,0 +1,282 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::AdmissionregistrationV1beta1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AdmissionregistrationV1beta1Api' do + before do + # run before each test + @instance = Kubernetes::AdmissionregistrationV1beta1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of AdmissionregistrationV1beta1Api' do + it 'should create an instance of AdmissionregistrationV1beta1Api' do + expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1Api) + end + end + + # unit tests for create_mutating_webhook_configuration + # + # create a MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + describe 'create_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for create_validating_webhook_configuration + # + # create a ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + describe 'create_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_mutating_webhook_configuration + # + # delete collection of MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_validating_webhook_configuration + # + # delete collection of ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_mutating_webhook_configuration + # + # delete a MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_validating_webhook_configuration + # + # delete a ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_mutating_webhook_configuration + # + # list or watch objects of kind MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1MutatingWebhookConfigurationList] + describe 'list_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_validating_webhook_configuration + # + # list or watch objects of kind ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1ValidatingWebhookConfigurationList] + describe 'list_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_mutating_webhook_configuration + # + # partially update the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + describe 'patch_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_validating_webhook_configuration + # + # partially update the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + describe 'patch_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_mutating_webhook_configuration + # + # read the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1MutatingWebhookConfiguration] + describe 'read_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_validating_webhook_configuration + # + # read the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1ValidatingWebhookConfiguration] + describe 'read_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_mutating_webhook_configuration + # + # replace the specified MutatingWebhookConfiguration + # @param name name of the MutatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1MutatingWebhookConfiguration] + describe 'replace_mutating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_validating_webhook_configuration + # + # replace the specified ValidatingWebhookConfiguration + # @param name name of the ValidatingWebhookConfiguration + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1ValidatingWebhookConfiguration] + describe 'replace_validating_webhook_configuration test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/apiextensions_api_spec.rb b/kubernetes/spec/api/apiextensions_api_spec.rb index cb5b2ed6..f1ba3d12 100644 --- a/kubernetes/spec/api/apiextensions_api_spec.rb +++ b/kubernetes/spec/api/apiextensions_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb b/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb index c55f34e8..514ee4e2 100644 --- a/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a CustomResourceDefinition # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] describe 'create_custom_resource_definition test' do it "should work" do @@ -49,14 +51,14 @@ # # delete collection of CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_custom_resource_definition test' do @@ -69,12 +71,13 @@ # # delete a CustomResourceDefinition # @param name name of the CustomResourceDefinition - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_custom_resource_definition test' do it "should work" do @@ -97,14 +100,14 @@ # # list or watch objects of kind CustomResourceDefinition # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CustomResourceDefinitionList] describe 'list_custom_resource_definition test' do @@ -120,6 +123,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] describe 'patch_custom_resource_definition test' do it "should work" do @@ -127,6 +131,21 @@ end end + # unit tests for patch_custom_resource_definition_status + # + # partially update status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1CustomResourceDefinition] + describe 'patch_custom_resource_definition_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_custom_resource_definition # # read the specified CustomResourceDefinition @@ -142,6 +161,19 @@ end end + # unit tests for read_custom_resource_definition_status + # + # read status of the specified CustomResourceDefinition + # @param name name of the CustomResourceDefinition + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1CustomResourceDefinition] + describe 'read_custom_resource_definition_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_custom_resource_definition # # replace the specified CustomResourceDefinition @@ -149,6 +181,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] describe 'replace_custom_resource_definition test' do it "should work" do @@ -163,6 +196,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CustomResourceDefinition] describe 'replace_custom_resource_definition_status test' do it "should work" do diff --git a/kubernetes/spec/api/apiregistration_api_spec.rb b/kubernetes/spec/api/apiregistration_api_spec.rb index 8a93cbc1..2875a03b 100644 --- a/kubernetes/spec/api/apiregistration_api_spec.rb +++ b/kubernetes/spec/api/apiregistration_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/apiregistration_v1_api_spec.rb b/kubernetes/spec/api/apiregistration_v1_api_spec.rb new file mode 100644 index 00000000..40976f4e --- /dev/null +++ b/kubernetes/spec/api/apiregistration_v1_api_spec.rb @@ -0,0 +1,207 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::ApiregistrationV1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ApiregistrationV1Api' do + before do + # run before each test + @instance = Kubernetes::ApiregistrationV1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of ApiregistrationV1Api' do + it 'should create an instance of ApiregistrationV1Api' do + expect(@instance).to be_instance_of(Kubernetes::ApiregistrationV1Api) + end + end + + # unit tests for create_api_service + # + # create an APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + describe 'create_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_api_service + # + # delete an APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_api_service + # + # delete collection of APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_api_service + # + # list or watch objects of kind APIService + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1APIServiceList] + describe 'list_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_api_service + # + # partially update the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + describe 'patch_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_api_service_status + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + describe 'patch_api_service_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_api_service + # + # read the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1APIService] + describe 'read_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_api_service_status + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1APIService] + describe 'read_api_service_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_api_service + # + # replace the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + describe 'replace_api_service test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_api_service_status + # + # replace status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1APIService] + describe 'replace_api_service_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb b/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb index 256120ea..c2863fad 100644 --- a/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create an APIService # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] describe 'create_api_service test' do it "should work" do @@ -49,12 +51,13 @@ # # delete an APIService # @param name name of the APIService - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_api_service test' do it "should work" do @@ -66,14 +69,14 @@ # # delete collection of APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_api_service test' do @@ -97,14 +100,14 @@ # # list or watch objects of kind APIService # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1APIServiceList] describe 'list_api_service test' do @@ -120,6 +123,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] describe 'patch_api_service test' do it "should work" do @@ -127,6 +131,21 @@ end end + # unit tests for patch_api_service_status + # + # partially update status of the specified APIService + # @param name name of the APIService + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1APIService] + describe 'patch_api_service_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_api_service # # read the specified APIService @@ -142,6 +161,19 @@ end end + # unit tests for read_api_service_status + # + # read status of the specified APIService + # @param name name of the APIService + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1APIService] + describe 'read_api_service_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_api_service # # replace the specified APIService @@ -149,6 +181,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] describe 'replace_api_service test' do it "should work" do @@ -163,6 +196,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1APIService] describe 'replace_api_service_status test' do it "should work" do diff --git a/kubernetes/spec/api/apis_api_spec.rb b/kubernetes/spec/api/apis_api_spec.rb index 0c5e2031..ad9b6d7a 100644 --- a/kubernetes/spec/api/apis_api_spec.rb +++ b/kubernetes/spec/api/apis_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/apps_api_spec.rb b/kubernetes/spec/api/apps_api_spec.rb index cf7af0a2..48c98b21 100644 --- a/kubernetes/spec/api/apps_api_spec.rb +++ b/kubernetes/spec/api/apps_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/apps_v1_api_spec.rb b/kubernetes/spec/api/apps_v1_api_spec.rb new file mode 100644 index 00000000..dafb1c13 --- /dev/null +++ b/kubernetes/spec/api/apps_v1_api_spec.rb @@ -0,0 +1,1093 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::AppsV1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AppsV1Api' do + before do + # run before each test + @instance = Kubernetes::AppsV1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of AppsV1Api' do + it 'should create an instance of AppsV1Api' do + expect(@instance).to be_instance_of(Kubernetes::AppsV1Api) + end + end + + # unit tests for create_namespaced_controller_revision + # + # create a ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + describe 'create_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for create_namespaced_daemon_set + # + # create a DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + describe 'create_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for create_namespaced_deployment + # + # create a Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + describe 'create_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for create_namespaced_replica_set + # + # create a ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + describe 'create_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for create_namespaced_stateful_set + # + # create a StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + describe 'create_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_controller_revision + # + # delete collection of ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_daemon_set + # + # delete collection of DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_deployment + # + # delete collection of Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_replica_set + # + # delete collection of ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_stateful_set + # + # delete collection of StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_controller_revision + # + # delete a ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_daemon_set + # + # delete a DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_deployment + # + # delete a Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_replica_set + # + # delete a ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_stateful_set + # + # delete a StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_controller_revision_for_all_namespaces + # + # list or watch objects of kind ControllerRevision + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ControllerRevisionList] + describe 'list_controller_revision_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_daemon_set_for_all_namespaces + # + # list or watch objects of kind DaemonSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DaemonSetList] + describe 'list_daemon_set_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_deployment_for_all_namespaces + # + # list or watch objects of kind Deployment + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DeploymentList] + describe 'list_deployment_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_controller_revision + # + # list or watch objects of kind ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ControllerRevisionList] + describe 'list_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_daemon_set + # + # list or watch objects of kind DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DaemonSetList] + describe 'list_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_deployment + # + # list or watch objects of kind Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1DeploymentList] + describe 'list_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_replica_set + # + # list or watch objects of kind ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ReplicaSetList] + describe 'list_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_stateful_set + # + # list or watch objects of kind StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1StatefulSetList] + describe 'list_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_replica_set_for_all_namespaces + # + # list or watch objects of kind ReplicaSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1ReplicaSetList] + describe 'list_replica_set_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_stateful_set_for_all_namespaces + # + # list or watch objects of kind StatefulSet + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1StatefulSetList] + describe 'list_stateful_set_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_controller_revision + # + # partially update the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + describe 'patch_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_daemon_set + # + # partially update the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + describe 'patch_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_daemon_set_status + # + # partially update status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + describe 'patch_namespaced_daemon_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_deployment + # + # partially update the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + describe 'patch_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_deployment_scale + # + # partially update scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'patch_namespaced_deployment_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_deployment_status + # + # partially update status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + describe 'patch_namespaced_deployment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_replica_set + # + # partially update the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + describe 'patch_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_replica_set_scale + # + # partially update scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'patch_namespaced_replica_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_replica_set_status + # + # partially update status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + describe 'patch_namespaced_replica_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_stateful_set + # + # partially update the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + describe 'patch_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_stateful_set_scale + # + # partially update scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'patch_namespaced_stateful_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_stateful_set_status + # + # partially update status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + describe 'patch_namespaced_stateful_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_controller_revision + # + # read the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1ControllerRevision] + describe 'read_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_daemon_set + # + # read the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1DaemonSet] + describe 'read_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_daemon_set_status + # + # read status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1DaemonSet] + describe 'read_namespaced_daemon_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_deployment + # + # read the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1Deployment] + describe 'read_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_deployment_scale + # + # read scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + describe 'read_namespaced_deployment_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_deployment_status + # + # read status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Deployment] + describe 'read_namespaced_deployment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_replica_set + # + # read the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1ReplicaSet] + describe 'read_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_replica_set_scale + # + # read scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + describe 'read_namespaced_replica_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_replica_set_status + # + # read status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1ReplicaSet] + describe 'read_namespaced_replica_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_stateful_set + # + # read the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1StatefulSet] + describe 'read_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_stateful_set_scale + # + # read scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1Scale] + describe 'read_namespaced_stateful_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_stateful_set_status + # + # read status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1StatefulSet] + describe 'read_namespaced_stateful_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_controller_revision + # + # replace the specified ControllerRevision + # @param name name of the ControllerRevision + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ControllerRevision] + describe 'replace_namespaced_controller_revision test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_daemon_set + # + # replace the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + describe 'replace_namespaced_daemon_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_daemon_set_status + # + # replace status of the specified DaemonSet + # @param name name of the DaemonSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1DaemonSet] + describe 'replace_namespaced_daemon_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_deployment + # + # replace the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + describe 'replace_namespaced_deployment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_deployment_scale + # + # replace scale of the specified Deployment + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'replace_namespaced_deployment_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_deployment_status + # + # replace status of the specified Deployment + # @param name name of the Deployment + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Deployment] + describe 'replace_namespaced_deployment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_replica_set + # + # replace the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + describe 'replace_namespaced_replica_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_replica_set_scale + # + # replace scale of the specified ReplicaSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'replace_namespaced_replica_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_replica_set_status + # + # replace status of the specified ReplicaSet + # @param name name of the ReplicaSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1ReplicaSet] + describe 'replace_namespaced_replica_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_stateful_set + # + # replace the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + describe 'replace_namespaced_stateful_set test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_stateful_set_scale + # + # replace scale of the specified StatefulSet + # @param name name of the Scale + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1Scale] + describe 'replace_namespaced_stateful_set_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_stateful_set_status + # + # replace status of the specified StatefulSet + # @param name name of the StatefulSet + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1StatefulSet] + describe 'replace_namespaced_stateful_set_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/apps_v1beta1_api_spec.rb b/kubernetes/spec/api/apps_v1beta1_api_spec.rb index 28fbcd81..490f2f1b 100644 --- a/kubernetes/spec/api/apps_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/apps_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] describe 'create_namespaced_controller_revision test' do it "should work" do @@ -52,7 +54,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] describe 'create_namespaced_deployment test' do it "should work" do @@ -67,8 +71,10 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [AppsV1beta1DeploymentRollback] + # @return [V1Status] describe 'create_namespaced_deployment_rollback test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -81,7 +87,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] describe 'create_namespaced_stateful_set test' do it "should work" do @@ -94,14 +102,14 @@ # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_controller_revision test' do @@ -115,14 +123,14 @@ # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_deployment test' do @@ -136,14 +144,14 @@ # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_stateful_set test' do @@ -157,12 +165,13 @@ # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_controller_revision test' do it "should work" do @@ -175,12 +184,13 @@ # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_deployment test' do it "should work" do @@ -193,12 +203,13 @@ # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_stateful_set test' do it "should work" do @@ -221,14 +232,14 @@ # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ControllerRevisionList] describe 'list_controller_revision_for_all_namespaces test' do @@ -241,14 +252,14 @@ # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [AppsV1beta1DeploymentList] describe 'list_deployment_for_all_namespaces test' do @@ -262,14 +273,14 @@ # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ControllerRevisionList] describe 'list_namespaced_controller_revision test' do @@ -283,14 +294,14 @@ # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [AppsV1beta1DeploymentList] describe 'list_namespaced_deployment test' do @@ -304,14 +315,14 @@ # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StatefulSetList] describe 'list_namespaced_stateful_set test' do @@ -324,14 +335,14 @@ # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StatefulSetList] describe 'list_stateful_set_for_all_namespaces test' do @@ -348,6 +359,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] describe 'patch_namespaced_controller_revision test' do it "should work" do @@ -363,6 +375,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] describe 'patch_namespaced_deployment test' do it "should work" do @@ -378,6 +391,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] describe 'patch_namespaced_deployment_scale test' do it "should work" do @@ -393,6 +407,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] describe 'patch_namespaced_deployment_status test' do it "should work" do @@ -408,6 +423,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] describe 'patch_namespaced_stateful_set test' do it "should work" do @@ -423,6 +439,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] describe 'patch_namespaced_stateful_set_scale test' do it "should work" do @@ -438,6 +455,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] describe 'patch_namespaced_stateful_set_status test' do it "should work" do @@ -557,6 +575,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ControllerRevision] describe 'replace_namespaced_controller_revision test' do it "should work" do @@ -572,6 +591,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] describe 'replace_namespaced_deployment test' do it "should work" do @@ -587,6 +607,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] describe 'replace_namespaced_deployment_scale test' do it "should work" do @@ -602,6 +623,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Deployment] describe 'replace_namespaced_deployment_status test' do it "should work" do @@ -617,6 +639,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] describe 'replace_namespaced_stateful_set test' do it "should work" do @@ -632,6 +655,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [AppsV1beta1Scale] describe 'replace_namespaced_stateful_set_scale test' do it "should work" do @@ -647,6 +671,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StatefulSet] describe 'replace_namespaced_stateful_set_status test' do it "should work" do diff --git a/kubernetes/spec/api/apps_v1beta2_api_spec.rb b/kubernetes/spec/api/apps_v1beta2_api_spec.rb index 8b89a9bb..31ca1aab 100644 --- a/kubernetes/spec/api/apps_v1beta2_api_spec.rb +++ b/kubernetes/spec/api/apps_v1beta2_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] describe 'create_namespaced_controller_revision test' do it "should work" do @@ -52,7 +54,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] describe 'create_namespaced_daemon_set test' do it "should work" do @@ -66,7 +70,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] describe 'create_namespaced_deployment test' do it "should work" do @@ -80,7 +86,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] describe 'create_namespaced_replica_set test' do it "should work" do @@ -94,7 +102,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] describe 'create_namespaced_stateful_set test' do it "should work" do @@ -107,14 +117,14 @@ # delete collection of ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_controller_revision test' do @@ -128,14 +138,14 @@ # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_daemon_set test' do @@ -149,14 +159,14 @@ # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_deployment test' do @@ -170,14 +180,14 @@ # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_replica_set test' do @@ -191,14 +201,14 @@ # delete collection of StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_stateful_set test' do @@ -212,12 +222,13 @@ # delete a ControllerRevision # @param name name of the ControllerRevision # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_controller_revision test' do it "should work" do @@ -230,12 +241,13 @@ # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_daemon_set test' do it "should work" do @@ -248,12 +260,13 @@ # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_deployment test' do it "should work" do @@ -266,12 +279,13 @@ # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_replica_set test' do it "should work" do @@ -284,12 +298,13 @@ # delete a StatefulSet # @param name name of the StatefulSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_stateful_set test' do it "should work" do @@ -312,14 +327,14 @@ # # list or watch objects of kind ControllerRevision # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ControllerRevisionList] describe 'list_controller_revision_for_all_namespaces test' do @@ -332,14 +347,14 @@ # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DaemonSetList] describe 'list_daemon_set_for_all_namespaces test' do @@ -352,14 +367,14 @@ # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DeploymentList] describe 'list_deployment_for_all_namespaces test' do @@ -373,14 +388,14 @@ # list or watch objects of kind ControllerRevision # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ControllerRevisionList] describe 'list_namespaced_controller_revision test' do @@ -394,14 +409,14 @@ # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DaemonSetList] describe 'list_namespaced_daemon_set test' do @@ -415,14 +430,14 @@ # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2DeploymentList] describe 'list_namespaced_deployment test' do @@ -436,14 +451,14 @@ # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ReplicaSetList] describe 'list_namespaced_replica_set test' do @@ -457,14 +472,14 @@ # list or watch objects of kind StatefulSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2StatefulSetList] describe 'list_namespaced_stateful_set test' do @@ -477,14 +492,14 @@ # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2ReplicaSetList] describe 'list_replica_set_for_all_namespaces test' do @@ -497,14 +512,14 @@ # # list or watch objects of kind StatefulSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta2StatefulSetList] describe 'list_stateful_set_for_all_namespaces test' do @@ -521,6 +536,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] describe 'patch_namespaced_controller_revision test' do it "should work" do @@ -536,6 +552,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] describe 'patch_namespaced_daemon_set test' do it "should work" do @@ -551,6 +568,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] describe 'patch_namespaced_daemon_set_status test' do it "should work" do @@ -566,6 +584,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] describe 'patch_namespaced_deployment test' do it "should work" do @@ -581,6 +600,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'patch_namespaced_deployment_scale test' do it "should work" do @@ -596,6 +616,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] describe 'patch_namespaced_deployment_status test' do it "should work" do @@ -611,6 +632,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] describe 'patch_namespaced_replica_set test' do it "should work" do @@ -626,6 +648,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'patch_namespaced_replica_set_scale test' do it "should work" do @@ -641,6 +664,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] describe 'patch_namespaced_replica_set_status test' do it "should work" do @@ -656,6 +680,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] describe 'patch_namespaced_stateful_set test' do it "should work" do @@ -671,6 +696,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'patch_namespaced_stateful_set_scale test' do it "should work" do @@ -686,6 +712,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] describe 'patch_namespaced_stateful_set_status test' do it "should work" do @@ -879,6 +906,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ControllerRevision] describe 'replace_namespaced_controller_revision test' do it "should work" do @@ -894,6 +922,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] describe 'replace_namespaced_daemon_set test' do it "should work" do @@ -909,6 +938,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2DaemonSet] describe 'replace_namespaced_daemon_set_status test' do it "should work" do @@ -924,6 +954,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] describe 'replace_namespaced_deployment test' do it "should work" do @@ -939,6 +970,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'replace_namespaced_deployment_scale test' do it "should work" do @@ -954,6 +986,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Deployment] describe 'replace_namespaced_deployment_status test' do it "should work" do @@ -969,6 +1002,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] describe 'replace_namespaced_replica_set test' do it "should work" do @@ -984,6 +1018,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'replace_namespaced_replica_set_scale test' do it "should work" do @@ -999,6 +1034,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2ReplicaSet] describe 'replace_namespaced_replica_set_status test' do it "should work" do @@ -1014,6 +1050,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] describe 'replace_namespaced_stateful_set test' do it "should work" do @@ -1029,6 +1066,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2Scale] describe 'replace_namespaced_stateful_set_scale test' do it "should work" do @@ -1044,6 +1082,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta2StatefulSet] describe 'replace_namespaced_stateful_set_status test' do it "should work" do diff --git a/kubernetes/spec/api/auditregistration_api_spec.rb b/kubernetes/spec/api/auditregistration_api_spec.rb new file mode 100644 index 00000000..a4b89e52 --- /dev/null +++ b/kubernetes/spec/api/auditregistration_api_spec.rb @@ -0,0 +1,46 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::AuditregistrationApi +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AuditregistrationApi' do + before do + # run before each test + @instance = Kubernetes::AuditregistrationApi.new + end + + after do + # run after each test + end + + describe 'test an instance of AuditregistrationApi' do + it 'should create an instance of AuditregistrationApi' do + expect(@instance).to be_instance_of(Kubernetes::AuditregistrationApi) + end + end + + # unit tests for get_api_group + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + describe 'get_api_group test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb b/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb new file mode 100644 index 00000000..2f592b66 --- /dev/null +++ b/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb @@ -0,0 +1,164 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::AuditregistrationV1alpha1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AuditregistrationV1alpha1Api' do + before do + # run before each test + @instance = Kubernetes::AuditregistrationV1alpha1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of AuditregistrationV1alpha1Api' do + it 'should create an instance of AuditregistrationV1alpha1Api' do + expect(@instance).to be_instance_of(Kubernetes::AuditregistrationV1alpha1Api) + end + end + + # unit tests for create_audit_sink + # + # create an AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + describe 'create_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_audit_sink + # + # delete an AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_audit_sink + # + # delete collection of AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_audit_sink + # + # list or watch objects of kind AuditSink + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1alpha1AuditSinkList] + describe 'list_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_audit_sink + # + # partially update the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + describe 'patch_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_audit_sink + # + # read the specified AuditSink + # @param name name of the AuditSink + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1alpha1AuditSink] + describe 'read_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_audit_sink + # + # replace the specified AuditSink + # @param name name of the AuditSink + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1AuditSink] + describe 'replace_audit_sink test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/authentication_api_spec.rb b/kubernetes/spec/api/authentication_api_spec.rb index ff7e67cb..383c1c75 100644 --- a/kubernetes/spec/api/authentication_api_spec.rb +++ b/kubernetes/spec/api/authentication_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/authentication_v1_api_spec.rb b/kubernetes/spec/api/authentication_v1_api_spec.rb index 00694528..102a77f5 100644 --- a/kubernetes/spec/api/authentication_v1_api_spec.rb +++ b/kubernetes/spec/api/authentication_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,6 +37,8 @@ # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1TokenReview] describe 'create_token_review test' do diff --git a/kubernetes/spec/api/authentication_v1beta1_api_spec.rb b/kubernetes/spec/api/authentication_v1beta1_api_spec.rb index ba1af772..0d8a875e 100644 --- a/kubernetes/spec/api/authentication_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/authentication_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,6 +37,8 @@ # create a TokenReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1TokenReview] describe 'create_token_review test' do diff --git a/kubernetes/spec/api/authorization_api_spec.rb b/kubernetes/spec/api/authorization_api_spec.rb index afa91622..98e035d9 100644 --- a/kubernetes/spec/api/authorization_api_spec.rb +++ b/kubernetes/spec/api/authorization_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/authorization_v1_api_spec.rb b/kubernetes/spec/api/authorization_v1_api_spec.rb index 1a956073..93a3d21d 100644 --- a/kubernetes/spec/api/authorization_v1_api_spec.rb +++ b/kubernetes/spec/api/authorization_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,8 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1LocalSubjectAccessReview] describe 'create_namespaced_local_subject_access_review test' do @@ -51,6 +53,8 @@ # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SelfSubjectAccessReview] describe 'create_self_subject_access_review test' do @@ -64,6 +68,8 @@ # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SelfSubjectRulesReview] describe 'create_self_subject_rules_review test' do @@ -77,6 +83,8 @@ # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1SubjectAccessReview] describe 'create_subject_access_review test' do diff --git a/kubernetes/spec/api/authorization_v1beta1_api_spec.rb b/kubernetes/spec/api/authorization_v1beta1_api_spec.rb index a9648e06..558a5697 100644 --- a/kubernetes/spec/api/authorization_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/authorization_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,8 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1LocalSubjectAccessReview] describe 'create_namespaced_local_subject_access_review test' do @@ -51,6 +53,8 @@ # create a SelfSubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SelfSubjectAccessReview] describe 'create_self_subject_access_review test' do @@ -64,6 +68,8 @@ # create a SelfSubjectRulesReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SelfSubjectRulesReview] describe 'create_self_subject_rules_review test' do @@ -77,6 +83,8 @@ # create a SubjectAccessReview # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1SubjectAccessReview] describe 'create_subject_access_review test' do diff --git a/kubernetes/spec/api/autoscaling_api_spec.rb b/kubernetes/spec/api/autoscaling_api_spec.rb index 4dae8d26..61f680e7 100644 --- a/kubernetes/spec/api/autoscaling_api_spec.rb +++ b/kubernetes/spec/api/autoscaling_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/autoscaling_v1_api_spec.rb b/kubernetes/spec/api/autoscaling_v1_api_spec.rb index 04047b8e..6d57908c 100644 --- a/kubernetes/spec/api/autoscaling_v1_api_spec.rb +++ b/kubernetes/spec/api/autoscaling_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] describe 'create_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do @@ -72,12 +74,13 @@ # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -100,14 +103,14 @@ # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1HorizontalPodAutoscalerList] describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do @@ -121,14 +124,14 @@ # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1HorizontalPodAutoscalerList] describe 'list_namespaced_horizontal_pod_autoscaler test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] describe 'patch_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -160,6 +164,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do it "should work" do @@ -205,6 +210,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] describe 'replace_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -220,6 +226,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1HorizontalPodAutoscaler] describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do it "should work" do diff --git a/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb b/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb index 8437f6b6..18243a2b 100644 --- a/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb +++ b/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] describe 'create_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do @@ -72,12 +74,13 @@ # delete a HorizontalPodAutoscaler # @param name name of the HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -100,14 +103,14 @@ # # list or watch objects of kind HorizontalPodAutoscaler # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2beta1HorizontalPodAutoscalerList] describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do @@ -121,14 +124,14 @@ # list or watch objects of kind HorizontalPodAutoscaler # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2beta1HorizontalPodAutoscalerList] describe 'list_namespaced_horizontal_pod_autoscaler test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] describe 'patch_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -160,6 +164,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do it "should work" do @@ -205,6 +210,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] describe 'replace_namespaced_horizontal_pod_autoscaler test' do it "should work" do @@ -220,6 +226,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2beta1HorizontalPodAutoscaler] describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do it "should work" do diff --git a/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb b/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb new file mode 100644 index 00000000..4666942f --- /dev/null +++ b/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb @@ -0,0 +1,237 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::AutoscalingV2beta2Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AutoscalingV2beta2Api' do + before do + # run before each test + @instance = Kubernetes::AutoscalingV2beta2Api.new + end + + after do + # run after each test + end + + describe 'test an instance of AutoscalingV2beta2Api' do + it 'should create an instance of AutoscalingV2beta2Api' do + expect(@instance).to be_instance_of(Kubernetes::AutoscalingV2beta2Api) + end + end + + # unit tests for create_namespaced_horizontal_pod_autoscaler + # + # create a HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + describe 'create_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_horizontal_pod_autoscaler + # + # delete collection of HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_horizontal_pod_autoscaler + # + # delete a HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_horizontal_pod_autoscaler_for_all_namespaces + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V2beta2HorizontalPodAutoscalerList] + describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_horizontal_pod_autoscaler + # + # list or watch objects of kind HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V2beta2HorizontalPodAutoscalerList] + describe 'list_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_horizontal_pod_autoscaler + # + # partially update the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + describe 'patch_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_horizontal_pod_autoscaler_status + # + # partially update status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_horizontal_pod_autoscaler + # + # read the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V2beta2HorizontalPodAutoscaler] + describe 'read_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_horizontal_pod_autoscaler_status + # + # read status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V2beta2HorizontalPodAutoscaler] + describe 'read_namespaced_horizontal_pod_autoscaler_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_horizontal_pod_autoscaler + # + # replace the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + describe 'replace_namespaced_horizontal_pod_autoscaler test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_horizontal_pod_autoscaler_status + # + # replace status of the specified HorizontalPodAutoscaler + # @param name name of the HorizontalPodAutoscaler + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V2beta2HorizontalPodAutoscaler] + describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/batch_api_spec.rb b/kubernetes/spec/api/batch_api_spec.rb index 6aa9d489..e273d52b 100644 --- a/kubernetes/spec/api/batch_api_spec.rb +++ b/kubernetes/spec/api/batch_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/batch_v1_api_spec.rb b/kubernetes/spec/api/batch_v1_api_spec.rb index f5037bf5..16ae708c 100644 --- a/kubernetes/spec/api/batch_v1_api_spec.rb +++ b/kubernetes/spec/api/batch_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] describe 'create_namespaced_job test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_job test' do @@ -72,12 +74,13 @@ # delete a Job # @param name name of the Job # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_job test' do it "should work" do @@ -100,14 +103,14 @@ # # list or watch objects of kind Job # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1JobList] describe 'list_job_for_all_namespaces test' do @@ -121,14 +124,14 @@ # list or watch objects of kind Job # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1JobList] describe 'list_namespaced_job test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] describe 'patch_namespaced_job test' do it "should work" do @@ -160,6 +164,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] describe 'patch_namespaced_job_status test' do it "should work" do @@ -205,6 +210,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] describe 'replace_namespaced_job test' do it "should work" do @@ -220,6 +226,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Job] describe 'replace_namespaced_job_status test' do it "should work" do diff --git a/kubernetes/spec/api/batch_v1beta1_api_spec.rb b/kubernetes/spec/api/batch_v1beta1_api_spec.rb index bf50529d..cd321327 100644 --- a/kubernetes/spec/api/batch_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/batch_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] describe 'create_namespaced_cron_job test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_cron_job test' do @@ -72,12 +74,13 @@ # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_cron_job test' do it "should work" do @@ -100,14 +103,14 @@ # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CronJobList] describe 'list_cron_job_for_all_namespaces test' do @@ -121,14 +124,14 @@ # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CronJobList] describe 'list_namespaced_cron_job test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] describe 'patch_namespaced_cron_job test' do it "should work" do @@ -160,6 +164,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] describe 'patch_namespaced_cron_job_status test' do it "should work" do @@ -205,6 +210,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] describe 'replace_namespaced_cron_job test' do it "should work" do @@ -220,6 +226,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CronJob] describe 'replace_namespaced_cron_job_status test' do it "should work" do diff --git a/kubernetes/spec/api/batch_v2alpha1_api_spec.rb b/kubernetes/spec/api/batch_v2alpha1_api_spec.rb index 72df0568..4b47049b 100644 --- a/kubernetes/spec/api/batch_v2alpha1_api_spec.rb +++ b/kubernetes/spec/api/batch_v2alpha1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] describe 'create_namespaced_cron_job test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_cron_job test' do @@ -72,12 +74,13 @@ # delete a CronJob # @param name name of the CronJob # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_cron_job test' do it "should work" do @@ -100,14 +103,14 @@ # # list or watch objects of kind CronJob # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2alpha1CronJobList] describe 'list_cron_job_for_all_namespaces test' do @@ -121,14 +124,14 @@ # list or watch objects of kind CronJob # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V2alpha1CronJobList] describe 'list_namespaced_cron_job test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] describe 'patch_namespaced_cron_job test' do it "should work" do @@ -160,6 +164,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] describe 'patch_namespaced_cron_job_status test' do it "should work" do @@ -205,6 +210,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] describe 'replace_namespaced_cron_job test' do it "should work" do @@ -220,6 +226,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V2alpha1CronJob] describe 'replace_namespaced_cron_job_status test' do it "should work" do diff --git a/kubernetes/spec/api/certificates_api_spec.rb b/kubernetes/spec/api/certificates_api_spec.rb index ee7ce8e4..f3bf8d2f 100644 --- a/kubernetes/spec/api/certificates_api_spec.rb +++ b/kubernetes/spec/api/certificates_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/certificates_v1beta1_api_spec.rb b/kubernetes/spec/api/certificates_v1beta1_api_spec.rb index b0a24cd2..8ed3ec00 100644 --- a/kubernetes/spec/api/certificates_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/certificates_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] describe 'create_certificate_signing_request test' do it "should work" do @@ -49,12 +51,13 @@ # # delete a CertificateSigningRequest # @param name name of the CertificateSigningRequest - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_certificate_signing_request test' do it "should work" do @@ -66,14 +69,14 @@ # # delete collection of CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_certificate_signing_request test' do @@ -97,14 +100,14 @@ # # list or watch objects of kind CertificateSigningRequest # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1CertificateSigningRequestList] describe 'list_certificate_signing_request test' do @@ -120,6 +123,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] describe 'patch_certificate_signing_request test' do it "should work" do @@ -127,6 +131,21 @@ end end + # unit tests for patch_certificate_signing_request_status + # + # partially update status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1CertificateSigningRequest] + describe 'patch_certificate_signing_request_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_certificate_signing_request # # read the specified CertificateSigningRequest @@ -142,6 +161,19 @@ end end + # unit tests for read_certificate_signing_request_status + # + # read status of the specified CertificateSigningRequest + # @param name name of the CertificateSigningRequest + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1beta1CertificateSigningRequest] + describe 'read_certificate_signing_request_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_certificate_signing_request # # replace the specified CertificateSigningRequest @@ -149,6 +181,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] describe 'replace_certificate_signing_request test' do it "should work" do @@ -162,6 +195,7 @@ # @param name name of the CertificateSigningRequest # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1CertificateSigningRequest] describe 'replace_certificate_signing_request_approval test' do @@ -177,6 +211,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1CertificateSigningRequest] describe 'replace_certificate_signing_request_status test' do it "should work" do diff --git a/kubernetes/spec/api/coordination_api_spec.rb b/kubernetes/spec/api/coordination_api_spec.rb new file mode 100644 index 00000000..fab2e134 --- /dev/null +++ b/kubernetes/spec/api/coordination_api_spec.rb @@ -0,0 +1,46 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::CoordinationApi +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'CoordinationApi' do + before do + # run before each test + @instance = Kubernetes::CoordinationApi.new + end + + after do + # run after each test + end + + describe 'test an instance of CoordinationApi' do + it 'should create an instance of CoordinationApi' do + expect(@instance).to be_instance_of(Kubernetes::CoordinationApi) + end + end + + # unit tests for get_api_group + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + describe 'get_api_group test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/coordination_v1beta1_api_spec.rb b/kubernetes/spec/api/coordination_v1beta1_api_spec.rb new file mode 100644 index 00000000..ab7f2b6b --- /dev/null +++ b/kubernetes/spec/api/coordination_v1beta1_api_spec.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::CoordinationV1beta1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'CoordinationV1beta1Api' do + before do + # run before each test + @instance = Kubernetes::CoordinationV1beta1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of CoordinationV1beta1Api' do + it 'should create an instance of CoordinationV1beta1Api' do + expect(@instance).to be_instance_of(Kubernetes::CoordinationV1beta1Api) + end + end + + # unit tests for create_namespaced_lease + # + # create a Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + describe 'create_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_lease + # + # delete collection of Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_lease + # + # delete a Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_lease_for_all_namespaces + # + # list or watch objects of kind Lease + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1LeaseList] + describe 'list_lease_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_lease + # + # list or watch objects of kind Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1LeaseList] + describe 'list_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_lease + # + # partially update the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + describe 'patch_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_lease + # + # read the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1Lease] + describe 'read_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_lease + # + # replace the specified Lease + # @param name name of the Lease + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Lease] + describe 'replace_namespaced_lease test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/core_api_spec.rb b/kubernetes/spec/api/core_api_spec.rb index 5e27be19..65172694 100644 --- a/kubernetes/spec/api/core_api_spec.rb +++ b/kubernetes/spec/api/core_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/core_v1_api_spec.rb b/kubernetes/spec/api/core_v1_api_spec.rb index cf60acc9..d33df082 100644 --- a/kubernetes/spec/api/core_v1_api_spec.rb +++ b/kubernetes/spec/api/core_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -35,7 +35,7 @@ # unit tests for connect_delete_namespaced_pod_proxy # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -49,7 +49,7 @@ # unit tests for connect_delete_namespaced_pod_proxy_with_path # # connect DELETE requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -64,7 +64,7 @@ # unit tests for connect_delete_namespaced_service_proxy # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -78,7 +78,7 @@ # unit tests for connect_delete_namespaced_service_proxy_with_path # # connect DELETE requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -93,7 +93,7 @@ # unit tests for connect_delete_node_proxy # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -106,7 +106,7 @@ # unit tests for connect_delete_node_proxy_with_path # # connect DELETE requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -120,7 +120,7 @@ # unit tests for connect_get_namespaced_pod_attach # # connect GET requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -138,7 +138,7 @@ # unit tests for connect_get_namespaced_pod_exec # # connect GET requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -157,7 +157,7 @@ # unit tests for connect_get_namespaced_pod_portforward # # connect GET requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -171,7 +171,7 @@ # unit tests for connect_get_namespaced_pod_proxy # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -185,7 +185,7 @@ # unit tests for connect_get_namespaced_pod_proxy_with_path # # connect GET requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -200,7 +200,7 @@ # unit tests for connect_get_namespaced_service_proxy # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -214,7 +214,7 @@ # unit tests for connect_get_namespaced_service_proxy_with_path # # connect GET requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -229,7 +229,7 @@ # unit tests for connect_get_node_proxy # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -242,7 +242,7 @@ # unit tests for connect_get_node_proxy_with_path # # connect GET requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -256,7 +256,7 @@ # unit tests for connect_head_namespaced_pod_proxy # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -270,7 +270,7 @@ # unit tests for connect_head_namespaced_pod_proxy_with_path # # connect HEAD requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -285,7 +285,7 @@ # unit tests for connect_head_namespaced_service_proxy # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -299,7 +299,7 @@ # unit tests for connect_head_namespaced_service_proxy_with_path # # connect HEAD requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -314,7 +314,7 @@ # unit tests for connect_head_node_proxy # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -327,7 +327,7 @@ # unit tests for connect_head_node_proxy_with_path # # connect HEAD requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -341,7 +341,7 @@ # unit tests for connect_options_namespaced_pod_proxy # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -355,7 +355,7 @@ # unit tests for connect_options_namespaced_pod_proxy_with_path # # connect OPTIONS requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -370,7 +370,7 @@ # unit tests for connect_options_namespaced_service_proxy # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -384,7 +384,7 @@ # unit tests for connect_options_namespaced_service_proxy_with_path # # connect OPTIONS requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -399,7 +399,7 @@ # unit tests for connect_options_node_proxy # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -412,7 +412,7 @@ # unit tests for connect_options_node_proxy_with_path # # connect OPTIONS requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -426,7 +426,7 @@ # unit tests for connect_patch_namespaced_pod_proxy # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -440,7 +440,7 @@ # unit tests for connect_patch_namespaced_pod_proxy_with_path # # connect PATCH requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -455,7 +455,7 @@ # unit tests for connect_patch_namespaced_service_proxy # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -469,7 +469,7 @@ # unit tests for connect_patch_namespaced_service_proxy_with_path # # connect PATCH requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -484,7 +484,7 @@ # unit tests for connect_patch_node_proxy # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -497,7 +497,7 @@ # unit tests for connect_patch_node_proxy_with_path # # connect PATCH requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -511,7 +511,7 @@ # unit tests for connect_post_namespaced_pod_attach # # connect POST requests to attach of Pod - # @param name name of the Pod + # @param name name of the PodAttachOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. @@ -529,7 +529,7 @@ # unit tests for connect_post_namespaced_pod_exec # # connect POST requests to exec of Pod - # @param name name of the Pod + # @param name name of the PodExecOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. @@ -548,7 +548,7 @@ # unit tests for connect_post_namespaced_pod_portforward # # connect POST requests to portforward of Pod - # @param name name of the Pod + # @param name name of the PodPortForwardOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [Integer] :ports List of ports to forward Required when using WebSockets @@ -562,7 +562,7 @@ # unit tests for connect_post_namespaced_pod_proxy # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -576,7 +576,7 @@ # unit tests for connect_post_namespaced_pod_proxy_with_path # # connect POST requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -591,7 +591,7 @@ # unit tests for connect_post_namespaced_service_proxy # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -605,7 +605,7 @@ # unit tests for connect_post_namespaced_service_proxy_with_path # # connect POST requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -620,7 +620,7 @@ # unit tests for connect_post_node_proxy # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -633,7 +633,7 @@ # unit tests for connect_post_node_proxy_with_path # # connect POST requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -647,7 +647,7 @@ # unit tests for connect_put_namespaced_pod_proxy # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. @@ -661,7 +661,7 @@ # unit tests for connect_put_namespaced_pod_proxy_with_path # # connect PUT requests to proxy of Pod - # @param name name of the Pod + # @param name name of the PodProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -676,7 +676,7 @@ # unit tests for connect_put_namespaced_service_proxy # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. @@ -690,7 +690,7 @@ # unit tests for connect_put_namespaced_service_proxy_with_path # # connect PUT requests to proxy of Service - # @param name name of the Service + # @param name name of the ServiceProxyOptions # @param namespace object name and auth scope, such as for teams and projects # @param path path to the resource # @param [Hash] opts the optional parameters @@ -705,7 +705,7 @@ # unit tests for connect_put_node_proxy # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param [Hash] opts the optional parameters # @option opts [String] :path Path is the URL path to use for the current proxy request to node. # @return [String] @@ -718,7 +718,7 @@ # unit tests for connect_put_node_proxy_with_path # # connect PUT requests to proxy of Node - # @param name name of the Node + # @param name name of the NodeProxyOptions # @param path path to the resource # @param [Hash] opts the optional parameters # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. @@ -734,7 +734,9 @@ # create a Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] describe 'create_namespace test' do it "should work" do @@ -748,6 +750,8 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Binding] describe 'create_namespaced_binding test' do @@ -762,7 +766,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] describe 'create_namespaced_config_map test' do it "should work" do @@ -776,7 +782,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] describe 'create_namespaced_endpoints test' do it "should work" do @@ -790,7 +798,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] describe 'create_namespaced_event test' do it "should work" do @@ -804,7 +814,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] describe 'create_namespaced_limit_range test' do it "should work" do @@ -818,7 +830,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] describe 'create_namespaced_persistent_volume_claim test' do it "should work" do @@ -832,7 +846,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] describe 'create_namespaced_pod test' do it "should work" do @@ -847,6 +863,8 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Binding] describe 'create_namespaced_pod_binding test' do @@ -862,6 +880,8 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1beta1Eviction] describe 'create_namespaced_pod_eviction test' do @@ -876,7 +896,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] describe 'create_namespaced_pod_template test' do it "should work" do @@ -890,7 +912,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] describe 'create_namespaced_replication_controller test' do it "should work" do @@ -904,7 +928,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] describe 'create_namespaced_resource_quota test' do it "should work" do @@ -918,7 +944,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] describe 'create_namespaced_secret test' do it "should work" do @@ -932,7 +960,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] describe 'create_namespaced_service test' do it "should work" do @@ -946,7 +976,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] describe 'create_namespaced_service_account test' do it "should work" do @@ -959,7 +991,9 @@ # create a Node # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] describe 'create_node test' do it "should work" do @@ -972,7 +1006,9 @@ # create a PersistentVolume # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] describe 'create_persistent_volume test' do it "should work" do @@ -985,14 +1021,14 @@ # delete collection of ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_config_map test' do @@ -1006,14 +1042,14 @@ # delete collection of Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_endpoints test' do @@ -1027,14 +1063,14 @@ # delete collection of Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_event test' do @@ -1048,14 +1084,14 @@ # delete collection of LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_limit_range test' do @@ -1069,14 +1105,14 @@ # delete collection of PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_persistent_volume_claim test' do @@ -1090,14 +1126,14 @@ # delete collection of Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_pod test' do @@ -1111,14 +1147,14 @@ # delete collection of PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_pod_template test' do @@ -1132,14 +1168,14 @@ # delete collection of ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_replication_controller test' do @@ -1153,14 +1189,14 @@ # delete collection of ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_resource_quota test' do @@ -1174,14 +1210,14 @@ # delete collection of Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_secret test' do @@ -1195,14 +1231,14 @@ # delete collection of ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_service_account test' do @@ -1215,14 +1251,14 @@ # # delete collection of Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_node test' do @@ -1235,14 +1271,14 @@ # # delete collection of PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_persistent_volume test' do @@ -1255,12 +1291,13 @@ # # delete a Namespace # @param name name of the Namespace - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespace test' do it "should work" do @@ -1273,12 +1310,13 @@ # delete a ConfigMap # @param name name of the ConfigMap # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_config_map test' do it "should work" do @@ -1291,12 +1329,13 @@ # delete Endpoints # @param name name of the Endpoints # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_endpoints test' do it "should work" do @@ -1309,12 +1348,13 @@ # delete an Event # @param name name of the Event # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_event test' do it "should work" do @@ -1327,12 +1367,13 @@ # delete a LimitRange # @param name name of the LimitRange # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_limit_range test' do it "should work" do @@ -1345,12 +1386,13 @@ # delete a PersistentVolumeClaim # @param name name of the PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_persistent_volume_claim test' do it "should work" do @@ -1363,12 +1405,13 @@ # delete a Pod # @param name name of the Pod # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_pod test' do it "should work" do @@ -1381,12 +1424,13 @@ # delete a PodTemplate # @param name name of the PodTemplate # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_pod_template test' do it "should work" do @@ -1399,12 +1443,13 @@ # delete a ReplicationController # @param name name of the ReplicationController # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_replication_controller test' do it "should work" do @@ -1417,12 +1462,13 @@ # delete a ResourceQuota # @param name name of the ResourceQuota # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_resource_quota test' do it "should work" do @@ -1435,12 +1481,13 @@ # delete a Secret # @param name name of the Secret # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_secret test' do it "should work" do @@ -1455,6 +1502,11 @@ # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_service test' do it "should work" do @@ -1467,12 +1519,13 @@ # delete a ServiceAccount # @param name name of the ServiceAccount # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_service_account test' do it "should work" do @@ -1484,12 +1537,13 @@ # # delete a Node # @param name name of the Node - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_node test' do it "should work" do @@ -1501,12 +1555,13 @@ # # delete a PersistentVolume # @param name name of the PersistentVolume - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_persistent_volume test' do it "should work" do @@ -1529,14 +1584,14 @@ # # list objects of kind ComponentStatus # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ComponentStatusList] describe 'list_component_status test' do @@ -1549,14 +1604,14 @@ # # list or watch objects of kind ConfigMap # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ConfigMapList] describe 'list_config_map_for_all_namespaces test' do @@ -1569,14 +1624,14 @@ # # list or watch objects of kind Endpoints # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EndpointsList] describe 'list_endpoints_for_all_namespaces test' do @@ -1589,14 +1644,14 @@ # # list or watch objects of kind Event # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EventList] describe 'list_event_for_all_namespaces test' do @@ -1609,14 +1664,14 @@ # # list or watch objects of kind LimitRange # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1LimitRangeList] describe 'list_limit_range_for_all_namespaces test' do @@ -1629,14 +1684,14 @@ # # list or watch objects of kind Namespace # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NamespaceList] describe 'list_namespace test' do @@ -1650,14 +1705,14 @@ # list or watch objects of kind ConfigMap # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ConfigMapList] describe 'list_namespaced_config_map test' do @@ -1671,14 +1726,14 @@ # list or watch objects of kind Endpoints # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EndpointsList] describe 'list_namespaced_endpoints test' do @@ -1692,14 +1747,14 @@ # list or watch objects of kind Event # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1EventList] describe 'list_namespaced_event test' do @@ -1713,14 +1768,14 @@ # list or watch objects of kind LimitRange # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1LimitRangeList] describe 'list_namespaced_limit_range test' do @@ -1734,14 +1789,14 @@ # list or watch objects of kind PersistentVolumeClaim # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeClaimList] describe 'list_namespaced_persistent_volume_claim test' do @@ -1755,14 +1810,14 @@ # list or watch objects of kind Pod # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodList] describe 'list_namespaced_pod test' do @@ -1776,14 +1831,14 @@ # list or watch objects of kind PodTemplate # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodTemplateList] describe 'list_namespaced_pod_template test' do @@ -1797,14 +1852,14 @@ # list or watch objects of kind ReplicationController # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ReplicationControllerList] describe 'list_namespaced_replication_controller test' do @@ -1818,14 +1873,14 @@ # list or watch objects of kind ResourceQuota # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ResourceQuotaList] describe 'list_namespaced_resource_quota test' do @@ -1839,14 +1894,14 @@ # list or watch objects of kind Secret # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1SecretList] describe 'list_namespaced_secret test' do @@ -1860,14 +1915,14 @@ # list or watch objects of kind Service # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceList] describe 'list_namespaced_service test' do @@ -1881,14 +1936,14 @@ # list or watch objects of kind ServiceAccount # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceAccountList] describe 'list_namespaced_service_account test' do @@ -1901,14 +1956,14 @@ # # list or watch objects of kind Node # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NodeList] describe 'list_node test' do @@ -1921,14 +1976,14 @@ # # list or watch objects of kind PersistentVolume # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeList] describe 'list_persistent_volume test' do @@ -1941,14 +1996,14 @@ # # list or watch objects of kind PersistentVolumeClaim # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PersistentVolumeClaimList] describe 'list_persistent_volume_claim_for_all_namespaces test' do @@ -1961,14 +2016,14 @@ # # list or watch objects of kind Pod # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodList] describe 'list_pod_for_all_namespaces test' do @@ -1981,14 +2036,14 @@ # # list or watch objects of kind PodTemplate # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1PodTemplateList] describe 'list_pod_template_for_all_namespaces test' do @@ -2001,14 +2056,14 @@ # # list or watch objects of kind ReplicationController # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ReplicationControllerList] describe 'list_replication_controller_for_all_namespaces test' do @@ -2021,14 +2076,14 @@ # # list or watch objects of kind ResourceQuota # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ResourceQuotaList] describe 'list_resource_quota_for_all_namespaces test' do @@ -2041,14 +2096,14 @@ # # list or watch objects of kind Secret # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1SecretList] describe 'list_secret_for_all_namespaces test' do @@ -2061,14 +2116,14 @@ # # list or watch objects of kind ServiceAccount # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceAccountList] describe 'list_service_account_for_all_namespaces test' do @@ -2081,14 +2136,14 @@ # # list or watch objects of kind Service # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ServiceList] describe 'list_service_for_all_namespaces test' do @@ -2104,6 +2159,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] describe 'patch_namespace test' do it "should work" do @@ -2118,6 +2174,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] describe 'patch_namespace_status test' do it "should work" do @@ -2133,6 +2190,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] describe 'patch_namespaced_config_map test' do it "should work" do @@ -2148,6 +2206,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] describe 'patch_namespaced_endpoints test' do it "should work" do @@ -2163,6 +2222,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] describe 'patch_namespaced_event test' do it "should work" do @@ -2178,6 +2238,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] describe 'patch_namespaced_limit_range test' do it "should work" do @@ -2193,6 +2254,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] describe 'patch_namespaced_persistent_volume_claim test' do it "should work" do @@ -2208,6 +2270,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] describe 'patch_namespaced_persistent_volume_claim_status test' do it "should work" do @@ -2223,6 +2286,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] describe 'patch_namespaced_pod test' do it "should work" do @@ -2238,6 +2302,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] describe 'patch_namespaced_pod_status test' do it "should work" do @@ -2253,6 +2318,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] describe 'patch_namespaced_pod_template test' do it "should work" do @@ -2268,6 +2334,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] describe 'patch_namespaced_replication_controller test' do it "should work" do @@ -2283,6 +2350,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Scale] describe 'patch_namespaced_replication_controller_scale test' do it "should work" do @@ -2298,6 +2366,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] describe 'patch_namespaced_replication_controller_status test' do it "should work" do @@ -2313,6 +2382,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] describe 'patch_namespaced_resource_quota test' do it "should work" do @@ -2328,6 +2398,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] describe 'patch_namespaced_resource_quota_status test' do it "should work" do @@ -2343,6 +2414,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] describe 'patch_namespaced_secret test' do it "should work" do @@ -2358,6 +2430,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] describe 'patch_namespaced_service test' do it "should work" do @@ -2373,6 +2446,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] describe 'patch_namespaced_service_account test' do it "should work" do @@ -2388,6 +2462,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] describe 'patch_namespaced_service_status test' do it "should work" do @@ -2402,6 +2477,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] describe 'patch_node test' do it "should work" do @@ -2416,6 +2492,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] describe 'patch_node_status test' do it "should work" do @@ -2430,6 +2507,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] describe 'patch_persistent_volume test' do it "should work" do @@ -2444,6 +2522,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] describe 'patch_persistent_volume_status test' do it "should work" do @@ -2451,559 +2530,6 @@ end end - # unit tests for proxy_delete_namespaced_pod - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_delete_namespaced_pod_with_path - # - # proxy DELETE requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_delete_namespaced_service - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_delete_namespaced_service_with_path - # - # proxy DELETE requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_delete_node - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_delete_node_with_path - # - # proxy DELETE requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_delete_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_namespaced_pod - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_namespaced_pod_with_path - # - # proxy GET requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_namespaced_service - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_namespaced_service_with_path - # - # proxy GET requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_node - # - # proxy GET requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_get_node_with_path - # - # proxy GET requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_get_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_namespaced_pod - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_namespaced_pod_with_path - # - # proxy HEAD requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_namespaced_service - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_namespaced_service_with_path - # - # proxy HEAD requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_node - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_head_node_with_path - # - # proxy HEAD requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_head_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_namespaced_pod - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_namespaced_pod_with_path - # - # proxy OPTIONS requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_namespaced_service - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_namespaced_service_with_path - # - # proxy OPTIONS requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_node - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_options_node_with_path - # - # proxy OPTIONS requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_options_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_namespaced_pod - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_namespaced_pod_with_path - # - # proxy PATCH requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_namespaced_service - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_namespaced_service_with_path - # - # proxy PATCH requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_node - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_patch_node_with_path - # - # proxy PATCH requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_patch_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_namespaced_pod - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_namespaced_pod_with_path - # - # proxy POST requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_namespaced_service - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_namespaced_service_with_path - # - # proxy POST requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_node - # - # proxy POST requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_post_node_with_path - # - # proxy POST requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_post_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_namespaced_pod - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_namespaced_pod_with_path - # - # proxy PUT requests to Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_namespaced_pod_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_namespaced_service - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_namespaced_service_with_path - # - # proxy PUT requests to Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_namespaced_service_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_node - # - # proxy PUT requests to Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for proxy_put_node_with_path - # - # proxy PUT requests to Node - # @param name name of the Node - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @return [String] - describe 'proxy_put_node_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - # unit tests for read_component_status # # read the specified ComponentStatus @@ -3405,6 +2931,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] describe 'replace_namespace test' do it "should work" do @@ -3418,6 +2945,7 @@ # @param name name of the Namespace # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [String] :pretty If 'true', then the output is pretty printed. # @return [V1Namespace] describe 'replace_namespace_finalize test' do @@ -3433,6 +2961,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Namespace] describe 'replace_namespace_status test' do it "should work" do @@ -3448,6 +2977,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ConfigMap] describe 'replace_namespaced_config_map test' do it "should work" do @@ -3463,6 +2993,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Endpoints] describe 'replace_namespaced_endpoints test' do it "should work" do @@ -3478,6 +3009,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Event] describe 'replace_namespaced_event test' do it "should work" do @@ -3493,6 +3025,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1LimitRange] describe 'replace_namespaced_limit_range test' do it "should work" do @@ -3508,6 +3041,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] describe 'replace_namespaced_persistent_volume_claim test' do it "should work" do @@ -3523,6 +3057,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolumeClaim] describe 'replace_namespaced_persistent_volume_claim_status test' do it "should work" do @@ -3538,6 +3073,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] describe 'replace_namespaced_pod test' do it "should work" do @@ -3553,6 +3089,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Pod] describe 'replace_namespaced_pod_status test' do it "should work" do @@ -3568,6 +3105,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PodTemplate] describe 'replace_namespaced_pod_template test' do it "should work" do @@ -3583,6 +3121,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] describe 'replace_namespaced_replication_controller test' do it "should work" do @@ -3598,6 +3137,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Scale] describe 'replace_namespaced_replication_controller_scale test' do it "should work" do @@ -3613,6 +3153,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ReplicationController] describe 'replace_namespaced_replication_controller_status test' do it "should work" do @@ -3628,6 +3169,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] describe 'replace_namespaced_resource_quota test' do it "should work" do @@ -3643,6 +3185,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ResourceQuota] describe 'replace_namespaced_resource_quota_status test' do it "should work" do @@ -3658,6 +3201,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Secret] describe 'replace_namespaced_secret test' do it "should work" do @@ -3673,6 +3217,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] describe 'replace_namespaced_service test' do it "should work" do @@ -3688,6 +3233,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ServiceAccount] describe 'replace_namespaced_service_account test' do it "should work" do @@ -3703,6 +3249,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Service] describe 'replace_namespaced_service_status test' do it "should work" do @@ -3717,6 +3264,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] describe 'replace_node test' do it "should work" do @@ -3731,6 +3279,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Node] describe 'replace_node_status test' do it "should work" do @@ -3745,6 +3294,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] describe 'replace_persistent_volume test' do it "should work" do @@ -3759,6 +3309,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1PersistentVolume] describe 'replace_persistent_volume_status test' do it "should work" do diff --git a/kubernetes/spec/api/custom_objects_api_spec.rb b/kubernetes/spec/api/custom_objects_api_spec.rb index d766d220..4948ec02 100644 --- a/kubernetes/spec/api/custom_objects_api_spec.rb +++ b/kubernetes/spec/api/custom_objects_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -119,6 +119,36 @@ end end + # unit tests for get_cluster_custom_object_scale + # + # read scale of the specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'get_cluster_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_cluster_custom_object_status + # + # read status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'get_cluster_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_namespaced_custom_object # # Returns a namespace scoped custom object @@ -135,6 +165,38 @@ end end + # unit tests for get_namespaced_custom_object_scale + # + # read scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'get_namespaced_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_namespaced_custom_object_status + # + # read status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'get_namespaced_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for list_cluster_custom_object # # list or watch cluster scoped custom objects @@ -145,6 +207,7 @@ # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Object] describe 'list_cluster_custom_object test' do @@ -164,6 +227,7 @@ # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. # @return [Object] describe 'list_namespaced_custom_object test' do @@ -172,6 +236,105 @@ end end + # unit tests for patch_cluster_custom_object + # + # patch the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_cluster_custom_object test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_cluster_custom_object_scale + # + # partially update scale of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_cluster_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_cluster_custom_object_status + # + # partially update status of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_cluster_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_custom_object + # + # patch the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body The JSON schema of the Resource to patch. + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_namespaced_custom_object test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_custom_object_scale + # + # partially update scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_namespaced_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_custom_object_status + # + # partially update status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'patch_namespaced_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_cluster_custom_object # # replace the specified cluster scoped custom object @@ -188,6 +351,38 @@ end end + # unit tests for replace_cluster_custom_object_scale + # + # replace scale of the specified cluster scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'replace_cluster_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_cluster_custom_object_status + # + # replace status of the cluster scoped specified custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'replace_cluster_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_namespaced_custom_object # # replace the specified namespace scoped custom object @@ -205,4 +400,38 @@ end end + # unit tests for replace_namespaced_custom_object_scale + # + # replace scale of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'replace_namespaced_custom_object_scale test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_custom_object_status + # + # replace status of the specified namespace scoped custom object + # @param group the custom resource's group + # @param version the custom resource's version + # @param namespace The custom resource's namespace + # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. + # @param name the custom object's name + # @param body + # @param [Hash] opts the optional parameters + # @return [Object] + describe 'replace_namespaced_custom_object_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/api/events_api_spec.rb b/kubernetes/spec/api/events_api_spec.rb new file mode 100644 index 00000000..46b946ea --- /dev/null +++ b/kubernetes/spec/api/events_api_spec.rb @@ -0,0 +1,46 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::EventsApi +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'EventsApi' do + before do + # run before each test + @instance = Kubernetes::EventsApi.new + end + + after do + # run after each test + end + + describe 'test an instance of EventsApi' do + it 'should create an instance of EventsApi' do + expect(@instance).to be_instance_of(Kubernetes::EventsApi) + end + end + + # unit tests for get_api_group + # + # get information of a group + # @param [Hash] opts the optional parameters + # @return [V1APIGroup] + describe 'get_api_group test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/events_v1beta1_api_spec.rb b/kubernetes/spec/api/events_v1beta1_api_spec.rb new file mode 100644 index 00000000..ba572b48 --- /dev/null +++ b/kubernetes/spec/api/events_v1beta1_api_spec.rb @@ -0,0 +1,191 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::EventsV1beta1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'EventsV1beta1Api' do + before do + # run before each test + @instance = Kubernetes::EventsV1beta1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of EventsV1beta1Api' do + it 'should create an instance of EventsV1beta1Api' do + expect(@instance).to be_instance_of(Kubernetes::EventsV1beta1Api) + end + end + + # unit tests for create_namespaced_event + # + # create an Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + describe 'create_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_namespaced_event + # + # delete collection of Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_namespaced_event + # + # delete an Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_event_for_all_namespaces + # + # list or watch objects of kind Event + # @param [Hash] opts the optional parameters + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1EventList] + describe 'list_event_for_all_namespaces test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_namespaced_event + # + # list or watch objects of kind Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1EventList] + describe 'list_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_namespaced_event + # + # partially update the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + describe 'patch_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_namespaced_event + # + # read the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1Event] + describe 'read_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_namespaced_event + # + # replace the specified Event + # @param name name of the Event + # @param namespace object name and auth scope, such as for teams and projects + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1Event] + describe 'replace_namespaced_event test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/extensions_api_spec.rb b/kubernetes/spec/api/extensions_api_spec.rb index 56a0b6fc..fc1ed719 100644 --- a/kubernetes/spec/api/extensions_api_spec.rb +++ b/kubernetes/spec/api/extensions_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/extensions_v1beta1_api_spec.rb b/kubernetes/spec/api/extensions_v1beta1_api_spec.rb index 04f6c1bb..0ee021ec 100644 --- a/kubernetes/spec/api/extensions_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/extensions_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] describe 'create_namespaced_daemon_set test' do it "should work" do @@ -52,7 +54,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] describe 'create_namespaced_deployment test' do it "should work" do @@ -67,8 +71,10 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1DeploymentRollback] + # @return [V1Status] describe 'create_namespaced_deployment_rollback test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -81,7 +87,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] describe 'create_namespaced_ingress test' do it "should work" do @@ -95,7 +103,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] describe 'create_namespaced_network_policy test' do it "should work" do @@ -109,7 +119,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] describe 'create_namespaced_replica_set test' do it "should work" do @@ -122,8 +134,10 @@ # create a PodSecurityPolicy # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] describe 'create_pod_security_policy test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -135,14 +149,14 @@ # delete collection of DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_daemon_set test' do @@ -156,14 +170,14 @@ # delete collection of Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_deployment test' do @@ -177,14 +191,14 @@ # delete collection of Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_ingress test' do @@ -198,14 +212,14 @@ # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_network_policy test' do @@ -219,14 +233,14 @@ # delete collection of ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_replica_set test' do @@ -239,14 +253,14 @@ # # delete collection of PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_pod_security_policy test' do @@ -260,12 +274,13 @@ # delete a DaemonSet # @param name name of the DaemonSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_daemon_set test' do it "should work" do @@ -278,12 +293,13 @@ # delete a Deployment # @param name name of the Deployment # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_deployment test' do it "should work" do @@ -296,12 +312,13 @@ # delete an Ingress # @param name name of the Ingress # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_ingress test' do it "should work" do @@ -314,12 +331,13 @@ # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_network_policy test' do it "should work" do @@ -332,12 +350,13 @@ # delete a ReplicaSet # @param name name of the ReplicaSet # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_replica_set test' do it "should work" do @@ -349,12 +368,13 @@ # # delete a PodSecurityPolicy # @param name name of the PodSecurityPolicy - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_pod_security_policy test' do it "should work" do @@ -377,14 +397,14 @@ # # list or watch objects of kind DaemonSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1DaemonSetList] describe 'list_daemon_set_for_all_namespaces test' do @@ -397,14 +417,14 @@ # # list or watch objects of kind Deployment # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [ExtensionsV1beta1DeploymentList] describe 'list_deployment_for_all_namespaces test' do @@ -417,14 +437,14 @@ # # list or watch objects of kind Ingress # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1IngressList] describe 'list_ingress_for_all_namespaces test' do @@ -438,14 +458,14 @@ # list or watch objects of kind DaemonSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1DaemonSetList] describe 'list_namespaced_daemon_set test' do @@ -459,14 +479,14 @@ # list or watch objects of kind Deployment # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [ExtensionsV1beta1DeploymentList] describe 'list_namespaced_deployment test' do @@ -480,14 +500,14 @@ # list or watch objects of kind Ingress # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1IngressList] describe 'list_namespaced_ingress test' do @@ -501,14 +521,14 @@ # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1NetworkPolicyList] describe 'list_namespaced_network_policy test' do @@ -522,14 +542,14 @@ # list or watch objects of kind ReplicaSet # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ReplicaSetList] describe 'list_namespaced_replica_set test' do @@ -542,14 +562,14 @@ # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1NetworkPolicyList] describe 'list_network_policy_for_all_namespaces test' do @@ -562,16 +582,16 @@ # # list or watch objects of kind PodSecurityPolicy # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1PodSecurityPolicyList] + # @return [ExtensionsV1beta1PodSecurityPolicyList] describe 'list_pod_security_policy test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -582,14 +602,14 @@ # # list or watch objects of kind ReplicaSet # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ReplicaSetList] describe 'list_replica_set_for_all_namespaces test' do @@ -606,6 +626,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] describe 'patch_namespaced_daemon_set test' do it "should work" do @@ -621,6 +642,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] describe 'patch_namespaced_daemon_set_status test' do it "should work" do @@ -636,6 +658,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] describe 'patch_namespaced_deployment test' do it "should work" do @@ -651,6 +674,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'patch_namespaced_deployment_scale test' do it "should work" do @@ -666,6 +690,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] describe 'patch_namespaced_deployment_status test' do it "should work" do @@ -681,6 +706,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] describe 'patch_namespaced_ingress test' do it "should work" do @@ -696,6 +722,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] describe 'patch_namespaced_ingress_status test' do it "should work" do @@ -711,6 +738,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] describe 'patch_namespaced_network_policy test' do it "should work" do @@ -726,6 +754,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] describe 'patch_namespaced_replica_set test' do it "should work" do @@ -741,6 +770,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'patch_namespaced_replica_set_scale test' do it "should work" do @@ -756,6 +786,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] describe 'patch_namespaced_replica_set_status test' do it "should work" do @@ -771,6 +802,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'patch_namespaced_replication_controller_dummy_scale test' do it "should work" do @@ -785,7 +817,8 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] describe 'patch_pod_security_policy test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -978,7 +1011,7 @@ # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1PodSecurityPolicy] + # @return [ExtensionsV1beta1PodSecurityPolicy] describe 'read_pod_security_policy test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -993,6 +1026,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] describe 'replace_namespaced_daemon_set test' do it "should work" do @@ -1008,6 +1042,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1DaemonSet] describe 'replace_namespaced_daemon_set_status test' do it "should work" do @@ -1023,6 +1058,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] describe 'replace_namespaced_deployment test' do it "should work" do @@ -1038,6 +1074,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'replace_namespaced_deployment_scale test' do it "should work" do @@ -1053,6 +1090,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Deployment] describe 'replace_namespaced_deployment_status test' do it "should work" do @@ -1068,6 +1106,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] describe 'replace_namespaced_ingress test' do it "should work" do @@ -1083,6 +1122,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Ingress] describe 'replace_namespaced_ingress_status test' do it "should work" do @@ -1098,6 +1138,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1NetworkPolicy] describe 'replace_namespaced_network_policy test' do it "should work" do @@ -1113,6 +1154,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] describe 'replace_namespaced_replica_set test' do it "should work" do @@ -1128,6 +1170,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'replace_namespaced_replica_set_scale test' do it "should work" do @@ -1143,6 +1186,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ReplicaSet] describe 'replace_namespaced_replica_set_status test' do it "should work" do @@ -1158,6 +1202,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [ExtensionsV1beta1Scale] describe 'replace_namespaced_replication_controller_dummy_scale test' do it "should work" do @@ -1172,7 +1217,8 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodSecurityPolicy] + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [ExtensionsV1beta1PodSecurityPolicy] describe 'replace_pod_security_policy test' do it "should work" do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/api/logs_api_spec.rb b/kubernetes/spec/api/logs_api_spec.rb index f5339236..78beba23 100644 --- a/kubernetes/spec/api/logs_api_spec.rb +++ b/kubernetes/spec/api/logs_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/networking_api_spec.rb b/kubernetes/spec/api/networking_api_spec.rb index d99d9ffa..8cf5f013 100644 --- a/kubernetes/spec/api/networking_api_spec.rb +++ b/kubernetes/spec/api/networking_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/networking_v1_api_spec.rb b/kubernetes/spec/api/networking_v1_api_spec.rb index bccc6284..6855cb97 100644 --- a/kubernetes/spec/api/networking_v1_api_spec.rb +++ b/kubernetes/spec/api/networking_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] describe 'create_namespaced_network_policy test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_network_policy test' do @@ -72,12 +74,13 @@ # delete a NetworkPolicy # @param name name of the NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_network_policy test' do it "should work" do @@ -101,14 +104,14 @@ # list or watch objects of kind NetworkPolicy # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NetworkPolicyList] describe 'list_namespaced_network_policy test' do @@ -121,14 +124,14 @@ # # list or watch objects of kind NetworkPolicy # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1NetworkPolicyList] describe 'list_network_policy_for_all_namespaces test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] describe 'patch_namespaced_network_policy test' do it "should work" do @@ -176,6 +180,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1NetworkPolicy] describe 'replace_namespaced_network_policy test' do it "should work" do diff --git a/kubernetes/spec/api/policy_api_spec.rb b/kubernetes/spec/api/policy_api_spec.rb index 32081d72..7ec57226 100644 --- a/kubernetes/spec/api/policy_api_spec.rb +++ b/kubernetes/spec/api/policy_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/policy_v1beta1_api_spec.rb b/kubernetes/spec/api/policy_v1beta1_api_spec.rb index 71db0a88..ab76080a 100644 --- a/kubernetes/spec/api/policy_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/policy_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] describe 'create_namespaced_pod_disruption_budget test' do it "should work" do @@ -46,19 +48,34 @@ end end + # unit tests for create_pod_security_policy + # + # create a PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + describe 'create_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_collection_namespaced_pod_disruption_budget # # delete collection of PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_pod_disruption_budget test' do @@ -67,17 +84,38 @@ end end + # unit tests for delete_collection_pod_security_policy + # + # delete collection of PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_namespaced_pod_disruption_budget # # delete a PodDisruptionBudget # @param name name of the PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_pod_disruption_budget test' do it "should work" do @@ -85,6 +123,24 @@ end end + # unit tests for delete_pod_security_policy + # + # delete a PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_api_resources # # get available resources @@ -101,14 +157,14 @@ # list or watch objects of kind PodDisruptionBudget # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1PodDisruptionBudgetList] describe 'list_namespaced_pod_disruption_budget test' do @@ -121,14 +177,14 @@ # # list or watch objects of kind PodDisruptionBudget # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1PodDisruptionBudgetList] describe 'list_pod_disruption_budget_for_all_namespaces test' do @@ -137,6 +193,26 @@ end end + # unit tests for list_pod_security_policy + # + # list or watch objects of kind PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [PolicyV1beta1PodSecurityPolicyList] + describe 'list_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for patch_namespaced_pod_disruption_budget # # partially update the specified PodDisruptionBudget @@ -145,6 +221,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] describe 'patch_namespaced_pod_disruption_budget test' do it "should work" do @@ -160,6 +237,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] describe 'patch_namespaced_pod_disruption_budget_status test' do it "should work" do @@ -167,6 +245,21 @@ end end + # unit tests for patch_pod_security_policy + # + # partially update the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + describe 'patch_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_namespaced_pod_disruption_budget # # read the specified PodDisruptionBudget @@ -197,6 +290,21 @@ end end + # unit tests for read_pod_security_policy + # + # read the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [PolicyV1beta1PodSecurityPolicy] + describe 'read_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_namespaced_pod_disruption_budget # # replace the specified PodDisruptionBudget @@ -205,6 +313,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] describe 'replace_namespaced_pod_disruption_budget test' do it "should work" do @@ -220,6 +329,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1PodDisruptionBudget] describe 'replace_namespaced_pod_disruption_budget_status test' do it "should work" do @@ -227,4 +337,19 @@ end end + # unit tests for replace_pod_security_policy + # + # replace the specified PodSecurityPolicy + # @param name name of the PodSecurityPolicy + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [PolicyV1beta1PodSecurityPolicy] + describe 'replace_pod_security_policy test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/api/rbac_authorization_api_spec.rb b/kubernetes/spec/api/rbac_authorization_api_spec.rb index b14ca670..d1de6705 100644 --- a/kubernetes/spec/api/rbac_authorization_api_spec.rb +++ b/kubernetes/spec/api/rbac_authorization_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb index 9b6b8b2e..eadc372c 100644 --- a/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb +++ b/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] describe 'create_cluster_role test' do it "should work" do @@ -50,7 +52,9 @@ # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] describe 'create_cluster_role_binding test' do it "should work" do @@ -64,7 +68,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] describe 'create_namespaced_role test' do it "should work" do @@ -78,7 +84,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] describe 'create_namespaced_role_binding test' do it "should work" do @@ -90,12 +98,13 @@ # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role test' do it "should work" do @@ -107,12 +116,13 @@ # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role_binding test' do it "should work" do @@ -124,14 +134,14 @@ # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role test' do @@ -144,14 +154,14 @@ # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role_binding test' do @@ -165,14 +175,14 @@ # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role test' do @@ -186,14 +196,14 @@ # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role_binding test' do @@ -207,12 +217,13 @@ # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role test' do it "should work" do @@ -225,12 +236,13 @@ # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role_binding test' do it "should work" do @@ -253,14 +265,14 @@ # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ClusterRoleList] describe 'list_cluster_role test' do @@ -273,14 +285,14 @@ # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1ClusterRoleBindingList] describe 'list_cluster_role_binding test' do @@ -294,14 +306,14 @@ # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleList] describe 'list_namespaced_role test' do @@ -315,14 +327,14 @@ # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleBindingList] describe 'list_namespaced_role_binding test' do @@ -335,14 +347,14 @@ # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleBindingList] describe 'list_role_binding_for_all_namespaces test' do @@ -355,14 +367,14 @@ # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1RoleList] describe 'list_role_for_all_namespaces test' do @@ -378,6 +390,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] describe 'patch_cluster_role test' do it "should work" do @@ -392,6 +405,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] describe 'patch_cluster_role_binding test' do it "should work" do @@ -407,6 +421,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] describe 'patch_namespaced_role test' do it "should work" do @@ -422,6 +437,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] describe 'patch_namespaced_role_binding test' do it "should work" do @@ -490,6 +506,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRole] describe 'replace_cluster_role test' do it "should work" do @@ -504,6 +521,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1ClusterRoleBinding] describe 'replace_cluster_role_binding test' do it "should work" do @@ -519,6 +537,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1Role] describe 'replace_namespaced_role test' do it "should work" do @@ -534,6 +553,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1RoleBinding] describe 'replace_namespaced_role_binding test' do it "should work" do diff --git a/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb index e6d8430f..10fbe112 100644 --- a/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb +++ b/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] describe 'create_cluster_role test' do it "should work" do @@ -50,7 +52,9 @@ # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] describe 'create_cluster_role_binding test' do it "should work" do @@ -64,7 +68,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] describe 'create_namespaced_role test' do it "should work" do @@ -78,7 +84,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] describe 'create_namespaced_role_binding test' do it "should work" do @@ -90,12 +98,13 @@ # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role test' do it "should work" do @@ -107,12 +116,13 @@ # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role_binding test' do it "should work" do @@ -124,14 +134,14 @@ # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role test' do @@ -144,14 +154,14 @@ # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role_binding test' do @@ -165,14 +175,14 @@ # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role test' do @@ -186,14 +196,14 @@ # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role_binding test' do @@ -207,12 +217,13 @@ # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role test' do it "should work" do @@ -225,12 +236,13 @@ # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role_binding test' do it "should work" do @@ -253,14 +265,14 @@ # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1ClusterRoleList] describe 'list_cluster_role test' do @@ -273,14 +285,14 @@ # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1ClusterRoleBindingList] describe 'list_cluster_role_binding test' do @@ -294,14 +306,14 @@ # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleList] describe 'list_namespaced_role test' do @@ -315,14 +327,14 @@ # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleBindingList] describe 'list_namespaced_role_binding test' do @@ -335,14 +347,14 @@ # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleBindingList] describe 'list_role_binding_for_all_namespaces test' do @@ -355,14 +367,14 @@ # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1RoleList] describe 'list_role_for_all_namespaces test' do @@ -378,6 +390,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] describe 'patch_cluster_role test' do it "should work" do @@ -392,6 +405,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] describe 'patch_cluster_role_binding test' do it "should work" do @@ -407,6 +421,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] describe 'patch_namespaced_role test' do it "should work" do @@ -422,6 +437,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] describe 'patch_namespaced_role_binding test' do it "should work" do @@ -490,6 +506,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRole] describe 'replace_cluster_role test' do it "should work" do @@ -504,6 +521,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1ClusterRoleBinding] describe 'replace_cluster_role_binding test' do it "should work" do @@ -519,6 +537,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1Role] describe 'replace_namespaced_role test' do it "should work" do @@ -534,6 +553,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1RoleBinding] describe 'replace_namespaced_role_binding test' do it "should work" do diff --git a/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb index f0b8a8f3..fac955f2 100644 --- a/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a ClusterRole # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] describe 'create_cluster_role test' do it "should work" do @@ -50,7 +52,9 @@ # create a ClusterRoleBinding # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] describe 'create_cluster_role_binding test' do it "should work" do @@ -64,7 +68,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] describe 'create_namespaced_role test' do it "should work" do @@ -78,7 +84,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] describe 'create_namespaced_role_binding test' do it "should work" do @@ -90,12 +98,13 @@ # # delete a ClusterRole # @param name name of the ClusterRole - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role test' do it "should work" do @@ -107,12 +116,13 @@ # # delete a ClusterRoleBinding # @param name name of the ClusterRoleBinding - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_cluster_role_binding test' do it "should work" do @@ -124,14 +134,14 @@ # # delete collection of ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role test' do @@ -144,14 +154,14 @@ # # delete collection of ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_cluster_role_binding test' do @@ -165,14 +175,14 @@ # delete collection of Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role test' do @@ -186,14 +196,14 @@ # delete collection of RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_role_binding test' do @@ -207,12 +217,13 @@ # delete a Role # @param name name of the Role # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role test' do it "should work" do @@ -225,12 +236,13 @@ # delete a RoleBinding # @param name name of the RoleBinding # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_role_binding test' do it "should work" do @@ -253,14 +265,14 @@ # # list or watch objects of kind ClusterRole # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ClusterRoleList] describe 'list_cluster_role test' do @@ -273,14 +285,14 @@ # # list or watch objects of kind ClusterRoleBinding # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1ClusterRoleBindingList] describe 'list_cluster_role_binding test' do @@ -294,14 +306,14 @@ # list or watch objects of kind Role # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleList] describe 'list_namespaced_role test' do @@ -315,14 +327,14 @@ # list or watch objects of kind RoleBinding # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleBindingList] describe 'list_namespaced_role_binding test' do @@ -335,14 +347,14 @@ # # list or watch objects of kind RoleBinding # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleBindingList] describe 'list_role_binding_for_all_namespaces test' do @@ -355,14 +367,14 @@ # # list or watch objects of kind Role # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1RoleList] describe 'list_role_for_all_namespaces test' do @@ -378,6 +390,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] describe 'patch_cluster_role test' do it "should work" do @@ -392,6 +405,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] describe 'patch_cluster_role_binding test' do it "should work" do @@ -407,6 +421,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] describe 'patch_namespaced_role test' do it "should work" do @@ -422,6 +437,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] describe 'patch_namespaced_role_binding test' do it "should work" do @@ -490,6 +506,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRole] describe 'replace_cluster_role test' do it "should work" do @@ -504,6 +521,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1ClusterRoleBinding] describe 'replace_cluster_role_binding test' do it "should work" do @@ -519,6 +537,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1Role] describe 'replace_namespaced_role test' do it "should work" do @@ -534,6 +553,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1RoleBinding] describe 'replace_namespaced_role_binding test' do it "should work" do diff --git a/kubernetes/spec/api/scheduling_api_spec.rb b/kubernetes/spec/api/scheduling_api_spec.rb index d6a1cedb..2058c3f8 100644 --- a/kubernetes/spec/api/scheduling_api_spec.rb +++ b/kubernetes/spec/api/scheduling_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb b/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb index 180690d0..eb6d97c4 100644 --- a/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb +++ b/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a PriorityClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] describe 'create_priority_class test' do it "should work" do @@ -49,14 +51,14 @@ # # delete collection of PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_priority_class test' do @@ -69,12 +71,13 @@ # # delete a PriorityClass # @param name name of the PriorityClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_priority_class test' do it "should work" do @@ -97,14 +100,14 @@ # # list or watch objects of kind PriorityClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PriorityClassList] describe 'list_priority_class test' do @@ -120,6 +123,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] describe 'patch_priority_class test' do it "should work" do @@ -149,6 +153,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PriorityClass] describe 'replace_priority_class test' do it "should work" do diff --git a/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb b/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb new file mode 100644 index 00000000..c263242f --- /dev/null +++ b/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb @@ -0,0 +1,164 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::SchedulingV1beta1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'SchedulingV1beta1Api' do + before do + # run before each test + @instance = Kubernetes::SchedulingV1beta1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of SchedulingV1beta1Api' do + it 'should create an instance of SchedulingV1beta1Api' do + expect(@instance).to be_instance_of(Kubernetes::SchedulingV1beta1Api) + end + end + + # unit tests for create_priority_class + # + # create a PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + describe 'create_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_priority_class + # + # delete collection of PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_priority_class + # + # delete a PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_priority_class + # + # list or watch objects of kind PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1PriorityClassList] + describe 'list_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_priority_class + # + # partially update the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + describe 'patch_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_priority_class + # + # read the specified PriorityClass + # @param name name of the PriorityClass + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1PriorityClass] + describe 'read_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_priority_class + # + # replace the specified PriorityClass + # @param name name of the PriorityClass + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1PriorityClass] + describe 'replace_priority_class test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/settings_api_spec.rb b/kubernetes/spec/api/settings_api_spec.rb index 098ef862..7919cf79 100644 --- a/kubernetes/spec/api/settings_api_spec.rb +++ b/kubernetes/spec/api/settings_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/settings_v1alpha1_api_spec.rb b/kubernetes/spec/api/settings_v1alpha1_api_spec.rb index 68ac6785..2b56d538 100644 --- a/kubernetes/spec/api/settings_v1alpha1_api_spec.rb +++ b/kubernetes/spec/api/settings_v1alpha1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,7 +38,9 @@ # @param namespace object name and auth scope, such as for teams and projects # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] describe 'create_namespaced_pod_preset test' do it "should work" do @@ -51,14 +53,14 @@ # delete collection of PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_namespaced_pod_preset test' do @@ -72,12 +74,13 @@ # delete a PodPreset # @param name name of the PodPreset # @param namespace object name and auth scope, such as for teams and projects - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_namespaced_pod_preset test' do it "should work" do @@ -101,14 +104,14 @@ # list or watch objects of kind PodPreset # @param namespace object name and auth scope, such as for teams and projects # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PodPresetList] describe 'list_namespaced_pod_preset test' do @@ -121,14 +124,14 @@ # # list or watch objects of kind PodPreset # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :pretty If 'true', then the output is pretty printed. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1alpha1PodPresetList] describe 'list_pod_preset_for_all_namespaces test' do @@ -145,6 +148,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] describe 'patch_namespaced_pod_preset test' do it "should work" do @@ -176,6 +180,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1alpha1PodPreset] describe 'replace_namespaced_pod_preset test' do it "should work" do diff --git a/kubernetes/spec/api/storage_api_spec.rb b/kubernetes/spec/api/storage_api_spec.rb index 70928b2a..ebcc534a 100644 --- a/kubernetes/spec/api/storage_api_spec.rb +++ b/kubernetes/spec/api/storage_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api/storage_v1_api_spec.rb b/kubernetes/spec/api/storage_v1_api_spec.rb index 4727ce89..6d85e8e7 100644 --- a/kubernetes/spec/api/storage_v1_api_spec.rb +++ b/kubernetes/spec/api/storage_v1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] describe 'create_storage_class test' do it "should work" do @@ -45,18 +47,33 @@ end end + # unit tests for create_volume_attachment + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + describe 'create_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_collection_storage_class # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_storage_class test' do @@ -65,16 +82,37 @@ end end + # unit tests for delete_collection_volume_attachment + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_storage_class # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_storage_class test' do it "should work" do @@ -82,6 +120,24 @@ end end + # unit tests for delete_volume_attachment + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_api_resources # # get available resources @@ -97,14 +153,14 @@ # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1StorageClassList] describe 'list_storage_class test' do @@ -113,6 +169,26 @@ end end + # unit tests for list_volume_attachment + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1VolumeAttachmentList] + describe 'list_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for patch_storage_class # # partially update the specified StorageClass @@ -120,6 +196,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] describe 'patch_storage_class test' do it "should work" do @@ -127,6 +204,36 @@ end end + # unit tests for patch_volume_attachment + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + describe 'patch_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_volume_attachment_status + # + # partially update status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + describe 'patch_volume_attachment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_storage_class # # read the specified StorageClass @@ -142,6 +249,34 @@ end end + # unit tests for read_volume_attachment + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1VolumeAttachment] + describe 'read_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_volume_attachment_status + # + # read status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @return [V1VolumeAttachment] + describe 'read_volume_attachment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_storage_class # # replace the specified StorageClass @@ -149,6 +284,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1StorageClass] describe 'replace_storage_class test' do it "should work" do @@ -156,4 +292,34 @@ end end + # unit tests for replace_volume_attachment + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + describe 'replace_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_volume_attachment_status + # + # replace status of the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1VolumeAttachment] + describe 'replace_volume_attachment_status test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/api/storage_v1alpha1_api_spec.rb b/kubernetes/spec/api/storage_v1alpha1_api_spec.rb new file mode 100644 index 00000000..e9edc268 --- /dev/null +++ b/kubernetes/spec/api/storage_v1alpha1_api_spec.rb @@ -0,0 +1,164 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' + +# Unit tests for Kubernetes::StorageV1alpha1Api +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'StorageV1alpha1Api' do + before do + # run before each test + @instance = Kubernetes::StorageV1alpha1Api.new + end + + after do + # run after each test + end + + describe 'test an instance of StorageV1alpha1Api' do + it 'should create an instance of StorageV1alpha1Api' do + expect(@instance).to be_instance_of(Kubernetes::StorageV1alpha1Api) + end + end + + # unit tests for create_volume_attachment + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + describe 'create_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_collection_volume_attachment + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for delete_volume_attachment + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for get_api_resources + # + # get available resources + # @param [Hash] opts the optional parameters + # @return [V1APIResourceList] + describe 'get_api_resources test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for list_volume_attachment + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1alpha1VolumeAttachmentList] + describe 'list_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for patch_volume_attachment + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + describe 'patch_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for read_volume_attachment + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1alpha1VolumeAttachment] + describe 'read_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + # unit tests for replace_volume_attachment + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1alpha1VolumeAttachment] + describe 'replace_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end diff --git a/kubernetes/spec/api/storage_v1beta1_api_spec.rb b/kubernetes/spec/api/storage_v1beta1_api_spec.rb index 3037b4bc..4bc13c71 100644 --- a/kubernetes/spec/api/storage_v1beta1_api_spec.rb +++ b/kubernetes/spec/api/storage_v1beta1_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -37,7 +37,9 @@ # create a StorageClass # @param body # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] describe 'create_storage_class test' do it "should work" do @@ -45,18 +47,33 @@ end end + # unit tests for create_volume_attachment + # + # create a VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + describe 'create_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_collection_storage_class # # delete collection of StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1Status] describe 'delete_collection_storage_class test' do @@ -65,16 +82,37 @@ end end + # unit tests for delete_collection_volume_attachment + # + # delete collection of VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1Status] + describe 'delete_collection_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for delete_storage_class # # delete a StorageClass # @param name name of the StorageClass - # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. # @return [V1Status] describe 'delete_storage_class test' do it "should work" do @@ -82,6 +120,24 @@ end end + # unit tests for delete_volume_attachment + # + # delete a VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [V1DeleteOptions] :body + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + # @return [V1Status] + describe 'delete_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for get_api_resources # # get available resources @@ -97,14 +153,14 @@ # # list or watch objects of kind StorageClass # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. # @return [V1beta1StorageClassList] describe 'list_storage_class test' do @@ -113,6 +169,26 @@ end end + # unit tests for list_volume_attachment + # + # list or watch objects of kind VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. + # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. + # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + # @return [V1beta1VolumeAttachmentList] + describe 'list_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for patch_storage_class # # partially update the specified StorageClass @@ -120,6 +196,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] describe 'patch_storage_class test' do it "should work" do @@ -127,6 +204,21 @@ end end + # unit tests for patch_volume_attachment + # + # partially update the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + describe 'patch_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for read_storage_class # # read the specified StorageClass @@ -142,6 +234,21 @@ end end + # unit tests for read_volume_attachment + # + # read the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. + # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. + # @return [V1beta1VolumeAttachment] + describe 'read_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + # unit tests for replace_storage_class # # replace the specified StorageClass @@ -149,6 +256,7 @@ # @param body # @param [Hash] opts the optional parameters # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed # @return [V1beta1StorageClass] describe 'replace_storage_class test' do it "should work" do @@ -156,4 +264,19 @@ end end + # unit tests for replace_volume_attachment + # + # replace the specified VolumeAttachment + # @param name name of the VolumeAttachment + # @param body + # @param [Hash] opts the optional parameters + # @option opts [String] :pretty If 'true', then the output is pretty printed. + # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + # @return [V1beta1VolumeAttachment] + describe 'replace_volume_attachment test' do + it "should work" do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/api/version_api_spec.rb b/kubernetes/spec/api/version_api_spec.rb index d8dd5a37..5f9ce8e9 100644 --- a/kubernetes/spec/api/version_api_spec.rb +++ b/kubernetes/spec/api/version_api_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/api_client_spec.rb b/kubernetes/spec/api_client_spec.rb index a9adb2ff..739d80ae 100644 --- a/kubernetes/spec/api_client_spec.rb +++ b/kubernetes/spec/api_client_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/configuration_spec.rb b/kubernetes/spec/configuration_spec.rb index 10da4055..dc2d2932 100644 --- a/kubernetes/spec/configuration_spec.rb +++ b/kubernetes/spec/configuration_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb new file mode 100644 index 00000000..e6a78000 --- /dev/null +++ b/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::AdmissionregistrationV1beta1ServiceReference +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AdmissionregistrationV1beta1ServiceReference' do + before do + # run before each test + @instance = Kubernetes::AdmissionregistrationV1beta1ServiceReference.new + end + + after do + # run after each test + end + + describe 'test an instance of AdmissionregistrationV1beta1ServiceReference' do + it 'should create an instance of AdmissionregistrationV1beta1ServiceReference' do + expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1ServiceReference) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb b/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb new file mode 100644 index 00000000..f8c3f2d7 --- /dev/null +++ b/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'AdmissionregistrationV1beta1WebhookClientConfig' do + before do + # run before each test + @instance = Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig.new + end + + after do + # run after each test + end + + describe 'test an instance of AdmissionregistrationV1beta1WebhookClientConfig' do + it 'should create an instance of AdmissionregistrationV1beta1WebhookClientConfig' do + expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig) + end + end + describe 'test attribute "ca_bundle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "service"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "url"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb new file mode 100644 index 00000000..16d7d915 --- /dev/null +++ b/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ApiextensionsV1beta1ServiceReference +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ApiextensionsV1beta1ServiceReference' do + before do + # run before each test + @instance = Kubernetes::ApiextensionsV1beta1ServiceReference.new + end + + after do + # run after each test + end + + describe 'test an instance of ApiextensionsV1beta1ServiceReference' do + it 'should create an instance of ApiextensionsV1beta1ServiceReference' do + expect(@instance).to be_instance_of(Kubernetes::ApiextensionsV1beta1ServiceReference) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb b/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb new file mode 100644 index 00000000..74411c10 --- /dev/null +++ b/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ApiextensionsV1beta1WebhookClientConfig +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ApiextensionsV1beta1WebhookClientConfig' do + before do + # run before each test + @instance = Kubernetes::ApiextensionsV1beta1WebhookClientConfig.new + end + + after do + # run after each test + end + + describe 'test an instance of ApiextensionsV1beta1WebhookClientConfig' do + it 'should create an instance of ApiextensionsV1beta1WebhookClientConfig' do + expect(@instance).to be_instance_of(Kubernetes::ApiextensionsV1beta1WebhookClientConfig) + end + end + describe 'test attribute "ca_bundle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "service"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "url"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb new file mode 100644 index 00000000..7b560c23 --- /dev/null +++ b/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ApiregistrationV1beta1ServiceReference +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ApiregistrationV1beta1ServiceReference' do + before do + # run before each test + @instance = Kubernetes::ApiregistrationV1beta1ServiceReference.new + end + + after do + # run after each test + end + + describe 'test an instance of ApiregistrationV1beta1ServiceReference' do + it 'should create an instance of ApiregistrationV1beta1ServiceReference' do + expect(@instance).to be_instance_of(Kubernetes::ApiregistrationV1beta1ServiceReference) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb index 4fd44cd4..31575bfd 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb index b24f09bf..2c8ab4a5 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb index 16922126..2aa7279c 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb index 5a57bb97..2abea359 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb index bd454999..edffd6f1 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb index a329bc30..2c8c7b05 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb index 47eb5d9c..630a1c55 100644 --- a/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb b/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb index 02f4c1c1..5b4c7256 100644 --- a/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb index a6679f7b..3c532d47 100644 --- a/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_scale_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_spec.rb index e09c14bd..3c3006f4 100644 --- a/kubernetes/spec/models/apps_v1beta1_scale_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb index 6ac19e68..6bba477b 100644 --- a/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb index 7419ff2f..f02002ad 100644 --- a/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb +++ b/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb b/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb new file mode 100644 index 00000000..7856d71f --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1AllowedFlexVolume +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1AllowedFlexVolume' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1AllowedFlexVolume.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1AllowedFlexVolume' do + it 'should create an instance of ExtensionsV1beta1AllowedFlexVolume' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1AllowedFlexVolume) + end + end + describe 'test attribute "driver"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb b/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb new file mode 100644 index 00000000..1ba3061a --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1AllowedHostPath +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1AllowedHostPath' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1AllowedHostPath.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1AllowedHostPath' do + it 'should create an instance of ExtensionsV1beta1AllowedHostPath' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1AllowedHostPath) + end + end + describe 'test attribute "path_prefix"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb index 658d11fc..a2ddd819 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb index 8448cd44..60c796f9 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb index 6e1f5cfa..439f9f18 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb index ff68a3b2..055a04ca 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb index 2ae9d8f6..c08a8042 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb index f1d3fffd..b808a973 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb index 7c2e769a..d73010ff 100644 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_supplemental_groups_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb similarity index 64% rename from kubernetes/spec/models/v1beta1_supplemental_groups_strategy_options_spec.rb rename to kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb index b2ab3d4d..bdd9ae61 100644 --- a/kubernetes/spec/models/v1beta1_supplemental_groups_strategy_options_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1SupplementalGroupsStrategyOptions +# Unit tests for Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1SupplementalGroupsStrategyOptions' do +describe 'ExtensionsV1beta1FSGroupStrategyOptions' do before do # run before each test - @instance = Kubernetes::V1beta1SupplementalGroupsStrategyOptions.new + @instance = Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions.new end after do # run after each test end - describe 'test an instance of V1beta1SupplementalGroupsStrategyOptions' do - it 'should create an instance of V1beta1SupplementalGroupsStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SupplementalGroupsStrategyOptions) + describe 'test an instance of ExtensionsV1beta1FSGroupStrategyOptions' do + it 'should create an instance of ExtensionsV1beta1FSGroupStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions) end end describe 'test attribute "ranges"' do diff --git a/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb b/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb new file mode 100644 index 00000000..9c82f8ff --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1HostPortRange +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1HostPortRange' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1HostPortRange.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1HostPortRange' do + it 'should create an instance of ExtensionsV1beta1HostPortRange' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1HostPortRange) + end + end + describe 'test attribute "max"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "min"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_host_port_range_spec.rb b/kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb similarity index 69% rename from kubernetes/spec/models/v1beta1_host_port_range_spec.rb rename to kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb index 680db67a..726d6098 100644 --- a/kubernetes/spec/models/v1beta1_host_port_range_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1HostPortRange +# Unit tests for Kubernetes::ExtensionsV1beta1IDRange # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1HostPortRange' do +describe 'ExtensionsV1beta1IDRange' do before do # run before each test - @instance = Kubernetes::V1beta1HostPortRange.new + @instance = Kubernetes::ExtensionsV1beta1IDRange.new end after do # run after each test end - describe 'test an instance of V1beta1HostPortRange' do - it 'should create an instance of V1beta1HostPortRange' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1HostPortRange) + describe 'test an instance of ExtensionsV1beta1IDRange' do + it 'should create an instance of ExtensionsV1beta1IDRange' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1IDRange) end end describe 'test attribute "max"' do diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb new file mode 100644 index 00000000..06ab4820 --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicyList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1PodSecurityPolicyList' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicyList.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1PodSecurityPolicyList' do + it 'should create an instance of ExtensionsV1beta1PodSecurityPolicyList' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicyList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb new file mode 100644 index 00000000..772f5890 --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1PodSecurityPolicy' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicy.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1PodSecurityPolicy' do + it 'should create an instance of ExtensionsV1beta1PodSecurityPolicy' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicy) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb new file mode 100644 index 00000000..3b2070dd --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb @@ -0,0 +1,168 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1PodSecurityPolicySpec' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1PodSecurityPolicySpec' do + it 'should create an instance of ExtensionsV1beta1PodSecurityPolicySpec' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec) + end + end + describe 'test attribute "allow_privilege_escalation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_capabilities"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_flex_volumes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_host_paths"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_proc_mount_types"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_unsafe_sysctls"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "default_add_capabilities"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "default_allow_privilege_escalation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "forbidden_sysctls"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "fs_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "host_ipc"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "host_network"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "host_pid"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "host_ports"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "privileged"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only_root_filesystem"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "required_drop_capabilities"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "run_as_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "run_as_user"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "se_linux"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "supplemental_groups"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volumes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb b/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb index dc03d7b2..13b0554b 100644 --- a/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb index d2463d4d..2777795b 100644 --- a/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb new file mode 100644 index 00000000..a76fbf95 --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1RunAsGroupStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1RunAsGroupStrategyOptions' do + it 'should create an instance of ExtensionsV1beta1RunAsGroupStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions) + end + end + describe 'test attribute "ranges"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb new file mode 100644 index 00000000..663d2880 --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1RunAsUserStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1RunAsUserStrategyOptions' do + it 'should create an instance of ExtensionsV1beta1RunAsUserStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions) + end + end + describe 'test attribute "ranges"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb index d3aefcf5..b459d0cd 100644 --- a/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb index 7dc481b3..6d5d5925 100644 --- a/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb index fc142167..7ec75fb4 100644 --- a/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb +++ b/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb new file mode 100644 index 00000000..fd358310 --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1SELinuxStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1SELinuxStrategyOptions' do + it 'should create an instance of ExtensionsV1beta1SELinuxStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions) + end + end + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "se_linux_options"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb new file mode 100644 index 00000000..6d1722ad --- /dev/null +++ b/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'ExtensionsV1beta1SupplementalGroupsStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of ExtensionsV1beta1SupplementalGroupsStrategyOptions' do + it 'should create an instance of ExtensionsV1beta1SupplementalGroupsStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions) + end + end + describe 'test attribute "ranges"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb b/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb new file mode 100644 index 00000000..43bd1dca --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1AllowedFlexVolume +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1AllowedFlexVolume' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1AllowedFlexVolume.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1AllowedFlexVolume' do + it 'should create an instance of PolicyV1beta1AllowedFlexVolume' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1AllowedFlexVolume) + end + end + describe 'test attribute "driver"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb b/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb new file mode 100644 index 00000000..d9135e3a --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1AllowedHostPath +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1AllowedHostPath' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1AllowedHostPath.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1AllowedHostPath' do + it 'should create an instance of PolicyV1beta1AllowedHostPath' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1AllowedHostPath) + end + end + describe 'test attribute "path_prefix"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_fs_group_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb similarity index 65% rename from kubernetes/spec/models/v1beta1_fs_group_strategy_options_spec.rb rename to kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb index f02f76b8..6cb5023c 100644 --- a/kubernetes/spec/models/v1beta1_fs_group_strategy_options_spec.rb +++ b/kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1FSGroupStrategyOptions +# Unit tests for Kubernetes::PolicyV1beta1FSGroupStrategyOptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1FSGroupStrategyOptions' do +describe 'PolicyV1beta1FSGroupStrategyOptions' do before do # run before each test - @instance = Kubernetes::V1beta1FSGroupStrategyOptions.new + @instance = Kubernetes::PolicyV1beta1FSGroupStrategyOptions.new end after do # run after each test end - describe 'test an instance of V1beta1FSGroupStrategyOptions' do - it 'should create an instance of V1beta1FSGroupStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1FSGroupStrategyOptions) + describe 'test an instance of PolicyV1beta1FSGroupStrategyOptions' do + it 'should create an instance of PolicyV1beta1FSGroupStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1FSGroupStrategyOptions) end end describe 'test attribute "ranges"' do diff --git a/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb b/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb new file mode 100644 index 00000000..35825f51 --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1HostPortRange +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1HostPortRange' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1HostPortRange.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1HostPortRange' do + it 'should create an instance of PolicyV1beta1HostPortRange' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1HostPortRange) + end + end + describe 'test attribute "max"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "min"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_id_range_spec.rb b/kubernetes/spec/models/policy_v1beta1_id_range_spec.rb similarity index 70% rename from kubernetes/spec/models/v1beta1_id_range_spec.rb rename to kubernetes/spec/models/policy_v1beta1_id_range_spec.rb index 43c9f1b9..92a3955b 100644 --- a/kubernetes/spec/models/v1beta1_id_range_spec.rb +++ b/kubernetes/spec/models/policy_v1beta1_id_range_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1IDRange +# Unit tests for Kubernetes::PolicyV1beta1IDRange # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1IDRange' do +describe 'PolicyV1beta1IDRange' do before do # run before each test - @instance = Kubernetes::V1beta1IDRange.new + @instance = Kubernetes::PolicyV1beta1IDRange.new end after do # run after each test end - describe 'test an instance of V1beta1IDRange' do - it 'should create an instance of V1beta1IDRange' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IDRange) + describe 'test an instance of PolicyV1beta1IDRange' do + it 'should create an instance of PolicyV1beta1IDRange' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1IDRange) end end describe 'test attribute "max"' do diff --git a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb new file mode 100644 index 00000000..a8fae0d0 --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicyList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1PodSecurityPolicyList' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1PodSecurityPolicyList.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1PodSecurityPolicyList' do + it 'should create an instance of PolicyV1beta1PodSecurityPolicyList' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicyList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb new file mode 100644 index 00000000..a03ec586 --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1PodSecurityPolicy' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1PodSecurityPolicy.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1PodSecurityPolicy' do + it 'should create an instance of PolicyV1beta1PodSecurityPolicy' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicy) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_pod_security_policy_spec_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb similarity index 72% rename from kubernetes/spec/models/v1beta1_pod_security_policy_spec_spec.rb rename to kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb index 482171d9..89e83690 100644 --- a/kubernetes/spec/models/v1beta1_pod_security_policy_spec_spec.rb +++ b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1PodSecurityPolicySpec +# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicySpec # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1PodSecurityPolicySpec' do +describe 'PolicyV1beta1PodSecurityPolicySpec' do before do # run before each test - @instance = Kubernetes::V1beta1PodSecurityPolicySpec.new + @instance = Kubernetes::PolicyV1beta1PodSecurityPolicySpec.new end after do # run after each test end - describe 'test an instance of V1beta1PodSecurityPolicySpec' do - it 'should create an instance of V1beta1PodSecurityPolicySpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodSecurityPolicySpec) + describe 'test an instance of PolicyV1beta1PodSecurityPolicySpec' do + it 'should create an instance of PolicyV1beta1PodSecurityPolicySpec' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicySpec) end end describe 'test attribute "allow_privilege_escalation"' do @@ -44,12 +44,30 @@ end end + describe 'test attribute "allowed_flex_volumes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "allowed_host_paths"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "allowed_proc_mount_types"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "allowed_unsafe_sysctls"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "default_add_capabilities"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -62,6 +80,12 @@ end end + describe 'test attribute "forbidden_sysctls"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "fs_group"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -110,6 +134,12 @@ end end + describe 'test attribute "run_as_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "run_as_user"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb new file mode 100644 index 00000000..fed10e4f --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1RunAsGroupStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1RunAsGroupStrategyOptions' do + it 'should create an instance of PolicyV1beta1RunAsGroupStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions) + end + end + describe 'test attribute "ranges"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_run_as_user_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb similarity index 65% rename from kubernetes/spec/models/v1beta1_run_as_user_strategy_options_spec.rb rename to kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb index 28f15c33..ea04d4d4 100644 --- a/kubernetes/spec/models/v1beta1_run_as_user_strategy_options_spec.rb +++ b/kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1RunAsUserStrategyOptions +# Unit tests for Kubernetes::PolicyV1beta1RunAsUserStrategyOptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1RunAsUserStrategyOptions' do +describe 'PolicyV1beta1RunAsUserStrategyOptions' do before do # run before each test - @instance = Kubernetes::V1beta1RunAsUserStrategyOptions.new + @instance = Kubernetes::PolicyV1beta1RunAsUserStrategyOptions.new end after do # run after each test end - describe 'test an instance of V1beta1RunAsUserStrategyOptions' do - it 'should create an instance of V1beta1RunAsUserStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RunAsUserStrategyOptions) + describe 'test an instance of PolicyV1beta1RunAsUserStrategyOptions' do + it 'should create an instance of PolicyV1beta1RunAsUserStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1RunAsUserStrategyOptions) end end describe 'test attribute "ranges"' do diff --git a/kubernetes/spec/models/v1beta1_se_linux_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb similarity index 66% rename from kubernetes/spec/models/v1beta1_se_linux_strategy_options_spec.rb rename to kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb index b1c1dbe8..d5bff13e 100644 --- a/kubernetes/spec/models/v1beta1_se_linux_strategy_options_spec.rb +++ b/kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1SELinuxStrategyOptions +# Unit tests for Kubernetes::PolicyV1beta1SELinuxStrategyOptions # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1SELinuxStrategyOptions' do +describe 'PolicyV1beta1SELinuxStrategyOptions' do before do # run before each test - @instance = Kubernetes::V1beta1SELinuxStrategyOptions.new + @instance = Kubernetes::PolicyV1beta1SELinuxStrategyOptions.new end after do # run after each test end - describe 'test an instance of V1beta1SELinuxStrategyOptions' do - it 'should create an instance of V1beta1SELinuxStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SELinuxStrategyOptions) + describe 'test an instance of PolicyV1beta1SELinuxStrategyOptions' do + it 'should create an instance of PolicyV1beta1SELinuxStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1SELinuxStrategyOptions) end end describe 'test attribute "rule"' do diff --git a/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb new file mode 100644 index 00000000..7d369195 --- /dev/null +++ b/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'PolicyV1beta1SupplementalGroupsStrategyOptions' do + before do + # run before each test + @instance = Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions.new + end + + after do + # run after each test + end + + describe 'test an instance of PolicyV1beta1SupplementalGroupsStrategyOptions' do + it 'should create an instance of PolicyV1beta1SupplementalGroupsStrategyOptions' do + expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions) + end + end + describe 'test attribute "ranges"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/runtime_raw_extension_spec.rb b/kubernetes/spec/models/runtime_raw_extension_spec.rb index 65a81936..7dbe67e4 100644 --- a/kubernetes/spec/models/runtime_raw_extension_spec.rb +++ b/kubernetes/spec/models/runtime_raw_extension_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_affinity_spec.rb b/kubernetes/spec/models/v1_affinity_spec.rb index e51e3f79..f8e3e124 100644 --- a/kubernetes/spec/models/v1_affinity_spec.rb +++ b/kubernetes/spec/models/v1_affinity_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_allowed_host_path_spec.rb b/kubernetes/spec/models/v1_aggregation_rule_spec.rb similarity index 61% rename from kubernetes/spec/models/v1beta1_allowed_host_path_spec.rb rename to kubernetes/spec/models/v1_aggregation_rule_spec.rb index a435eaba..23c43e81 100644 --- a/kubernetes/spec/models/v1beta1_allowed_host_path_spec.rb +++ b/kubernetes/spec/models/v1_aggregation_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,25 +14,25 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1AllowedHostPath +# Unit tests for Kubernetes::V1AggregationRule # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1AllowedHostPath' do +describe 'V1AggregationRule' do before do # run before each test - @instance = Kubernetes::V1beta1AllowedHostPath.new + @instance = Kubernetes::V1AggregationRule.new end after do # run after each test end - describe 'test an instance of V1beta1AllowedHostPath' do - it 'should create an instance of V1beta1AllowedHostPath' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1AllowedHostPath) + describe 'test an instance of V1AggregationRule' do + it 'should create an instance of V1AggregationRule' do + expect(@instance).to be_instance_of(Kubernetes::V1AggregationRule) end end - describe 'test attribute "path_prefix"' do + describe 'test attribute "cluster_role_selectors"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_api_group_list_spec.rb b/kubernetes/spec/models/v1_api_group_list_spec.rb index de733fec..ff0fe05e 100644 --- a/kubernetes/spec/models/v1_api_group_list_spec.rb +++ b/kubernetes/spec/models/v1_api_group_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_api_group_spec.rb b/kubernetes/spec/models/v1_api_group_spec.rb index 60c7bbbf..bc3de41c 100644 --- a/kubernetes/spec/models/v1_api_group_spec.rb +++ b/kubernetes/spec/models/v1_api_group_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_api_resource_list_spec.rb b/kubernetes/spec/models/v1_api_resource_list_spec.rb index 85b2296b..e840c3ce 100644 --- a/kubernetes/spec/models/v1_api_resource_list_spec.rb +++ b/kubernetes/spec/models/v1_api_resource_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_api_resource_spec.rb b/kubernetes/spec/models/v1_api_resource_spec.rb index 55e1dce8..dfcb2f2e 100644 --- a/kubernetes/spec/models/v1_api_resource_spec.rb +++ b/kubernetes/spec/models/v1_api_resource_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_api_service_condition_spec.rb b/kubernetes/spec/models/v1_api_service_condition_spec.rb new file mode 100644 index 00000000..f0a73bcb --- /dev/null +++ b/kubernetes/spec/models/v1_api_service_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1APIServiceCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1APIServiceCondition' do + before do + # run before each test + @instance = Kubernetes::V1APIServiceCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1APIServiceCondition' do + it 'should create an instance of V1APIServiceCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1APIServiceCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_api_service_list_spec.rb b/kubernetes/spec/models/v1_api_service_list_spec.rb new file mode 100644 index 00000000..6e0126a9 --- /dev/null +++ b/kubernetes/spec/models/v1_api_service_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1APIServiceList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1APIServiceList' do + before do + # run before each test + @instance = Kubernetes::V1APIServiceList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1APIServiceList' do + it 'should create an instance of V1APIServiceList' do + expect(@instance).to be_instance_of(Kubernetes::V1APIServiceList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_api_service_spec.rb b/kubernetes/spec/models/v1_api_service_spec.rb new file mode 100644 index 00000000..fd5dc50c --- /dev/null +++ b/kubernetes/spec/models/v1_api_service_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1APIService +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1APIService' do + before do + # run before each test + @instance = Kubernetes::V1APIService.new + end + + after do + # run after each test + end + + describe 'test an instance of V1APIService' do + it 'should create an instance of V1APIService' do + expect(@instance).to be_instance_of(Kubernetes::V1APIService) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_api_service_spec_spec.rb b/kubernetes/spec/models/v1_api_service_spec_spec.rb new file mode 100644 index 00000000..f842d43e --- /dev/null +++ b/kubernetes/spec/models/v1_api_service_spec_spec.rb @@ -0,0 +1,78 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1APIServiceSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1APIServiceSpec' do + before do + # run before each test + @instance = Kubernetes::V1APIServiceSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1APIServiceSpec' do + it 'should create an instance of V1APIServiceSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1APIServiceSpec) + end + end + describe 'test attribute "ca_bundle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "group_priority_minimum"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "insecure_skip_tls_verify"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "service"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "version_priority"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_api_service_status_spec.rb b/kubernetes/spec/models/v1_api_service_status_spec.rb new file mode 100644 index 00000000..fb7ed1dd --- /dev/null +++ b/kubernetes/spec/models/v1_api_service_status_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1APIServiceStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1APIServiceStatus' do + before do + # run before each test + @instance = Kubernetes::V1APIServiceStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1APIServiceStatus' do + it 'should create an instance of V1APIServiceStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1APIServiceStatus) + end + end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_api_versions_spec.rb b/kubernetes/spec/models/v1_api_versions_spec.rb index c6b1635d..824bb017 100644 --- a/kubernetes/spec/models/v1_api_versions_spec.rb +++ b/kubernetes/spec/models/v1_api_versions_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_attached_volume_spec.rb b/kubernetes/spec/models/v1_attached_volume_spec.rb index 8ff4b681..80cf593f 100644 --- a/kubernetes/spec/models/v1_attached_volume_spec.rb +++ b/kubernetes/spec/models/v1_attached_volume_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb b/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb index fa08e7b1..f40fe13d 100644 --- a/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb index 0cd8ac8d..550fda18 100644 --- a/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb index 898e534d..62faba01 100644 --- a/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb index 93642670..dc0522b5 100644 --- a/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_binding_spec.rb b/kubernetes/spec/models/v1_binding_spec.rb index 1a501237..c5a2ebba 100644 --- a/kubernetes/spec/models/v1_binding_spec.rb +++ b/kubernetes/spec/models/v1_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_capabilities_spec.rb b/kubernetes/spec/models/v1_capabilities_spec.rb index 4276a060..a66ac1e7 100644 --- a/kubernetes/spec/models/v1_capabilities_spec.rb +++ b/kubernetes/spec/models/v1_capabilities_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb index b043bb50..5ae8b7a4 100644 --- a/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb b/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb index d3d6d30f..54cffc52 100644 --- a/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb new file mode 100644 index 00000000..9d8deaf6 --- /dev/null +++ b/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1CinderPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1CinderPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1CinderPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1CinderPersistentVolumeSource' do + it 'should create an instance of V1CinderPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1CinderPersistentVolumeSource) + end + end + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volume_id"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_cinder_volume_source_spec.rb b/kubernetes/spec/models/v1_cinder_volume_source_spec.rb index 2da0d33b..216de276 100644 --- a/kubernetes/spec/models/v1_cinder_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_cinder_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -44,6 +44,12 @@ end end + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "volume_id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_client_ip_config_spec.rb b/kubernetes/spec/models/v1_client_ip_config_spec.rb index 7e78212b..6014921f 100644 --- a/kubernetes/spec/models/v1_client_ip_config_spec.rb +++ b/kubernetes/spec/models/v1_client_ip_config_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb index edcf9112..6256de00 100644 --- a/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1_cluster_role_binding_spec.rb index 4f1315e2..94c8e4f3 100644 --- a/kubernetes/spec/models/v1_cluster_role_binding_spec.rb +++ b/kubernetes/spec/models/v1_cluster_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1_cluster_role_list_spec.rb index 9a64f1e7..e491e9ad 100644 --- a/kubernetes/spec/models/v1_cluster_role_list_spec.rb +++ b/kubernetes/spec/models/v1_cluster_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_cluster_role_spec.rb b/kubernetes/spec/models/v1_cluster_role_spec.rb index 5d71ab2a..a68421f5 100644 --- a/kubernetes/spec/models/v1_cluster_role_spec.rb +++ b/kubernetes/spec/models/v1_cluster_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1ClusterRole) end end + describe 'test attribute "aggregation_rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_component_condition_spec.rb b/kubernetes/spec/models/v1_component_condition_spec.rb index c260b73d..de5b2a68 100644 --- a/kubernetes/spec/models/v1_component_condition_spec.rb +++ b/kubernetes/spec/models/v1_component_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_component_status_list_spec.rb b/kubernetes/spec/models/v1_component_status_list_spec.rb index 34a398d7..9a3e0d0d 100644 --- a/kubernetes/spec/models/v1_component_status_list_spec.rb +++ b/kubernetes/spec/models/v1_component_status_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_component_status_spec.rb b/kubernetes/spec/models/v1_component_status_spec.rb index c4a315fe..fee128b3 100644 --- a/kubernetes/spec/models/v1_component_status_spec.rb +++ b/kubernetes/spec/models/v1_component_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_config_map_env_source_spec.rb b/kubernetes/spec/models/v1_config_map_env_source_spec.rb index 539528dc..937c8a90 100644 --- a/kubernetes/spec/models/v1_config_map_env_source_spec.rb +++ b/kubernetes/spec/models/v1_config_map_env_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_config_map_key_selector_spec.rb b/kubernetes/spec/models/v1_config_map_key_selector_spec.rb index 71b5cbbe..c14638a8 100644 --- a/kubernetes/spec/models/v1_config_map_key_selector_spec.rb +++ b/kubernetes/spec/models/v1_config_map_key_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_config_map_list_spec.rb b/kubernetes/spec/models/v1_config_map_list_spec.rb index 299b0221..1606c9ac 100644 --- a/kubernetes/spec/models/v1_config_map_list_spec.rb +++ b/kubernetes/spec/models/v1_config_map_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb b/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb new file mode 100644 index 00000000..b9690bd0 --- /dev/null +++ b/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ConfigMapNodeConfigSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ConfigMapNodeConfigSource' do + before do + # run before each test + @instance = Kubernetes::V1ConfigMapNodeConfigSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ConfigMapNodeConfigSource' do + it 'should create an instance of V1ConfigMapNodeConfigSource' do + expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapNodeConfigSource) + end + end + describe 'test attribute "kubelet_config_key"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "resource_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "uid"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_config_map_projection_spec.rb b/kubernetes/spec/models/v1_config_map_projection_spec.rb index 914d2c75..644887db 100644 --- a/kubernetes/spec/models/v1_config_map_projection_spec.rb +++ b/kubernetes/spec/models/v1_config_map_projection_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_config_map_spec.rb b/kubernetes/spec/models/v1_config_map_spec.rb index c3ccf80b..02eb9aa7 100644 --- a/kubernetes/spec/models/v1_config_map_spec.rb +++ b/kubernetes/spec/models/v1_config_map_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "binary_data"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "data"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_config_map_volume_source_spec.rb b/kubernetes/spec/models/v1_config_map_volume_source_spec.rb index beb46a3c..4a76151f 100644 --- a/kubernetes/spec/models/v1_config_map_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_config_map_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_image_spec.rb b/kubernetes/spec/models/v1_container_image_spec.rb index eb6b27b5..16389634 100644 --- a/kubernetes/spec/models/v1_container_image_spec.rb +++ b/kubernetes/spec/models/v1_container_image_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_port_spec.rb b/kubernetes/spec/models/v1_container_port_spec.rb index 64776382..67b47aee 100644 --- a/kubernetes/spec/models/v1_container_port_spec.rb +++ b/kubernetes/spec/models/v1_container_port_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_spec.rb b/kubernetes/spec/models/v1_container_spec.rb index 602f2141..f074a884 100644 --- a/kubernetes/spec/models/v1_container_spec.rb +++ b/kubernetes/spec/models/v1_container_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -140,6 +140,12 @@ end end + describe 'test attribute "volume_devices"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "volume_mounts"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_container_state_running_spec.rb b/kubernetes/spec/models/v1_container_state_running_spec.rb index edc70796..7cc16080 100644 --- a/kubernetes/spec/models/v1_container_state_running_spec.rb +++ b/kubernetes/spec/models/v1_container_state_running_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_state_spec.rb b/kubernetes/spec/models/v1_container_state_spec.rb index 6800b625..58993d4d 100644 --- a/kubernetes/spec/models/v1_container_state_spec.rb +++ b/kubernetes/spec/models/v1_container_state_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_state_terminated_spec.rb b/kubernetes/spec/models/v1_container_state_terminated_spec.rb index 09c815f8..4e715a3c 100644 --- a/kubernetes/spec/models/v1_container_state_terminated_spec.rb +++ b/kubernetes/spec/models/v1_container_state_terminated_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_state_waiting_spec.rb b/kubernetes/spec/models/v1_container_state_waiting_spec.rb index 9925ab55..cea38cd1 100644 --- a/kubernetes/spec/models/v1_container_state_waiting_spec.rb +++ b/kubernetes/spec/models/v1_container_state_waiting_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_container_status_spec.rb b/kubernetes/spec/models/v1_container_status_spec.rb index 47aa605d..75c591aa 100644 --- a/kubernetes/spec/models/v1_container_status_spec.rb +++ b/kubernetes/spec/models/v1_container_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_controller_revision_list_spec.rb b/kubernetes/spec/models/v1_controller_revision_list_spec.rb new file mode 100644 index 00000000..21432c47 --- /dev/null +++ b/kubernetes/spec/models/v1_controller_revision_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ControllerRevisionList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ControllerRevisionList' do + before do + # run before each test + @instance = Kubernetes::V1ControllerRevisionList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ControllerRevisionList' do + it 'should create an instance of V1ControllerRevisionList' do + expect(@instance).to be_instance_of(Kubernetes::V1ControllerRevisionList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_controller_revision_spec.rb b/kubernetes/spec/models/v1_controller_revision_spec.rb new file mode 100644 index 00000000..be0221cb --- /dev/null +++ b/kubernetes/spec/models/v1_controller_revision_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ControllerRevision +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ControllerRevision' do + before do + # run before each test + @instance = Kubernetes::V1ControllerRevision.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ControllerRevision' do + it 'should create an instance of V1ControllerRevision' do + expect(@instance).to be_instance_of(Kubernetes::V1ControllerRevision) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "data"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "revision"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb index 6cf54137..c7caed69 100644 --- a/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb +++ b/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb new file mode 100644 index 00000000..2ec4da0c --- /dev/null +++ b/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb @@ -0,0 +1,84 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1CSIPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1CSIPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1CSIPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1CSIPersistentVolumeSource' do + it 'should create an instance of V1CSIPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1CSIPersistentVolumeSource) + end + end + describe 'test attribute "controller_publish_secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "driver"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "node_publish_secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "node_stage_secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volume_attributes"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volume_handle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_endpoint_spec.rb b/kubernetes/spec/models/v1_daemon_endpoint_spec.rb index 29fb92d8..32b44b8e 100644 --- a/kubernetes/spec/models/v1_daemon_endpoint_spec.rb +++ b/kubernetes/spec/models/v1_daemon_endpoint_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1_daemon_set_condition_spec.rb new file mode 100644 index 00000000..744c1340 --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSetCondition' do + it 'should create an instance of V1DaemonSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_set_list_spec.rb b/kubernetes/spec/models/v1_daemon_set_list_spec.rb new file mode 100644 index 00000000..b598d57b --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSetList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSetList' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSetList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSetList' do + it 'should create an instance of V1DaemonSetList' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_set_spec.rb b/kubernetes/spec/models/v1_daemon_set_spec.rb new file mode 100644 index 00000000..05da4e63 --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSet +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSet' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSet.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSet' do + it 'should create an instance of V1DaemonSet' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSet) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1_daemon_set_spec_spec.rb new file mode 100644 index 00000000..2965cbdb --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_spec_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSetSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSetSpec' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSetSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSetSpec' do + it 'should create an instance of V1DaemonSetSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetSpec) + end + end + describe 'test attribute "min_ready_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "revision_history_limit"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "template"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "update_strategy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_set_status_spec.rb b/kubernetes/spec/models/v1_daemon_set_status_spec.rb new file mode 100644 index 00000000..6e263796 --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_status_spec.rb @@ -0,0 +1,96 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSetStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSetStatus' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSetStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSetStatus' do + it 'should create an instance of V1DaemonSetStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetStatus) + end + end + describe 'test attribute "collision_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_number_scheduled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "desired_number_scheduled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "number_available"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "number_misscheduled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "number_ready"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "number_unavailable"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "observed_generation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "updated_number_scheduled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb new file mode 100644 index 00000000..a5faecf1 --- /dev/null +++ b/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DaemonSetUpdateStrategy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DaemonSetUpdateStrategy' do + before do + # run before each test + @instance = Kubernetes::V1DaemonSetUpdateStrategy.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DaemonSetUpdateStrategy' do + it 'should create an instance of V1DaemonSetUpdateStrategy' do + expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetUpdateStrategy) + end + end + describe 'test attribute "rolling_update"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_delete_options_spec.rb b/kubernetes/spec/models/v1_delete_options_spec.rb index 381d4ea5..8a9ad2e5 100644 --- a/kubernetes/spec/models/v1_delete_options_spec.rb +++ b/kubernetes/spec/models/v1_delete_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "dry_run"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "grace_period_seconds"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_deployment_condition_spec.rb b/kubernetes/spec/models/v1_deployment_condition_spec.rb new file mode 100644 index 00000000..3f7db857 --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_condition_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DeploymentCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DeploymentCondition' do + before do + # run before each test + @instance = Kubernetes::V1DeploymentCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DeploymentCondition' do + it 'should create an instance of V1DeploymentCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1DeploymentCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "last_update_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_deployment_list_spec.rb b/kubernetes/spec/models/v1_deployment_list_spec.rb new file mode 100644 index 00000000..ac5dcda3 --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DeploymentList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DeploymentList' do + before do + # run before each test + @instance = Kubernetes::V1DeploymentList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DeploymentList' do + it 'should create an instance of V1DeploymentList' do + expect(@instance).to be_instance_of(Kubernetes::V1DeploymentList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_deployment_spec.rb b/kubernetes/spec/models/v1_deployment_spec.rb new file mode 100644 index 00000000..597fae72 --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1Deployment +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1Deployment' do + before do + # run before each test + @instance = Kubernetes::V1Deployment.new + end + + after do + # run after each test + end + + describe 'test an instance of V1Deployment' do + it 'should create an instance of V1Deployment' do + expect(@instance).to be_instance_of(Kubernetes::V1Deployment) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_deployment_spec_spec.rb b/kubernetes/spec/models/v1_deployment_spec_spec.rb new file mode 100644 index 00000000..43feb665 --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_spec_spec.rb @@ -0,0 +1,84 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DeploymentSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DeploymentSpec' do + before do + # run before each test + @instance = Kubernetes::V1DeploymentSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DeploymentSpec' do + it 'should create an instance of V1DeploymentSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1DeploymentSpec) + end + end + describe 'test attribute "min_ready_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "paused"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "progress_deadline_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "revision_history_limit"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "strategy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "template"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_deployment_status_spec.rb b/kubernetes/spec/models/v1_deployment_status_spec.rb new file mode 100644 index 00000000..2c6af508 --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_status_spec.rb @@ -0,0 +1,84 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DeploymentStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DeploymentStatus' do + before do + # run before each test + @instance = Kubernetes::V1DeploymentStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DeploymentStatus' do + it 'should create an instance of V1DeploymentStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1DeploymentStatus) + end + end + describe 'test attribute "available_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "collision_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "observed_generation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "ready_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "unavailable_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "updated_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_deployment_strategy_spec.rb b/kubernetes/spec/models/v1_deployment_strategy_spec.rb new file mode 100644 index 00000000..1f0b2dca --- /dev/null +++ b/kubernetes/spec/models/v1_deployment_strategy_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1DeploymentStrategy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1DeploymentStrategy' do + before do + # run before each test + @instance = Kubernetes::V1DeploymentStrategy.new + end + + after do + # run after each test + end + + describe 'test an instance of V1DeploymentStrategy' do + it 'should create an instance of V1DeploymentStrategy' do + expect(@instance).to be_instance_of(Kubernetes::V1DeploymentStrategy) + end + end + describe 'test attribute "rolling_update"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_downward_api_projection_spec.rb b/kubernetes/spec/models/v1_downward_api_projection_spec.rb index 3d7f41db..5dae95f2 100644 --- a/kubernetes/spec/models/v1_downward_api_projection_spec.rb +++ b/kubernetes/spec/models/v1_downward_api_projection_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb b/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb index c340e3c8..07c17c96 100644 --- a/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb +++ b/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb b/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb index dea27b15..4ba9c746 100644 --- a/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb b/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb index d5e62a63..6b8cd170 100644 --- a/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_endpoint_address_spec.rb b/kubernetes/spec/models/v1_endpoint_address_spec.rb index 0ea473cd..50b7b017 100644 --- a/kubernetes/spec/models/v1_endpoint_address_spec.rb +++ b/kubernetes/spec/models/v1_endpoint_address_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_endpoint_port_spec.rb b/kubernetes/spec/models/v1_endpoint_port_spec.rb index 669cc16e..26f8d080 100644 --- a/kubernetes/spec/models/v1_endpoint_port_spec.rb +++ b/kubernetes/spec/models/v1_endpoint_port_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_endpoint_subset_spec.rb b/kubernetes/spec/models/v1_endpoint_subset_spec.rb index bd6f5b7b..b81dd8b9 100644 --- a/kubernetes/spec/models/v1_endpoint_subset_spec.rb +++ b/kubernetes/spec/models/v1_endpoint_subset_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_endpoints_list_spec.rb b/kubernetes/spec/models/v1_endpoints_list_spec.rb index 03724404..b48c0a92 100644 --- a/kubernetes/spec/models/v1_endpoints_list_spec.rb +++ b/kubernetes/spec/models/v1_endpoints_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_endpoints_spec.rb b/kubernetes/spec/models/v1_endpoints_spec.rb index 876f7fa8..44ae7367 100644 --- a/kubernetes/spec/models/v1_endpoints_spec.rb +++ b/kubernetes/spec/models/v1_endpoints_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_env_from_source_spec.rb b/kubernetes/spec/models/v1_env_from_source_spec.rb index 51f95bfd..6a5f218a 100644 --- a/kubernetes/spec/models/v1_env_from_source_spec.rb +++ b/kubernetes/spec/models/v1_env_from_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_env_var_source_spec.rb b/kubernetes/spec/models/v1_env_var_source_spec.rb index 04f7c258..33a1de01 100644 --- a/kubernetes/spec/models/v1_env_var_source_spec.rb +++ b/kubernetes/spec/models/v1_env_var_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_env_var_spec.rb b/kubernetes/spec/models/v1_env_var_spec.rb index c30ec351..7f6ca56c 100644 --- a/kubernetes/spec/models/v1_env_var_spec.rb +++ b/kubernetes/spec/models/v1_env_var_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_event_list_spec.rb b/kubernetes/spec/models/v1_event_list_spec.rb index 813a4cfb..ed213ee0 100644 --- a/kubernetes/spec/models/v1_event_list_spec.rb +++ b/kubernetes/spec/models/v1_event_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_json_schema_props_or_string_array_spec.rb b/kubernetes/spec/models/v1_event_series_spec.rb similarity index 57% rename from kubernetes/spec/models/v1beta1_json_schema_props_or_string_array_spec.rb rename to kubernetes/spec/models/v1_event_series_spec.rb index 76268808..b45c5be2 100644 --- a/kubernetes/spec/models/v1beta1_json_schema_props_or_string_array_spec.rb +++ b/kubernetes/spec/models/v1_event_series_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,31 +14,37 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1JSONSchemaPropsOrStringArray +# Unit tests for Kubernetes::V1EventSeries # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1JSONSchemaPropsOrStringArray' do +describe 'V1EventSeries' do before do # run before each test - @instance = Kubernetes::V1beta1JSONSchemaPropsOrStringArray.new + @instance = Kubernetes::V1EventSeries.new end after do # run after each test end - describe 'test an instance of V1beta1JSONSchemaPropsOrStringArray' do - it 'should create an instance of V1beta1JSONSchemaPropsOrStringArray' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JSONSchemaPropsOrStringArray) + describe 'test an instance of V1EventSeries' do + it 'should create an instance of V1EventSeries' do + expect(@instance).to be_instance_of(Kubernetes::V1EventSeries) end end - describe 'test attribute "property"' do + describe 'test attribute "count"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "schema"' do + describe 'test attribute "last_observed_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "state"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_event_source_spec.rb b/kubernetes/spec/models/v1_event_source_spec.rb index 5b7f4ae7..629bef9b 100644 --- a/kubernetes/spec/models/v1_event_source_spec.rb +++ b/kubernetes/spec/models/v1_event_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_event_spec.rb b/kubernetes/spec/models/v1_event_spec.rb index aac23510..0e8cfa51 100644 --- a/kubernetes/spec/models/v1_event_spec.rb +++ b/kubernetes/spec/models/v1_event_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1Event) end end + describe 'test attribute "action"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -44,6 +50,12 @@ end end + describe 'test attribute "event_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "first_timestamp"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -86,6 +98,30 @@ end end + describe 'test attribute "related"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reporting_component"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reporting_instance"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "series"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "source"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_exec_action_spec.rb b/kubernetes/spec/models/v1_exec_action_spec.rb index 04dd8287..8f8d3c7e 100644 --- a/kubernetes/spec/models/v1_exec_action_spec.rb +++ b/kubernetes/spec/models/v1_exec_action_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_fc_volume_source_spec.rb b/kubernetes/spec/models/v1_fc_volume_source_spec.rb index 150dfb1f..173847ab 100644 --- a/kubernetes/spec/models/v1_fc_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_fc_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb new file mode 100644 index 00000000..f4fe76d9 --- /dev/null +++ b/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1FlexPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1FlexPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1FlexPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1FlexPersistentVolumeSource' do + it 'should create an instance of V1FlexPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1FlexPersistentVolumeSource) + end + end + describe 'test attribute "driver"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "options"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_flex_volume_source_spec.rb b/kubernetes/spec/models/v1_flex_volume_source_spec.rb index 89c414d0..3e2f9bee 100644 --- a/kubernetes/spec/models/v1_flex_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_flex_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_flocker_volume_source_spec.rb b/kubernetes/spec/models/v1_flocker_volume_source_spec.rb index d422b9fc..46b8208a 100644 --- a/kubernetes/spec/models/v1_flocker_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_flocker_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb index abd5512f..e86aef60 100644 --- a/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb b/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb index 20a2b5d3..b62eedc5 100644 --- a/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb new file mode 100644 index 00000000..122f2f3a --- /dev/null +++ b/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1GlusterfsPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1GlusterfsPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1GlusterfsPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1GlusterfsPersistentVolumeSource' do + it 'should create an instance of V1GlusterfsPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1GlusterfsPersistentVolumeSource) + end + end + describe 'test attribute "endpoints"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "endpoints_namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb b/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb index 6d69f09e..46f72bb1 100644 --- a/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb b/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb index 8136569f..7b9cb586 100644 --- a/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb +++ b/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_handler_spec.rb b/kubernetes/spec/models/v1_handler_spec.rb index 26ae73bb..3deede95 100644 --- a/kubernetes/spec/models/v1_handler_spec.rb +++ b/kubernetes/spec/models/v1_handler_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb index d6cae6a0..87c6f673 100644 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb +++ b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb index c9cdf744..186e2ae1 100644 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb +++ b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb index 80469b84..45e33c75 100644 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb +++ b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb index d5c0a42b..0b5f4267 100644 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb +++ b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_host_alias_spec.rb b/kubernetes/spec/models/v1_host_alias_spec.rb index 93ee5e28..0a410986 100644 --- a/kubernetes/spec/models/v1_host_alias_spec.rb +++ b/kubernetes/spec/models/v1_host_alias_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_host_path_volume_source_spec.rb b/kubernetes/spec/models/v1_host_path_volume_source_spec.rb index e1f78f4d..111c4d2f 100644 --- a/kubernetes/spec/models/v1_host_path_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_host_path_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_http_get_action_spec.rb b/kubernetes/spec/models/v1_http_get_action_spec.rb index 36d4dac4..9b84fdce 100644 --- a/kubernetes/spec/models/v1_http_get_action_spec.rb +++ b/kubernetes/spec/models/v1_http_get_action_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_http_header_spec.rb b/kubernetes/spec/models/v1_http_header_spec.rb index e1651280..50d50d36 100644 --- a/kubernetes/spec/models/v1_http_header_spec.rb +++ b/kubernetes/spec/models/v1_http_header_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_initializer_spec.rb b/kubernetes/spec/models/v1_initializer_spec.rb index 1af60520..d909a0e6 100644 --- a/kubernetes/spec/models/v1_initializer_spec.rb +++ b/kubernetes/spec/models/v1_initializer_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_initializers_spec.rb b/kubernetes/spec/models/v1_initializers_spec.rb index 9a0fd3b9..0287c972 100644 --- a/kubernetes/spec/models/v1_initializers_spec.rb +++ b/kubernetes/spec/models/v1_initializers_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_ip_block_spec.rb b/kubernetes/spec/models/v1_ip_block_spec.rb index 4e6fd8ff..2eead15c 100644 --- a/kubernetes/spec/models/v1_ip_block_spec.rb +++ b/kubernetes/spec/models/v1_ip_block_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb new file mode 100644 index 00000000..619a11ca --- /dev/null +++ b/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb @@ -0,0 +1,102 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ISCSIPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ISCSIPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1ISCSIPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ISCSIPersistentVolumeSource' do + it 'should create an instance of V1ISCSIPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1ISCSIPersistentVolumeSource) + end + end + describe 'test attribute "chap_auth_discovery"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "chap_auth_session"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "initiator_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "iqn"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "iscsi_interface"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "lun"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "portals"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target_portal"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb b/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb index 56f9145b..763ac0de 100644 --- a/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_job_condition_spec.rb b/kubernetes/spec/models/v1_job_condition_spec.rb index 99ce665c..4caa4ec9 100644 --- a/kubernetes/spec/models/v1_job_condition_spec.rb +++ b/kubernetes/spec/models/v1_job_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_job_list_spec.rb b/kubernetes/spec/models/v1_job_list_spec.rb index 21877ed5..7232b9e9 100644 --- a/kubernetes/spec/models/v1_job_list_spec.rb +++ b/kubernetes/spec/models/v1_job_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_job_spec.rb b/kubernetes/spec/models/v1_job_spec.rb index 3e875d49..4d7d06fd 100644 --- a/kubernetes/spec/models/v1_job_spec.rb +++ b/kubernetes/spec/models/v1_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_job_spec_spec.rb b/kubernetes/spec/models/v1_job_spec_spec.rb index 6095f7b7..540fc615 100644 --- a/kubernetes/spec/models/v1_job_spec_spec.rb +++ b/kubernetes/spec/models/v1_job_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -74,5 +74,11 @@ end end + describe 'test attribute "ttl_seconds_after_finished"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1_job_status_spec.rb b/kubernetes/spec/models/v1_job_status_spec.rb index 26b9defc..b7b16562 100644 --- a/kubernetes/spec/models/v1_job_status_spec.rb +++ b/kubernetes/spec/models/v1_job_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_key_to_path_spec.rb b/kubernetes/spec/models/v1_key_to_path_spec.rb index f5968435..faaa69b1 100644 --- a/kubernetes/spec/models/v1_key_to_path_spec.rb +++ b/kubernetes/spec/models/v1_key_to_path_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_label_selector_requirement_spec.rb b/kubernetes/spec/models/v1_label_selector_requirement_spec.rb index 5a8ee153..d6a26557 100644 --- a/kubernetes/spec/models/v1_label_selector_requirement_spec.rb +++ b/kubernetes/spec/models/v1_label_selector_requirement_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_label_selector_spec.rb b/kubernetes/spec/models/v1_label_selector_spec.rb index 393d8531..81801b7a 100644 --- a/kubernetes/spec/models/v1_label_selector_spec.rb +++ b/kubernetes/spec/models/v1_label_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_lifecycle_spec.rb b/kubernetes/spec/models/v1_lifecycle_spec.rb index 814eb728..1324b1fa 100644 --- a/kubernetes/spec/models/v1_lifecycle_spec.rb +++ b/kubernetes/spec/models/v1_lifecycle_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_limit_range_item_spec.rb b/kubernetes/spec/models/v1_limit_range_item_spec.rb index fe078847..0435cc46 100644 --- a/kubernetes/spec/models/v1_limit_range_item_spec.rb +++ b/kubernetes/spec/models/v1_limit_range_item_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_limit_range_list_spec.rb b/kubernetes/spec/models/v1_limit_range_list_spec.rb index 7dc1a8e5..3aa242db 100644 --- a/kubernetes/spec/models/v1_limit_range_list_spec.rb +++ b/kubernetes/spec/models/v1_limit_range_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_limit_range_spec.rb b/kubernetes/spec/models/v1_limit_range_spec.rb index 3b1f0cf9..4f69729c 100644 --- a/kubernetes/spec/models/v1_limit_range_spec.rb +++ b/kubernetes/spec/models/v1_limit_range_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_limit_range_spec_spec.rb b/kubernetes/spec/models/v1_limit_range_spec_spec.rb index 0568ce54..8a906532 100644 --- a/kubernetes/spec/models/v1_limit_range_spec_spec.rb +++ b/kubernetes/spec/models/v1_limit_range_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_list_meta_spec.rb b/kubernetes/spec/models/v1_list_meta_spec.rb index ab663220..65860b11 100644 --- a/kubernetes/spec/models/v1_list_meta_spec.rb +++ b/kubernetes/spec/models/v1_list_meta_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb b/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb index 07bdff37..f4b8268c 100644 --- a/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb +++ b/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_load_balancer_status_spec.rb b/kubernetes/spec/models/v1_load_balancer_status_spec.rb index d03287be..e8a8c4b9 100644 --- a/kubernetes/spec/models/v1_load_balancer_status_spec.rb +++ b/kubernetes/spec/models/v1_load_balancer_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_local_object_reference_spec.rb b/kubernetes/spec/models/v1_local_object_reference_spec.rb index 236c0be3..02e1d50a 100644 --- a/kubernetes/spec/models/v1_local_object_reference_spec.rb +++ b/kubernetes/spec/models/v1_local_object_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_local_subject_access_review_spec.rb b/kubernetes/spec/models/v1_local_subject_access_review_spec.rb index 566014ea..a3b69c99 100644 --- a/kubernetes/spec/models/v1_local_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1_local_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_local_volume_source_spec.rb b/kubernetes/spec/models/v1_local_volume_source_spec.rb index f0b5121e..19ab0ea4 100644 --- a/kubernetes/spec/models/v1_local_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_local_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1LocalVolumeSource) end end + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "path"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_namespace_list_spec.rb b/kubernetes/spec/models/v1_namespace_list_spec.rb index befd06ff..bd870b14 100644 --- a/kubernetes/spec/models/v1_namespace_list_spec.rb +++ b/kubernetes/spec/models/v1_namespace_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_namespace_spec.rb b/kubernetes/spec/models/v1_namespace_spec.rb index d3fd0e1a..273fb61f 100644 --- a/kubernetes/spec/models/v1_namespace_spec.rb +++ b/kubernetes/spec/models/v1_namespace_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_namespace_spec_spec.rb b/kubernetes/spec/models/v1_namespace_spec_spec.rb index 0530eb6d..5709d1f3 100644 --- a/kubernetes/spec/models/v1_namespace_spec_spec.rb +++ b/kubernetes/spec/models/v1_namespace_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_namespace_status_spec.rb b/kubernetes/spec/models/v1_namespace_status_spec.rb index f6ca42b5..2ae948a7 100644 --- a/kubernetes/spec/models/v1_namespace_status_spec.rb +++ b/kubernetes/spec/models/v1_namespace_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb b/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb index 68598db0..9da8c941 100644 --- a/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb b/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb index e7cd553c..20f15414 100644 --- a/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_list_spec.rb b/kubernetes/spec/models/v1_network_policy_list_spec.rb index b2f1a7c9..37f63a3e 100644 --- a/kubernetes/spec/models/v1_network_policy_list_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_peer_spec.rb b/kubernetes/spec/models/v1_network_policy_peer_spec.rb index 8600159a..d4a8a522 100644 --- a/kubernetes/spec/models/v1_network_policy_peer_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_peer_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_port_spec.rb b/kubernetes/spec/models/v1_network_policy_port_spec.rb index 1ed1059d..d6570826 100644 --- a/kubernetes/spec/models/v1_network_policy_port_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_port_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_spec.rb b/kubernetes/spec/models/v1_network_policy_spec.rb index e3a11694..7e01d780 100644 --- a/kubernetes/spec/models/v1_network_policy_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_network_policy_spec_spec.rb b/kubernetes/spec/models/v1_network_policy_spec_spec.rb index 7f0daa88..e4067601 100644 --- a/kubernetes/spec/models/v1_network_policy_spec_spec.rb +++ b/kubernetes/spec/models/v1_network_policy_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_nfs_volume_source_spec.rb b/kubernetes/spec/models/v1_nfs_volume_source_spec.rb index 34ddef45..6b26a48d 100644 --- a/kubernetes/spec/models/v1_nfs_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_nfs_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_address_spec.rb b/kubernetes/spec/models/v1_node_address_spec.rb index 719e30c3..9caa4230 100644 --- a/kubernetes/spec/models/v1_node_address_spec.rb +++ b/kubernetes/spec/models/v1_node_address_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_affinity_spec.rb b/kubernetes/spec/models/v1_node_affinity_spec.rb index 482ea560..3867a76c 100644 --- a/kubernetes/spec/models/v1_node_affinity_spec.rb +++ b/kubernetes/spec/models/v1_node_affinity_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_condition_spec.rb b/kubernetes/spec/models/v1_node_condition_spec.rb index ee7ee5e6..cf7088a0 100644 --- a/kubernetes/spec/models/v1_node_condition_spec.rb +++ b/kubernetes/spec/models/v1_node_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_config_source_spec.rb b/kubernetes/spec/models/v1_node_config_source_spec.rb index 902d187e..5cec0e60 100644 --- a/kubernetes/spec/models/v1_node_config_source_spec.rb +++ b/kubernetes/spec/models/v1_node_config_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,19 +32,7 @@ expect(@instance).to be_instance_of(Kubernetes::V1NodeConfigSource) end end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "config_map_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do + describe 'test attribute "config_map"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_node_config_status_spec.rb b/kubernetes/spec/models/v1_node_config_status_spec.rb new file mode 100644 index 00000000..c62b66da --- /dev/null +++ b/kubernetes/spec/models/v1_node_config_status_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1NodeConfigStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1NodeConfigStatus' do + before do + # run before each test + @instance = Kubernetes::V1NodeConfigStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1NodeConfigStatus' do + it 'should create an instance of V1NodeConfigStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1NodeConfigStatus) + end + end + describe 'test attribute "active"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "assigned"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "error"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "last_known_good"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb b/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb index 74b93f6b..98890e20 100644 --- a/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb +++ b/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_list_spec.rb b/kubernetes/spec/models/v1_node_list_spec.rb index dd00a4b2..84c3bd89 100644 --- a/kubernetes/spec/models/v1_node_list_spec.rb +++ b/kubernetes/spec/models/v1_node_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_selector_requirement_spec.rb b/kubernetes/spec/models/v1_node_selector_requirement_spec.rb index 73983ed4..9ebf0c90 100644 --- a/kubernetes/spec/models/v1_node_selector_requirement_spec.rb +++ b/kubernetes/spec/models/v1_node_selector_requirement_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_selector_spec.rb b/kubernetes/spec/models/v1_node_selector_spec.rb index 1694b9b7..6975d46b 100644 --- a/kubernetes/spec/models/v1_node_selector_spec.rb +++ b/kubernetes/spec/models/v1_node_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_selector_term_spec.rb b/kubernetes/spec/models/v1_node_selector_term_spec.rb index b1324089..3b49e6df 100644 --- a/kubernetes/spec/models/v1_node_selector_term_spec.rb +++ b/kubernetes/spec/models/v1_node_selector_term_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,5 +38,11 @@ end end + describe 'test attribute "match_fields"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1_node_spec.rb b/kubernetes/spec/models/v1_node_spec.rb index 37f2c503..76f22490 100644 --- a/kubernetes/spec/models/v1_node_spec.rb +++ b/kubernetes/spec/models/v1_node_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_spec_spec.rb b/kubernetes/spec/models/v1_node_spec_spec.rb index 32565ee8..f39129e9 100644 --- a/kubernetes/spec/models/v1_node_spec_spec.rb +++ b/kubernetes/spec/models/v1_node_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_node_status_spec.rb b/kubernetes/spec/models/v1_node_status_spec.rb index fb9d3d3b..b5453de8 100644 --- a/kubernetes/spec/models/v1_node_status_spec.rb +++ b/kubernetes/spec/models/v1_node_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -56,6 +56,12 @@ end end + describe 'test attribute "config"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "daemon_endpoints"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_node_system_info_spec.rb b/kubernetes/spec/models/v1_node_system_info_spec.rb index f2924627..3eb234a8 100644 --- a/kubernetes/spec/models/v1_node_system_info_spec.rb +++ b/kubernetes/spec/models/v1_node_system_info_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_non_resource_attributes_spec.rb b/kubernetes/spec/models/v1_non_resource_attributes_spec.rb index 4f5fba24..ff60b71d 100644 --- a/kubernetes/spec/models/v1_non_resource_attributes_spec.rb +++ b/kubernetes/spec/models/v1_non_resource_attributes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_non_resource_rule_spec.rb b/kubernetes/spec/models/v1_non_resource_rule_spec.rb index e671e264..10cbe116 100644 --- a/kubernetes/spec/models/v1_non_resource_rule_spec.rb +++ b/kubernetes/spec/models/v1_non_resource_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_object_field_selector_spec.rb b/kubernetes/spec/models/v1_object_field_selector_spec.rb index 92f87557..5d6e37bd 100644 --- a/kubernetes/spec/models/v1_object_field_selector_spec.rb +++ b/kubernetes/spec/models/v1_object_field_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_object_meta_spec.rb b/kubernetes/spec/models/v1_object_meta_spec.rb index e77088d7..adca8306 100644 --- a/kubernetes/spec/models/v1_object_meta_spec.rb +++ b/kubernetes/spec/models/v1_object_meta_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_object_reference_spec.rb b/kubernetes/spec/models/v1_object_reference_spec.rb index 9ff9157c..d9b9c84c 100644 --- a/kubernetes/spec/models/v1_object_reference_spec.rb +++ b/kubernetes/spec/models/v1_object_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_owner_reference_spec.rb b/kubernetes/spec/models/v1_owner_reference_spec.rb index 097cf192..30778daa 100644 --- a/kubernetes/spec/models/v1_owner_reference_spec.rb +++ b/kubernetes/spec/models/v1_owner_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb index 7fdb266c..f2a38bca 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb index 965bf9e8..5e9120de 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb index 085c8c63..1e3cc333 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb index 6c5d3732..fb7bbb73 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "data_source"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "resources"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -56,6 +62,12 @@ end end + describe 'test attribute "volume_mode"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "volume_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb index 45a1b217..793c2f6c 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb index 2486399f..90ef64b4 100644 --- a/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_list_spec.rb b/kubernetes/spec/models/v1_persistent_volume_list_spec.rb index 597fa60d..b3d4499e 100644 --- a/kubernetes/spec/models/v1_persistent_volume_list_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_spec.rb b/kubernetes/spec/models/v1_persistent_volume_spec.rb index 0eff4aad..4ee3c3f8 100644 --- a/kubernetes/spec/models/v1_persistent_volume_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb b/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb index 10be0361..b6db8943 100644 --- a/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -80,6 +80,12 @@ end end + describe 'test attribute "csi"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "fc"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -140,6 +146,12 @@ end end + describe 'test attribute "node_affinity"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "persistent_volume_reclaim_policy"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -188,6 +200,12 @@ end end + describe 'test attribute "volume_mode"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "vsphere_volume"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_persistent_volume_status_spec.rb b/kubernetes/spec/models/v1_persistent_volume_status_spec.rb index ebecac34..3c50421d 100644 --- a/kubernetes/spec/models/v1_persistent_volume_status_spec.rb +++ b/kubernetes/spec/models/v1_persistent_volume_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb index 20d719ba..50f6669f 100644 --- a/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_affinity_spec.rb b/kubernetes/spec/models/v1_pod_affinity_spec.rb index 86f9163a..6eba5cdd 100644 --- a/kubernetes/spec/models/v1_pod_affinity_spec.rb +++ b/kubernetes/spec/models/v1_pod_affinity_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_affinity_term_spec.rb b/kubernetes/spec/models/v1_pod_affinity_term_spec.rb index d74ced4d..d4ea991b 100644 --- a/kubernetes/spec/models/v1_pod_affinity_term_spec.rb +++ b/kubernetes/spec/models/v1_pod_affinity_term_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb b/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb index 63797da7..bb4161f2 100644 --- a/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb +++ b/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_condition_spec.rb b/kubernetes/spec/models/v1_pod_condition_spec.rb index 828782fe..8184dd9b 100644 --- a/kubernetes/spec/models/v1_pod_condition_spec.rb +++ b/kubernetes/spec/models/v1_pod_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb b/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb new file mode 100644 index 00000000..d704dd01 --- /dev/null +++ b/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1PodDNSConfigOption +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1PodDNSConfigOption' do + before do + # run before each test + @instance = Kubernetes::V1PodDNSConfigOption.new + end + + after do + # run after each test + end + + describe 'test an instance of V1PodDNSConfigOption' do + it 'should create an instance of V1PodDNSConfigOption' do + expect(@instance).to be_instance_of(Kubernetes::V1PodDNSConfigOption) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_pod_dns_config_spec.rb b/kubernetes/spec/models/v1_pod_dns_config_spec.rb new file mode 100644 index 00000000..4494237d --- /dev/null +++ b/kubernetes/spec/models/v1_pod_dns_config_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1PodDNSConfig +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1PodDNSConfig' do + before do + # run before each test + @instance = Kubernetes::V1PodDNSConfig.new + end + + after do + # run after each test + end + + describe 'test an instance of V1PodDNSConfig' do + it 'should create an instance of V1PodDNSConfig' do + expect(@instance).to be_instance_of(Kubernetes::V1PodDNSConfig) + end + end + describe 'test attribute "nameservers"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "options"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "searches"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_pod_list_spec.rb b/kubernetes/spec/models/v1_pod_list_spec.rb index 0c1982d6..f4491669 100644 --- a/kubernetes/spec/models/v1_pod_list_spec.rb +++ b/kubernetes/spec/models/v1_pod_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb b/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb new file mode 100644 index 00000000..464ca5e4 --- /dev/null +++ b/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1PodReadinessGate +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1PodReadinessGate' do + before do + # run before each test + @instance = Kubernetes::V1PodReadinessGate.new + end + + after do + # run after each test + end + + describe 'test an instance of V1PodReadinessGate' do + it 'should create an instance of V1PodReadinessGate' do + expect(@instance).to be_instance_of(Kubernetes::V1PodReadinessGate) + end + end + describe 'test attribute "condition_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_pod_security_context_spec.rb b/kubernetes/spec/models/v1_pod_security_context_spec.rb index ad96c20e..2b421427 100644 --- a/kubernetes/spec/models/v1_pod_security_context_spec.rb +++ b/kubernetes/spec/models/v1_pod_security_context_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "run_as_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "run_as_non_root"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -62,5 +68,11 @@ end end + describe 'test attribute "sysctls"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1_pod_spec.rb b/kubernetes/spec/models/v1_pod_spec.rb index e7ba1099..bc7d660a 100644 --- a/kubernetes/spec/models/v1_pod_spec.rb +++ b/kubernetes/spec/models/v1_pod_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_spec_spec.rb b/kubernetes/spec/models/v1_pod_spec_spec.rb index ff3420ea..e12d231d 100644 --- a/kubernetes/spec/models/v1_pod_spec_spec.rb +++ b/kubernetes/spec/models/v1_pod_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -56,12 +56,24 @@ end end + describe 'test attribute "dns_config"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "dns_policy"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "enable_service_links"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "host_aliases"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -128,12 +140,24 @@ end end + describe 'test attribute "readiness_gates"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "restart_policy"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "runtime_class_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "scheduler_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -158,6 +182,12 @@ end end + describe 'test attribute "share_process_namespace"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "subdomain"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_pod_status_spec.rb b/kubernetes/spec/models/v1_pod_status_spec.rb index c94163a6..fe62e32b 100644 --- a/kubernetes/spec/models/v1_pod_status_spec.rb +++ b/kubernetes/spec/models/v1_pod_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -62,6 +62,12 @@ end end + describe 'test attribute "nominated_node_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "phase"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_pod_template_list_spec.rb b/kubernetes/spec/models/v1_pod_template_list_spec.rb index bbea78cc..7bfee8d5 100644 --- a/kubernetes/spec/models/v1_pod_template_list_spec.rb +++ b/kubernetes/spec/models/v1_pod_template_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_template_spec.rb b/kubernetes/spec/models/v1_pod_template_spec.rb index e58a80e1..b873a3bc 100644 --- a/kubernetes/spec/models/v1_pod_template_spec.rb +++ b/kubernetes/spec/models/v1_pod_template_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_pod_template_spec_spec.rb b/kubernetes/spec/models/v1_pod_template_spec_spec.rb index 4cb9087d..a684c84b 100644 --- a/kubernetes/spec/models/v1_pod_template_spec_spec.rb +++ b/kubernetes/spec/models/v1_pod_template_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_policy_rule_spec.rb b/kubernetes/spec/models/v1_policy_rule_spec.rb index c2f33170..70ac9555 100644 --- a/kubernetes/spec/models/v1_policy_rule_spec.rb +++ b/kubernetes/spec/models/v1_policy_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_portworx_volume_source_spec.rb b/kubernetes/spec/models/v1_portworx_volume_source_spec.rb index 7f49f25d..8a9b71e4 100644 --- a/kubernetes/spec/models/v1_portworx_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_portworx_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_preconditions_spec.rb b/kubernetes/spec/models/v1_preconditions_spec.rb index f0a7f1ef..8276f3a5 100644 --- a/kubernetes/spec/models/v1_preconditions_spec.rb +++ b/kubernetes/spec/models/v1_preconditions_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb b/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb index 5ae47db2..86161402 100644 --- a/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb +++ b/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_probe_spec.rb b/kubernetes/spec/models/v1_probe_spec.rb index 0acffc23..86e56759 100644 --- a/kubernetes/spec/models/v1_probe_spec.rb +++ b/kubernetes/spec/models/v1_probe_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_projected_volume_source_spec.rb b/kubernetes/spec/models/v1_projected_volume_source_spec.rb index ced80a74..70343f6f 100644 --- a/kubernetes/spec/models/v1_projected_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_projected_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb b/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb index 6e7cf195..b5db2053 100644 --- a/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb new file mode 100644 index 00000000..520e92cc --- /dev/null +++ b/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb @@ -0,0 +1,84 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1RBDPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1RBDPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1RBDPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1RBDPersistentVolumeSource' do + it 'should create an instance of V1RBDPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1RBDPersistentVolumeSource) + end + end + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "image"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "keyring"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "monitors"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "pool"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "user"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_rbd_volume_source_spec.rb b/kubernetes/spec/models/v1_rbd_volume_source_spec.rb index a838d5e0..1c3a3722 100644 --- a/kubernetes/spec/models/v1_rbd_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_rbd_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_replica_set_condition_spec.rb b/kubernetes/spec/models/v1_replica_set_condition_spec.rb new file mode 100644 index 00000000..5ba15677 --- /dev/null +++ b/kubernetes/spec/models/v1_replica_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ReplicaSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ReplicaSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1ReplicaSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ReplicaSetCondition' do + it 'should create an instance of V1ReplicaSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_replica_set_list_spec.rb b/kubernetes/spec/models/v1_replica_set_list_spec.rb new file mode 100644 index 00000000..ca300bbb --- /dev/null +++ b/kubernetes/spec/models/v1_replica_set_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ReplicaSetList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ReplicaSetList' do + before do + # run before each test + @instance = Kubernetes::V1ReplicaSetList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ReplicaSetList' do + it 'should create an instance of V1ReplicaSetList' do + expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_replica_set_spec.rb b/kubernetes/spec/models/v1_replica_set_spec.rb new file mode 100644 index 00000000..21989ed6 --- /dev/null +++ b/kubernetes/spec/models/v1_replica_set_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ReplicaSet +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ReplicaSet' do + before do + # run before each test + @instance = Kubernetes::V1ReplicaSet.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ReplicaSet' do + it 'should create an instance of V1ReplicaSet' do + expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSet) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_replica_set_spec_spec.rb b/kubernetes/spec/models/v1_replica_set_spec_spec.rb new file mode 100644 index 00000000..9558ccc0 --- /dev/null +++ b/kubernetes/spec/models/v1_replica_set_spec_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ReplicaSetSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ReplicaSetSpec' do + before do + # run before each test + @instance = Kubernetes::V1ReplicaSetSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ReplicaSetSpec' do + it 'should create an instance of V1ReplicaSetSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetSpec) + end + end + describe 'test attribute "min_ready_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "template"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_replica_set_status_spec.rb b/kubernetes/spec/models/v1_replica_set_status_spec.rb new file mode 100644 index 00000000..affef1c7 --- /dev/null +++ b/kubernetes/spec/models/v1_replica_set_status_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ReplicaSetStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ReplicaSetStatus' do + before do + # run before each test + @instance = Kubernetes::V1ReplicaSetStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ReplicaSetStatus' do + it 'should create an instance of V1ReplicaSetStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetStatus) + end + end + describe 'test attribute "available_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "fully_labeled_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "observed_generation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "ready_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_replication_controller_condition_spec.rb b/kubernetes/spec/models/v1_replication_controller_condition_spec.rb index 0323f90d..84ecffb8 100644 --- a/kubernetes/spec/models/v1_replication_controller_condition_spec.rb +++ b/kubernetes/spec/models/v1_replication_controller_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_replication_controller_list_spec.rb b/kubernetes/spec/models/v1_replication_controller_list_spec.rb index dfc92608..e8706380 100644 --- a/kubernetes/spec/models/v1_replication_controller_list_spec.rb +++ b/kubernetes/spec/models/v1_replication_controller_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_replication_controller_spec.rb b/kubernetes/spec/models/v1_replication_controller_spec.rb index 31b77535..7ebb3509 100644 --- a/kubernetes/spec/models/v1_replication_controller_spec.rb +++ b/kubernetes/spec/models/v1_replication_controller_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_replication_controller_spec_spec.rb b/kubernetes/spec/models/v1_replication_controller_spec_spec.rb index f3273687..048b2f6a 100644 --- a/kubernetes/spec/models/v1_replication_controller_spec_spec.rb +++ b/kubernetes/spec/models/v1_replication_controller_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_replication_controller_status_spec.rb b/kubernetes/spec/models/v1_replication_controller_status_spec.rb index 51905367..0fe05ae0 100644 --- a/kubernetes/spec/models/v1_replication_controller_status_spec.rb +++ b/kubernetes/spec/models/v1_replication_controller_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_attributes_spec.rb b/kubernetes/spec/models/v1_resource_attributes_spec.rb index 979b84ea..939d3605 100644 --- a/kubernetes/spec/models/v1_resource_attributes_spec.rb +++ b/kubernetes/spec/models/v1_resource_attributes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_field_selector_spec.rb b/kubernetes/spec/models/v1_resource_field_selector_spec.rb index f2499e4c..d4ae2b40 100644 --- a/kubernetes/spec/models/v1_resource_field_selector_spec.rb +++ b/kubernetes/spec/models/v1_resource_field_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_quota_list_spec.rb b/kubernetes/spec/models/v1_resource_quota_list_spec.rb index b9292044..ed11470c 100644 --- a/kubernetes/spec/models/v1_resource_quota_list_spec.rb +++ b/kubernetes/spec/models/v1_resource_quota_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_quota_spec.rb b/kubernetes/spec/models/v1_resource_quota_spec.rb index 524f1dae..7687ac85 100644 --- a/kubernetes/spec/models/v1_resource_quota_spec.rb +++ b/kubernetes/spec/models/v1_resource_quota_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_quota_spec_spec.rb b/kubernetes/spec/models/v1_resource_quota_spec_spec.rb index 553f958c..dc6989f2 100644 --- a/kubernetes/spec/models/v1_resource_quota_spec_spec.rb +++ b/kubernetes/spec/models/v1_resource_quota_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "scope_selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "scopes"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_resource_quota_status_spec.rb b/kubernetes/spec/models/v1_resource_quota_status_spec.rb index fcd0fc0b..22312006 100644 --- a/kubernetes/spec/models/v1_resource_quota_status_spec.rb +++ b/kubernetes/spec/models/v1_resource_quota_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_requirements_spec.rb b/kubernetes/spec/models/v1_resource_requirements_spec.rb index 7d04d8c9..16479e90 100644 --- a/kubernetes/spec/models/v1_resource_requirements_spec.rb +++ b/kubernetes/spec/models/v1_resource_requirements_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_resource_rule_spec.rb b/kubernetes/spec/models/v1_resource_rule_spec.rb index 7cca84ef..7c82cfac 100644 --- a/kubernetes/spec/models/v1_resource_rule_spec.rb +++ b/kubernetes/spec/models/v1_resource_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_role_binding_list_spec.rb b/kubernetes/spec/models/v1_role_binding_list_spec.rb index 06c39b7b..c18478c3 100644 --- a/kubernetes/spec/models/v1_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_role_binding_spec.rb b/kubernetes/spec/models/v1_role_binding_spec.rb index 12218279..da5da881 100644 --- a/kubernetes/spec/models/v1_role_binding_spec.rb +++ b/kubernetes/spec/models/v1_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_role_list_spec.rb b/kubernetes/spec/models/v1_role_list_spec.rb index 655c9754..bbb25829 100644 --- a/kubernetes/spec/models/v1_role_list_spec.rb +++ b/kubernetes/spec/models/v1_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_role_ref_spec.rb b/kubernetes/spec/models/v1_role_ref_spec.rb index fda91262..f0ead0e8 100644 --- a/kubernetes/spec/models/v1_role_ref_spec.rb +++ b/kubernetes/spec/models/v1_role_ref_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_role_spec.rb b/kubernetes/spec/models/v1_role_spec.rb index ac3d4237..9304d7ba 100644 --- a/kubernetes/spec/models/v1_role_spec.rb +++ b/kubernetes/spec/models/v1_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb new file mode 100644 index 00000000..d93cd0dd --- /dev/null +++ b/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1RollingUpdateDaemonSet +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1RollingUpdateDaemonSet' do + before do + # run before each test + @instance = Kubernetes::V1RollingUpdateDaemonSet.new + end + + after do + # run after each test + end + + describe 'test an instance of V1RollingUpdateDaemonSet' do + it 'should create an instance of V1RollingUpdateDaemonSet' do + expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateDaemonSet) + end + end + describe 'test attribute "max_unavailable"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb new file mode 100644 index 00000000..b038e9ab --- /dev/null +++ b/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1RollingUpdateDeployment +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1RollingUpdateDeployment' do + before do + # run before each test + @instance = Kubernetes::V1RollingUpdateDeployment.new + end + + after do + # run after each test + end + + describe 'test an instance of V1RollingUpdateDeployment' do + it 'should create an instance of V1RollingUpdateDeployment' do + expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateDeployment) + end + end + describe 'test attribute "max_surge"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "max_unavailable"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb new file mode 100644 index 00000000..fcd4f68c --- /dev/null +++ b/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1RollingUpdateStatefulSetStrategy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1RollingUpdateStatefulSetStrategy' do + before do + # run before each test + @instance = Kubernetes::V1RollingUpdateStatefulSetStrategy.new + end + + after do + # run after each test + end + + describe 'test an instance of V1RollingUpdateStatefulSetStrategy' do + it 'should create an instance of V1RollingUpdateStatefulSetStrategy' do + expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateStatefulSetStrategy) + end + end + describe 'test attribute "partition"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb new file mode 100644 index 00000000..404c94b0 --- /dev/null +++ b/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb @@ -0,0 +1,96 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ScaleIOPersistentVolumeSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ScaleIOPersistentVolumeSource' do + before do + # run before each test + @instance = Kubernetes::V1ScaleIOPersistentVolumeSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ScaleIOPersistentVolumeSource' do + it 'should create an instance of V1ScaleIOPersistentVolumeSource' do + expect(@instance).to be_instance_of(Kubernetes::V1ScaleIOPersistentVolumeSource) + end + end + describe 'test attribute "fs_type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "gateway"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "protection_domain"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "read_only"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "secret_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "ssl_enabled"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "storage_mode"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "storage_pool"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "system"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volume_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb b/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb index 1d72dcd6..c2d62eda 100644 --- a/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_scale_spec.rb b/kubernetes/spec/models/v1_scale_spec.rb index 63e64a28..da94eaa8 100644 --- a/kubernetes/spec/models/v1_scale_spec.rb +++ b/kubernetes/spec/models/v1_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_scale_spec_spec.rb b/kubernetes/spec/models/v1_scale_spec_spec.rb index 1ef3dcb2..8abe391f 100644 --- a/kubernetes/spec/models/v1_scale_spec_spec.rb +++ b/kubernetes/spec/models/v1_scale_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_scale_status_spec.rb b/kubernetes/spec/models/v1_scale_status_spec.rb index 4ae3725a..c4f8e530 100644 --- a/kubernetes/spec/models/v1_scale_status_spec.rb +++ b/kubernetes/spec/models/v1_scale_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_json_spec.rb b/kubernetes/spec/models/v1_scope_selector_spec.rb similarity index 63% rename from kubernetes/spec/models/v1beta1_json_spec.rb rename to kubernetes/spec/models/v1_scope_selector_spec.rb index cc5bb061..f37584e3 100644 --- a/kubernetes/spec/models/v1beta1_json_spec.rb +++ b/kubernetes/spec/models/v1_scope_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,25 +14,25 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1JSON +# Unit tests for Kubernetes::V1ScopeSelector # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1JSON' do +describe 'V1ScopeSelector' do before do # run before each test - @instance = Kubernetes::V1beta1JSON.new + @instance = Kubernetes::V1ScopeSelector.new end after do # run after each test end - describe 'test an instance of V1beta1JSON' do - it 'should create an instance of V1beta1JSON' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JSON) + describe 'test an instance of V1ScopeSelector' do + it 'should create an instance of V1ScopeSelector' do + expect(@instance).to be_instance_of(Kubernetes::V1ScopeSelector) end end - describe 'test attribute "raw"' do + describe 'test attribute "match_expressions"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb b/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb new file mode 100644 index 00000000..24b94b3f --- /dev/null +++ b/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ScopedResourceSelectorRequirement +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ScopedResourceSelectorRequirement' do + before do + # run before each test + @instance = Kubernetes::V1ScopedResourceSelectorRequirement.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ScopedResourceSelectorRequirement' do + it 'should create an instance of V1ScopedResourceSelectorRequirement' do + expect(@instance).to be_instance_of(Kubernetes::V1ScopedResourceSelectorRequirement) + end + end + describe 'test attribute "operator"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "scope_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "values"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_se_linux_options_spec.rb b/kubernetes/spec/models/v1_se_linux_options_spec.rb index 12ce7470..947ced27 100644 --- a/kubernetes/spec/models/v1_se_linux_options_spec.rb +++ b/kubernetes/spec/models/v1_se_linux_options_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_env_source_spec.rb b/kubernetes/spec/models/v1_secret_env_source_spec.rb index a608c210..58c61136 100644 --- a/kubernetes/spec/models/v1_secret_env_source_spec.rb +++ b/kubernetes/spec/models/v1_secret_env_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_key_selector_spec.rb b/kubernetes/spec/models/v1_secret_key_selector_spec.rb index cd5fc93e..80227bb6 100644 --- a/kubernetes/spec/models/v1_secret_key_selector_spec.rb +++ b/kubernetes/spec/models/v1_secret_key_selector_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_list_spec.rb b/kubernetes/spec/models/v1_secret_list_spec.rb index 384c522b..63ca986b 100644 --- a/kubernetes/spec/models/v1_secret_list_spec.rb +++ b/kubernetes/spec/models/v1_secret_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_projection_spec.rb b/kubernetes/spec/models/v1_secret_projection_spec.rb index 56f05eab..9d2aee89 100644 --- a/kubernetes/spec/models/v1_secret_projection_spec.rb +++ b/kubernetes/spec/models/v1_secret_projection_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_reference_spec.rb b/kubernetes/spec/models/v1_secret_reference_spec.rb index e0e639c3..82412359 100644 --- a/kubernetes/spec/models/v1_secret_reference_spec.rb +++ b/kubernetes/spec/models/v1_secret_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_spec.rb b/kubernetes/spec/models/v1_secret_spec.rb index 01766af1..da756aa0 100644 --- a/kubernetes/spec/models/v1_secret_spec.rb +++ b/kubernetes/spec/models/v1_secret_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_secret_volume_source_spec.rb b/kubernetes/spec/models/v1_secret_volume_source_spec.rb index 6506e284..3da509d2 100644 --- a/kubernetes/spec/models/v1_secret_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_secret_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_security_context_spec.rb b/kubernetes/spec/models/v1_security_context_spec.rb index 82faac99..805116ce 100644 --- a/kubernetes/spec/models/v1_security_context_spec.rb +++ b/kubernetes/spec/models/v1_security_context_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -50,12 +50,24 @@ end end + describe 'test attribute "proc_mount"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "read_only_root_filesystem"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "run_as_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "run_as_non_root"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_self_subject_access_review_spec.rb b/kubernetes/spec/models/v1_self_subject_access_review_spec.rb index a6b296f5..9d78eda3 100644 --- a/kubernetes/spec/models/v1_self_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1_self_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb index c0a87581..032e3fba 100644 --- a/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb +++ b/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb b/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb index 17aa4845..4b7c1f10 100644 --- a/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb +++ b/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb b/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb index 1a18830f..c78a208e 100644 --- a/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb +++ b/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb b/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb index aa014b37..aeed8d0a 100644 --- a/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb +++ b/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_account_list_spec.rb b/kubernetes/spec/models/v1_service_account_list_spec.rb index 759be210..be3ca9cb 100644 --- a/kubernetes/spec/models/v1_service_account_list_spec.rb +++ b/kubernetes/spec/models/v1_service_account_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_account_spec.rb b/kubernetes/spec/models/v1_service_account_spec.rb index 9c25bd36..a4c1b068 100644 --- a/kubernetes/spec/models/v1_service_account_spec.rb +++ b/kubernetes/spec/models/v1_service_account_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_account_token_projection_spec.rb b/kubernetes/spec/models/v1_service_account_token_projection_spec.rb new file mode 100644 index 00000000..6a3ed643 --- /dev/null +++ b/kubernetes/spec/models/v1_service_account_token_projection_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1ServiceAccountTokenProjection +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1ServiceAccountTokenProjection' do + before do + # run before each test + @instance = Kubernetes::V1ServiceAccountTokenProjection.new + end + + after do + # run after each test + end + + describe 'test an instance of V1ServiceAccountTokenProjection' do + it 'should create an instance of V1ServiceAccountTokenProjection' do + expect(@instance).to be_instance_of(Kubernetes::V1ServiceAccountTokenProjection) + end + end + describe 'test attribute "audience"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "expiration_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_service_list_spec.rb b/kubernetes/spec/models/v1_service_list_spec.rb index 15bb54ec..6b91f4fb 100644 --- a/kubernetes/spec/models/v1_service_list_spec.rb +++ b/kubernetes/spec/models/v1_service_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_port_spec.rb b/kubernetes/spec/models/v1_service_port_spec.rb index f7bf71d5..2097cd88 100644 --- a/kubernetes/spec/models/v1_service_port_spec.rb +++ b/kubernetes/spec/models/v1_service_port_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_service_reference_spec.rb b/kubernetes/spec/models/v1_service_reference_spec.rb similarity index 69% rename from kubernetes/spec/models/v1beta1_service_reference_spec.rb rename to kubernetes/spec/models/v1_service_reference_spec.rb index 296ca35c..eaffe1ab 100644 --- a/kubernetes/spec/models/v1beta1_service_reference_spec.rb +++ b/kubernetes/spec/models/v1_service_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1ServiceReference +# Unit tests for Kubernetes::V1ServiceReference # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1ServiceReference' do +describe 'V1ServiceReference' do before do # run before each test - @instance = Kubernetes::V1beta1ServiceReference.new + @instance = Kubernetes::V1ServiceReference.new end after do # run after each test end - describe 'test an instance of V1beta1ServiceReference' do - it 'should create an instance of V1beta1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ServiceReference) + describe 'test an instance of V1ServiceReference' do + it 'should create an instance of V1ServiceReference' do + expect(@instance).to be_instance_of(Kubernetes::V1ServiceReference) end end describe 'test attribute "name"' do diff --git a/kubernetes/spec/models/v1_service_spec.rb b/kubernetes/spec/models/v1_service_spec.rb index 6501938a..ca718dec 100644 --- a/kubernetes/spec/models/v1_service_spec.rb +++ b/kubernetes/spec/models/v1_service_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_spec_spec.rb b/kubernetes/spec/models/v1_service_spec_spec.rb index 6f016892..2f317963 100644 --- a/kubernetes/spec/models/v1_service_spec_spec.rb +++ b/kubernetes/spec/models/v1_service_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_service_status_spec.rb b/kubernetes/spec/models/v1_service_status_spec.rb index a6cab8d1..5d8965c4 100644 --- a/kubernetes/spec/models/v1_service_status_spec.rb +++ b/kubernetes/spec/models/v1_service_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_session_affinity_config_spec.rb b/kubernetes/spec/models/v1_session_affinity_config_spec.rb index bb0a4abb..12f949b5 100644 --- a/kubernetes/spec/models/v1_session_affinity_config_spec.rb +++ b/kubernetes/spec/models/v1_session_affinity_config_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1_stateful_set_condition_spec.rb new file mode 100644 index 00000000..0040da72 --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSetCondition' do + it 'should create an instance of V1StatefulSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_stateful_set_list_spec.rb b/kubernetes/spec/models/v1_stateful_set_list_spec.rb new file mode 100644 index 00000000..8f5e60fe --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSetList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSetList' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSetList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSetList' do + it 'should create an instance of V1StatefulSetList' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_stateful_set_spec.rb b/kubernetes/spec/models/v1_stateful_set_spec.rb new file mode 100644 index 00000000..11460ced --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSet +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSet' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSet.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSet' do + it 'should create an instance of V1StatefulSet' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSet) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1_stateful_set_spec_spec.rb new file mode 100644 index 00000000..b6ca49ad --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_spec_spec.rb @@ -0,0 +1,84 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSetSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSetSpec' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSetSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSetSpec' do + it 'should create an instance of V1StatefulSetSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetSpec) + end + end + describe 'test attribute "pod_management_policy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "revision_history_limit"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "service_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "template"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "update_strategy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "volume_claim_templates"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_stateful_set_status_spec.rb b/kubernetes/spec/models/v1_stateful_set_status_spec.rb new file mode 100644 index 00000000..a5cd839b --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_status_spec.rb @@ -0,0 +1,90 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSetStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSetStatus' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSetStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSetStatus' do + it 'should create an instance of V1StatefulSetStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetStatus) + end + end + describe 'test attribute "collision_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_revision"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "observed_generation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "ready_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "update_revision"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "updated_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb new file mode 100644 index 00000000..2ae98062 --- /dev/null +++ b/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1StatefulSetUpdateStrategy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1StatefulSetUpdateStrategy' do + before do + # run before each test + @instance = Kubernetes::V1StatefulSetUpdateStrategy.new + end + + after do + # run after each test + end + + describe 'test an instance of V1StatefulSetUpdateStrategy' do + it 'should create an instance of V1StatefulSetUpdateStrategy' do + expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetUpdateStrategy) + end + end + describe 'test attribute "rolling_update"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_status_cause_spec.rb b/kubernetes/spec/models/v1_status_cause_spec.rb index 2ee88a10..9d0c14f4 100644 --- a/kubernetes/spec/models/v1_status_cause_spec.rb +++ b/kubernetes/spec/models/v1_status_cause_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_status_details_spec.rb b/kubernetes/spec/models/v1_status_details_spec.rb index 359ff72b..36d56d7e 100644 --- a/kubernetes/spec/models/v1_status_details_spec.rb +++ b/kubernetes/spec/models/v1_status_details_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_status_spec.rb b/kubernetes/spec/models/v1_status_spec.rb index 7e7fa756..27609d4c 100644 --- a/kubernetes/spec/models/v1_status_spec.rb +++ b/kubernetes/spec/models/v1_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_storage_class_list_spec.rb b/kubernetes/spec/models/v1_storage_class_list_spec.rb index 40b191d1..96e350ed 100644 --- a/kubernetes/spec/models/v1_storage_class_list_spec.rb +++ b/kubernetes/spec/models/v1_storage_class_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_storage_class_spec.rb b/kubernetes/spec/models/v1_storage_class_spec.rb index 565457ef..36e9c8c1 100644 --- a/kubernetes/spec/models/v1_storage_class_spec.rb +++ b/kubernetes/spec/models/v1_storage_class_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "allowed_topologies"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -80,5 +86,11 @@ end end + describe 'test attribute "volume_binding_mode"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb index e65edd8d..cde5d17e 100644 --- a/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb b/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb index 1b73da91..e1414e27 100644 --- a/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_subject_access_review_spec.rb b/kubernetes/spec/models/v1_subject_access_review_spec.rb index 67e5bd5d..82b23a51 100644 --- a/kubernetes/spec/models/v1_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb index 26fb2833..ce0522f2 100644 --- a/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb +++ b/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_subject_access_review_status_spec.rb b/kubernetes/spec/models/v1_subject_access_review_status_spec.rb index d233cb3f..49f00344 100644 --- a/kubernetes/spec/models/v1_subject_access_review_status_spec.rb +++ b/kubernetes/spec/models/v1_subject_access_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "denied"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "evaluation_error"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb b/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb index 97f460bf..bab6ad9c 100644 --- a/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb +++ b/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_subject_spec.rb b/kubernetes/spec/models/v1_subject_spec.rb index cd526699..3ccc2260 100644 --- a/kubernetes/spec/models/v1_subject_spec.rb +++ b/kubernetes/spec/models/v1_subject_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_sysctl_spec.rb b/kubernetes/spec/models/v1_sysctl_spec.rb new file mode 100644 index 00000000..c67a5e86 --- /dev/null +++ b/kubernetes/spec/models/v1_sysctl_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1Sysctl +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1Sysctl' do + before do + # run before each test + @instance = Kubernetes::V1Sysctl.new + end + + after do + # run after each test + end + + describe 'test an instance of V1Sysctl' do + it 'should create an instance of V1Sysctl' do + expect(@instance).to be_instance_of(Kubernetes::V1Sysctl) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_taint_spec.rb b/kubernetes/spec/models/v1_taint_spec.rb index 6d496d74..207fd089 100644 --- a/kubernetes/spec/models/v1_taint_spec.rb +++ b/kubernetes/spec/models/v1_taint_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_tcp_socket_action_spec.rb b/kubernetes/spec/models/v1_tcp_socket_action_spec.rb index f7ccfd7d..dc0dbb40 100644 --- a/kubernetes/spec/models/v1_tcp_socket_action_spec.rb +++ b/kubernetes/spec/models/v1_tcp_socket_action_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_token_review_spec.rb b/kubernetes/spec/models/v1_token_review_spec.rb index 61f41e7c..c168659f 100644 --- a/kubernetes/spec/models/v1_token_review_spec.rb +++ b/kubernetes/spec/models/v1_token_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_token_review_spec_spec.rb b/kubernetes/spec/models/v1_token_review_spec_spec.rb index 24deb813..77f3113b 100644 --- a/kubernetes/spec/models/v1_token_review_spec_spec.rb +++ b/kubernetes/spec/models/v1_token_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1TokenReviewSpec) end end + describe 'test attribute "audiences"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_token_review_status_spec.rb b/kubernetes/spec/models/v1_token_review_status_spec.rb index cdba01dd..490d88aa 100644 --- a/kubernetes/spec/models/v1_token_review_status_spec.rb +++ b/kubernetes/spec/models/v1_token_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1TokenReviewStatus) end end + describe 'test attribute "audiences"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "authenticated"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1_toleration_spec.rb b/kubernetes/spec/models/v1_toleration_spec.rb index e27e9291..5f1ba38b 100644 --- a/kubernetes/spec/models/v1_toleration_spec.rb +++ b/kubernetes/spec/models/v1_toleration_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_admission_hook_client_config_spec.rb b/kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb similarity index 60% rename from kubernetes/spec/models/v1alpha1_admission_hook_client_config_spec.rb rename to kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb index 554a25fa..41e40fad 100644 --- a/kubernetes/spec/models/v1alpha1_admission_hook_client_config_spec.rb +++ b/kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,31 +14,31 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1alpha1AdmissionHookClientConfig +# Unit tests for Kubernetes::V1TopologySelectorLabelRequirement # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1alpha1AdmissionHookClientConfig' do +describe 'V1TopologySelectorLabelRequirement' do before do # run before each test - @instance = Kubernetes::V1alpha1AdmissionHookClientConfig.new + @instance = Kubernetes::V1TopologySelectorLabelRequirement.new end after do # run after each test end - describe 'test an instance of V1alpha1AdmissionHookClientConfig' do - it 'should create an instance of V1alpha1AdmissionHookClientConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1AdmissionHookClientConfig) + describe 'test an instance of V1TopologySelectorLabelRequirement' do + it 'should create an instance of V1TopologySelectorLabelRequirement' do + expect(@instance).to be_instance_of(Kubernetes::V1TopologySelectorLabelRequirement) end end - describe 'test attribute "ca_bundle"' do + describe 'test attribute "key"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "service"' do + describe 'test attribute "values"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_topology_selector_term_spec.rb b/kubernetes/spec/models/v1_topology_selector_term_spec.rb new file mode 100644 index 00000000..1d4d21e9 --- /dev/null +++ b/kubernetes/spec/models/v1_topology_selector_term_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1TopologySelectorTerm +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1TopologySelectorTerm' do + before do + # run before each test + @instance = Kubernetes::V1TopologySelectorTerm.new + end + + after do + # run after each test + end + + describe 'test an instance of V1TopologySelectorTerm' do + it 'should create an instance of V1TopologySelectorTerm' do + expect(@instance).to be_instance_of(Kubernetes::V1TopologySelectorTerm) + end + end + describe 'test attribute "match_label_expressions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb b/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb new file mode 100644 index 00000000..20543b31 --- /dev/null +++ b/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1TypedLocalObjectReference +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1TypedLocalObjectReference' do + before do + # run before each test + @instance = Kubernetes::V1TypedLocalObjectReference.new + end + + after do + # run after each test + end + + describe 'test an instance of V1TypedLocalObjectReference' do + it 'should create an instance of V1TypedLocalObjectReference' do + expect(@instance).to be_instance_of(Kubernetes::V1TypedLocalObjectReference) + end + end + describe 'test attribute "api_group"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_user_info_spec.rb b/kubernetes/spec/models/v1_user_info_spec.rb index 5b133e47..4a4830da 100644 --- a/kubernetes/spec/models/v1_user_info_spec.rb +++ b/kubernetes/spec/models/v1_user_info_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_volume_attachment_list_spec.rb b/kubernetes/spec/models/v1_volume_attachment_list_spec.rb new file mode 100644 index 00000000..55757c8c --- /dev/null +++ b/kubernetes/spec/models/v1_volume_attachment_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeAttachmentList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeAttachmentList' do + before do + # run before each test + @instance = Kubernetes::V1VolumeAttachmentList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeAttachmentList' do + it 'should create an instance of V1VolumeAttachmentList' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1_volume_attachment_source_spec.rb new file mode 100644 index 00000000..6a884089 --- /dev/null +++ b/kubernetes/spec/models/v1_volume_attachment_source_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeAttachmentSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeAttachmentSource' do + before do + # run before each test + @instance = Kubernetes::V1VolumeAttachmentSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeAttachmentSource' do + it 'should create an instance of V1VolumeAttachmentSource' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentSource) + end + end + describe 'test attribute "persistent_volume_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_attachment_spec.rb b/kubernetes/spec/models/v1_volume_attachment_spec.rb new file mode 100644 index 00000000..e2e3bd60 --- /dev/null +++ b/kubernetes/spec/models/v1_volume_attachment_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeAttachment +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeAttachment' do + before do + # run before each test + @instance = Kubernetes::V1VolumeAttachment.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeAttachment' do + it 'should create an instance of V1VolumeAttachment' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachment) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb new file mode 100644 index 00000000..493b256f --- /dev/null +++ b/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeAttachmentSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeAttachmentSpec' do + before do + # run before each test + @instance = Kubernetes::V1VolumeAttachmentSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeAttachmentSpec' do + it 'should create an instance of V1VolumeAttachmentSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentSpec) + end + end + describe 'test attribute "attacher"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "node_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "source"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_external_admission_hook_spec.rb b/kubernetes/spec/models/v1_volume_attachment_status_spec.rb similarity index 65% rename from kubernetes/spec/models/v1alpha1_external_admission_hook_spec.rb rename to kubernetes/spec/models/v1_volume_attachment_status_spec.rb index 10badd9a..20104a9c 100644 --- a/kubernetes/spec/models/v1alpha1_external_admission_hook_spec.rb +++ b/kubernetes/spec/models/v1_volume_attachment_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,43 +14,43 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1alpha1ExternalAdmissionHook +# Unit tests for Kubernetes::V1VolumeAttachmentStatus # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1alpha1ExternalAdmissionHook' do +describe 'V1VolumeAttachmentStatus' do before do # run before each test - @instance = Kubernetes::V1alpha1ExternalAdmissionHook.new + @instance = Kubernetes::V1VolumeAttachmentStatus.new end after do # run after each test end - describe 'test an instance of V1alpha1ExternalAdmissionHook' do - it 'should create an instance of V1alpha1ExternalAdmissionHook' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ExternalAdmissionHook) + describe 'test an instance of V1VolumeAttachmentStatus' do + it 'should create an instance of V1VolumeAttachmentStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentStatus) end end - describe 'test attribute "client_config"' do + describe 'test attribute "attach_error"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "failure_policy"' do + describe 'test attribute "attached"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "name"' do + describe 'test attribute "attachment_metadata"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "rules"' do + describe 'test attribute "detach_error"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1_volume_device_spec.rb b/kubernetes/spec/models/v1_volume_device_spec.rb new file mode 100644 index 00000000..e72208a7 --- /dev/null +++ b/kubernetes/spec/models/v1_volume_device_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeDevice +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeDevice' do + before do + # run before each test + @instance = Kubernetes::V1VolumeDevice.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeDevice' do + it 'should create an instance of V1VolumeDevice' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeDevice) + end + end + describe 'test attribute "device_path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_error_spec.rb b/kubernetes/spec/models/v1_volume_error_spec.rb new file mode 100644 index 00000000..b008c98a --- /dev/null +++ b/kubernetes/spec/models/v1_volume_error_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeError +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeError' do + before do + # run before each test + @instance = Kubernetes::V1VolumeError.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeError' do + it 'should create an instance of V1VolumeError' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeError) + end + end + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_mount_spec.rb b/kubernetes/spec/models/v1_volume_mount_spec.rb index 56fad025..2ccb3c53 100644 --- a/kubernetes/spec/models/v1_volume_mount_spec.rb +++ b/kubernetes/spec/models/v1_volume_mount_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_volume_node_affinity_spec.rb b/kubernetes/spec/models/v1_volume_node_affinity_spec.rb new file mode 100644 index 00000000..8a98597d --- /dev/null +++ b/kubernetes/spec/models/v1_volume_node_affinity_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1VolumeNodeAffinity +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1VolumeNodeAffinity' do + before do + # run before each test + @instance = Kubernetes::V1VolumeNodeAffinity.new + end + + after do + # run after each test + end + + describe 'test an instance of V1VolumeNodeAffinity' do + it 'should create an instance of V1VolumeNodeAffinity' do + expect(@instance).to be_instance_of(Kubernetes::V1VolumeNodeAffinity) + end + end + describe 'test attribute "required"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1_volume_projection_spec.rb b/kubernetes/spec/models/v1_volume_projection_spec.rb index 8980bdef..fc47a7e6 100644 --- a/kubernetes/spec/models/v1_volume_projection_spec.rb +++ b/kubernetes/spec/models/v1_volume_projection_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -50,5 +50,11 @@ end end + describe 'test attribute "service_account_token"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1_volume_spec.rb b/kubernetes/spec/models/v1_volume_spec.rb index 535de541..4be5c59c 100644 --- a/kubernetes/spec/models/v1_volume_spec.rb +++ b/kubernetes/spec/models/v1_volume_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb index 03683b8e..acb8a1ab 100644 --- a/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb +++ b/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_watch_event_spec.rb b/kubernetes/spec/models/v1_watch_event_spec.rb index 8c5814c6..2f646780 100644 --- a/kubernetes/spec/models/v1_watch_event_spec.rb +++ b/kubernetes/spec/models/v1_watch_event_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb b/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb index 02c5ff20..126ff924 100644 --- a/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb +++ b/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb b/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb new file mode 100644 index 00000000..51ecdf4d --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1AggregationRule +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1AggregationRule' do + before do + # run before each test + @instance = Kubernetes::V1alpha1AggregationRule.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1AggregationRule' do + it 'should create an instance of V1alpha1AggregationRule' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1AggregationRule) + end + end + describe 'test attribute "cluster_role_selectors"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb new file mode 100644 index 00000000..c597d34f --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1AuditSinkList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1AuditSinkList' do + before do + # run before each test + @instance = Kubernetes::V1alpha1AuditSinkList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1AuditSinkList' do + it 'should create an instance of V1alpha1AuditSinkList' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSinkList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_pod_security_policy_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_spec.rb similarity index 76% rename from kubernetes/spec/models/v1beta1_pod_security_policy_spec.rb rename to kubernetes/spec/models/v1alpha1_audit_sink_spec.rb index 94837c67..7a8222ac 100644 --- a/kubernetes/spec/models/v1beta1_pod_security_policy_spec.rb +++ b/kubernetes/spec/models/v1alpha1_audit_sink_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1PodSecurityPolicy +# Unit tests for Kubernetes::V1alpha1AuditSink # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1PodSecurityPolicy' do +describe 'V1alpha1AuditSink' do before do # run before each test - @instance = Kubernetes::V1beta1PodSecurityPolicy.new + @instance = Kubernetes::V1alpha1AuditSink.new end after do # run after each test end - describe 'test an instance of V1beta1PodSecurityPolicy' do - it 'should create an instance of V1beta1PodSecurityPolicy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodSecurityPolicy) + describe 'test an instance of V1alpha1AuditSink' do + it 'should create an instance of V1alpha1AuditSink' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSink) end end describe 'test attribute "api_version"' do diff --git a/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb new file mode 100644 index 00000000..c220d8f3 --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1AuditSinkSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1AuditSinkSpec' do + before do + # run before each test + @instance = Kubernetes::V1alpha1AuditSinkSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1AuditSinkSpec' do + it 'should create an instance of V1alpha1AuditSinkSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSinkSpec) + end + end + describe 'test attribute "policy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "webhook"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb index 38aaf3e8..d30c311b 100644 --- a/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb index 10bb4167..6ed9d8fc 100644 --- a/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb +++ b/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb index e32dc58c..880a2000 100644 --- a/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb index 40cd3c0c..98981b34 100644 --- a/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb +++ b/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1alpha1ClusterRole) end end + describe 'test attribute "aggregation_rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb index 1bf5c3d6..7dfc963c 100644 --- a/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb index 153b0871..117aef3b 100644 --- a/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb +++ b/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_initializer_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_spec.rb index 247789c9..aff0e0bf 100644 --- a/kubernetes/spec/models/v1alpha1_initializer_spec.rb +++ b/kubernetes/spec/models/v1alpha1_initializer_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb index a8a69dc1..de742b6a 100644 --- a/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb index 69bfea43..4baf80ed 100644 --- a/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb +++ b/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb index a6f15c9b..f264df3c 100644 --- a/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb +++ b/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb b/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb index a188e31f..57e78dbc 100644 --- a/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb +++ b/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_policy_spec.rb b/kubernetes/spec/models/v1alpha1_policy_spec.rb new file mode 100644 index 00000000..b7085b85 --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_policy_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1Policy +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1Policy' do + before do + # run before each test + @instance = Kubernetes::V1alpha1Policy.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1Policy' do + it 'should create an instance of V1alpha1Policy' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1Policy) + end + end + describe 'test attribute "level"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "stages"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb b/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb index 92136d5a..e24c19cb 100644 --- a/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_priority_class_spec.rb b/kubernetes/spec/models/v1alpha1_priority_class_spec.rb index d57ca346..205027c1 100644 --- a/kubernetes/spec/models/v1alpha1_priority_class_spec.rb +++ b/kubernetes/spec/models/v1alpha1_priority_class_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb b/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb index bb7779c6..fef71040 100644 --- a/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_role_binding_spec.rb b/kubernetes/spec/models/v1alpha1_role_binding_spec.rb index 03945d75..5d67cf86 100644 --- a/kubernetes/spec/models/v1alpha1_role_binding_spec.rb +++ b/kubernetes/spec/models/v1alpha1_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_role_list_spec.rb b/kubernetes/spec/models/v1alpha1_role_list_spec.rb index 4c80cc04..05020c46 100644 --- a/kubernetes/spec/models/v1alpha1_role_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_role_ref_spec.rb b/kubernetes/spec/models/v1alpha1_role_ref_spec.rb index afae9b7f..435a1527 100644 --- a/kubernetes/spec/models/v1alpha1_role_ref_spec.rb +++ b/kubernetes/spec/models/v1alpha1_role_ref_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_role_spec.rb b/kubernetes/spec/models/v1alpha1_role_spec.rb index 52c37d1f..9b850906 100644 --- a/kubernetes/spec/models/v1alpha1_role_spec.rb +++ b/kubernetes/spec/models/v1alpha1_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_rule_spec.rb b/kubernetes/spec/models/v1alpha1_rule_spec.rb index 79cc7aee..90995e3e 100644 --- a/kubernetes/spec/models/v1alpha1_rule_spec.rb +++ b/kubernetes/spec/models/v1alpha1_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_service_reference_spec.rb b/kubernetes/spec/models/v1alpha1_service_reference_spec.rb index dba1373a..506a9df8 100644 --- a/kubernetes/spec/models/v1alpha1_service_reference_spec.rb +++ b/kubernetes/spec/models/v1alpha1_service_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -44,5 +44,11 @@ end end + describe 'test attribute "path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1alpha1_subject_spec.rb b/kubernetes/spec/models/v1alpha1_subject_spec.rb index a27d0ed6..88483ba7 100644 --- a/kubernetes/spec/models/v1alpha1_subject_spec.rb +++ b/kubernetes/spec/models/v1alpha1_subject_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_pod_security_policy_list_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb similarity index 75% rename from kubernetes/spec/models/v1beta1_pod_security_policy_list_spec.rb rename to kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb index 4e51f69b..b4fc199a 100644 --- a/kubernetes/spec/models/v1beta1_pod_security_policy_list_spec.rb +++ b/kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1PodSecurityPolicyList +# Unit tests for Kubernetes::V1alpha1VolumeAttachmentList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1PodSecurityPolicyList' do +describe 'V1alpha1VolumeAttachmentList' do before do # run before each test - @instance = Kubernetes::V1beta1PodSecurityPolicyList.new + @instance = Kubernetes::V1alpha1VolumeAttachmentList.new end after do # run after each test end - describe 'test an instance of V1beta1PodSecurityPolicyList' do - it 'should create an instance of V1beta1PodSecurityPolicyList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodSecurityPolicyList) + describe 'test an instance of V1alpha1VolumeAttachmentList' do + it 'should create an instance of V1alpha1VolumeAttachmentList' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentList) end end describe 'test attribute "api_version"' do diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb new file mode 100644 index 00000000..e13cf5ba --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1VolumeAttachmentSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1VolumeAttachmentSource' do + before do + # run before each test + @instance = Kubernetes::V1alpha1VolumeAttachmentSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1VolumeAttachmentSource' do + it 'should create an instance of V1alpha1VolumeAttachmentSource' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentSource) + end + end + describe 'test attribute "persistent_volume_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb new file mode 100644 index 00000000..324dc641 --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1VolumeAttachment +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1VolumeAttachment' do + before do + # run before each test + @instance = Kubernetes::V1alpha1VolumeAttachment.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1VolumeAttachment' do + it 'should create an instance of V1alpha1VolumeAttachment' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachment) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb new file mode 100644 index 00000000..736fffb7 --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1VolumeAttachmentSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1VolumeAttachmentSpec' do + before do + # run before each test + @instance = Kubernetes::V1alpha1VolumeAttachmentSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1VolumeAttachmentSpec' do + it 'should create an instance of V1alpha1VolumeAttachmentSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentSpec) + end + end + describe 'test attribute "attacher"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "node_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "source"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb new file mode 100644 index 00000000..3db95785 --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1VolumeAttachmentStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1VolumeAttachmentStatus' do + before do + # run before each test + @instance = Kubernetes::V1alpha1VolumeAttachmentStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1VolumeAttachmentStatus' do + it 'should create an instance of V1alpha1VolumeAttachmentStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentStatus) + end + end + describe 'test attribute "attach_error"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "attached"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "attachment_metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "detach_error"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_volume_error_spec.rb b/kubernetes/spec/models/v1alpha1_volume_error_spec.rb new file mode 100644 index 00000000..9872cf6a --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_volume_error_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1VolumeError +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1VolumeError' do + before do + # run before each test + @instance = Kubernetes::V1alpha1VolumeError.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1VolumeError' do + it 'should create an instance of V1alpha1VolumeError' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeError) + end + end + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb new file mode 100644 index 00000000..36e3361c --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1WebhookClientConfig +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1WebhookClientConfig' do + before do + # run before each test + @instance = Kubernetes::V1alpha1WebhookClientConfig.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1WebhookClientConfig' do + it 'should create an instance of V1alpha1WebhookClientConfig' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1WebhookClientConfig) + end + end + describe 'test attribute "ca_bundle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "service"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "url"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_webhook_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_spec.rb new file mode 100644 index 00000000..54b3d86d --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_webhook_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1Webhook +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1Webhook' do + before do + # run before each test + @instance = Kubernetes::V1alpha1Webhook.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1Webhook' do + it 'should create an instance of V1alpha1Webhook' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1Webhook) + end + end + describe 'test attribute "client_config"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "throttle"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb new file mode 100644 index 00000000..9677b22a --- /dev/null +++ b/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1alpha1WebhookThrottleConfig +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1alpha1WebhookThrottleConfig' do + before do + # run before each test + @instance = Kubernetes::V1alpha1WebhookThrottleConfig.new + end + + after do + # run after each test + end + + describe 'test an instance of V1alpha1WebhookThrottleConfig' do + it 'should create an instance of V1alpha1WebhookThrottleConfig' do + expect(@instance).to be_instance_of(Kubernetes::V1alpha1WebhookThrottleConfig) + end + end + describe 'test attribute "burst"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "qps"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb b/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb new file mode 100644 index 00000000..66112d29 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1AggregationRule +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1AggregationRule' do + before do + # run before each test + @instance = Kubernetes::V1beta1AggregationRule.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1AggregationRule' do + it 'should create an instance of V1beta1AggregationRule' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1AggregationRule) + end + end + describe 'test attribute "cluster_role_selectors"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb b/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb index 15360dbb..128be9e2 100644 --- a/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb +++ b/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_api_service_list_spec.rb b/kubernetes/spec/models/v1beta1_api_service_list_spec.rb index 54104cc7..0f1768c8 100644 --- a/kubernetes/spec/models/v1beta1_api_service_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_api_service_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_api_service_spec.rb b/kubernetes/spec/models/v1beta1_api_service_spec.rb index e98f17f2..3ebae515 100644 --- a/kubernetes/spec/models/v1beta1_api_service_spec.rb +++ b/kubernetes/spec/models/v1beta1_api_service_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb b/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb index 202874ea..97400daa 100644 --- a/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_api_service_status_spec.rb b/kubernetes/spec/models/v1beta1_api_service_status_spec.rb index 38d90735..0ed81766 100644 --- a/kubernetes/spec/models/v1beta1_api_service_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_api_service_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb index 17ea57f8..f2848123 100644 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb +++ b/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb index 10926a3b..51cc7ad7 100644 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb index 32cfe784..78327e73 100644 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb +++ b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb index f3cf374d..b1e8c397 100644 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb index 2e0044d0..45ed3a81 100644 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb index 08aa5d61..0ae5c574 100644 --- a/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb index 6d4be4b0..418c7631 100644 --- a/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb +++ b/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb index b538a2ac..be7419c4 100644 --- a/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cluster_role_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_spec.rb index af6a9ff3..ea8b53ea 100644 --- a/kubernetes/spec/models/v1beta1_cluster_role_spec.rb +++ b/kubernetes/spec/models/v1beta1_cluster_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1beta1ClusterRole) end end + describe 'test attribute "aggregation_rule"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb b/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb index aa961411..7f0870c7 100644 --- a/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_controller_revision_spec.rb b/kubernetes/spec/models/v1beta1_controller_revision_spec.rb index c9e48cfe..c8012486 100644 --- a/kubernetes/spec/models/v1beta1_controller_revision_spec.rb +++ b/kubernetes/spec/models/v1beta1_controller_revision_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb index e960661f..36e1e793 100644 --- a/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cron_job_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_spec.rb index b1345568..f84c6b94 100644 --- a/kubernetes/spec/models/v1beta1_cron_job_spec.rb +++ b/kubernetes/spec/models/v1beta1_cron_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb index 1689944d..9f2ec4d4 100644 --- a/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb index a6314d4a..fdf0e9b4 100644 --- a/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb new file mode 100644 index 00000000..0c099fed --- /dev/null +++ b/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1CustomResourceColumnDefinition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1CustomResourceColumnDefinition' do + before do + # run before each test + @instance = Kubernetes::V1beta1CustomResourceColumnDefinition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1CustomResourceColumnDefinition' do + it 'should create an instance of V1beta1CustomResourceColumnDefinition' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceColumnDefinition) + end + end + describe 'test attribute "json_path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "description"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "format"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "priority"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb new file mode 100644 index 00000000..b55c2b1a --- /dev/null +++ b/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1CustomResourceConversion +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1CustomResourceConversion' do + before do + # run before each test + @instance = Kubernetes::V1beta1CustomResourceConversion.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1CustomResourceConversion' do + it 'should create an instance of V1beta1CustomResourceConversion' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceConversion) + end + end + describe 'test attribute "strategy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "webhook_client_config"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb index 26382adb..86a1e55a 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb index 53310238..717faf8b 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb index 0971194c..66d79f41 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionNames) end end + describe 'test attribute "categories"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "kind"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb index 3870d509..273d560c 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb index 2e98565c..67365bce 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,18 @@ expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionSpec) end end + describe 'test attribute "additional_printer_columns"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "conversion"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "group"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -50,6 +62,12 @@ end end + describe 'test attribute "subresources"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "validation"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -62,5 +80,11 @@ end end + describe 'test attribute "versions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb index 82decc27..d77cca20 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -44,5 +44,11 @@ end end + describe 'test attribute "stored_versions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb new file mode 100644 index 00000000..1ac9c885 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionVersion +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1CustomResourceDefinitionVersion' do + before do + # run before each test + @instance = Kubernetes::V1beta1CustomResourceDefinitionVersion.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1CustomResourceDefinitionVersion' do + it 'should create an instance of V1beta1CustomResourceDefinitionVersion' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionVersion) + end + end + describe 'test attribute "additional_printer_columns"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "schema"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "served"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "storage"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "subresources"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb new file mode 100644 index 00000000..8291d2dc --- /dev/null +++ b/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1CustomResourceSubresourceScale +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1CustomResourceSubresourceScale' do + before do + # run before each test + @instance = Kubernetes::V1beta1CustomResourceSubresourceScale.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1CustomResourceSubresourceScale' do + it 'should create an instance of V1beta1CustomResourceSubresourceScale' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceSubresourceScale) + end + end + describe 'test attribute "label_selector_path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec_replicas_path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status_replicas_path"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_json_schema_props_or_array_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb similarity index 60% rename from kubernetes/spec/models/v1beta1_json_schema_props_or_array_spec.rb rename to kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb index 7c4b1b06..fe6f51ba 100644 --- a/kubernetes/spec/models/v1beta1_json_schema_props_or_array_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,31 +14,31 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1JSONSchemaPropsOrArray +# Unit tests for Kubernetes::V1beta1CustomResourceSubresources # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1JSONSchemaPropsOrArray' do +describe 'V1beta1CustomResourceSubresources' do before do # run before each test - @instance = Kubernetes::V1beta1JSONSchemaPropsOrArray.new + @instance = Kubernetes::V1beta1CustomResourceSubresources.new end after do # run after each test end - describe 'test an instance of V1beta1JSONSchemaPropsOrArray' do - it 'should create an instance of V1beta1JSONSchemaPropsOrArray' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JSONSchemaPropsOrArray) + describe 'test an instance of V1beta1CustomResourceSubresources' do + it 'should create an instance of V1beta1CustomResourceSubresources' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceSubresources) end end - describe 'test attribute "json_schemas"' do + describe 'test attribute "scale"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "schema"' do + describe 'test attribute "status"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb index 7a8dc481..c0252d0b 100644 --- a/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb +++ b/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb new file mode 100644 index 00000000..b610d729 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1DaemonSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1DaemonSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1beta1DaemonSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1DaemonSetCondition' do + it 'should create an instance of V1beta1DaemonSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb index bbea70af..b9d0bed7 100644 --- a/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_daemon_set_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_spec.rb index 92ad998d..103141cd 100644 --- a/kubernetes/spec/models/v1beta1_daemon_set_spec.rb +++ b/kubernetes/spec/models/v1beta1_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb index 332c8777..78ff7841 100644 --- a/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb index b5cfad9a..bcc7bd00 100644 --- a/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "current_number_scheduled"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb index 2151d7f3..1ed1b60a 100644 --- a/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_event_list_spec.rb b/kubernetes/spec/models/v1beta1_event_list_spec.rb new file mode 100644 index 00000000..1d02b886 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_event_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1EventList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1EventList' do + before do + # run before each test + @instance = Kubernetes::V1beta1EventList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1EventList' do + it 'should create an instance of V1beta1EventList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1EventList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_event_series_spec.rb b/kubernetes/spec/models/v1beta1_event_series_spec.rb new file mode 100644 index 00000000..1409132e --- /dev/null +++ b/kubernetes/spec/models/v1beta1_event_series_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1EventSeries +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1EventSeries' do + before do + # run before each test + @instance = Kubernetes::V1beta1EventSeries.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1EventSeries' do + it 'should create an instance of V1beta1EventSeries' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1EventSeries) + end + end + describe 'test attribute "count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "last_observed_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "state"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_event_spec.rb b/kubernetes/spec/models/v1beta1_event_spec.rb new file mode 100644 index 00000000..ea4262a0 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_event_spec.rb @@ -0,0 +1,138 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1Event +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1Event' do + before do + # run before each test + @instance = Kubernetes::V1beta1Event.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1Event' do + it 'should create an instance of V1beta1Event' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1Event) + end + end + describe 'test attribute "action"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "deprecated_count"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "deprecated_first_timestamp"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "deprecated_last_timestamp"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "deprecated_source"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "event_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "note"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "regarding"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "related"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reporting_controller"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reporting_instance"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "series"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_eviction_spec.rb b/kubernetes/spec/models/v1beta1_eviction_spec.rb index f29621e7..7af59a34 100644 --- a/kubernetes/spec/models/v1beta1_eviction_spec.rb +++ b/kubernetes/spec/models/v1beta1_eviction_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_external_documentation_spec.rb b/kubernetes/spec/models/v1beta1_external_documentation_spec.rb index 77376708..fc8ae1b6 100644 --- a/kubernetes/spec/models/v1beta1_external_documentation_spec.rb +++ b/kubernetes/spec/models/v1beta1_external_documentation_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb b/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb index fc99c435..0dfb3247 100644 --- a/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb +++ b/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb b/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb index 1281ab07..1804cccb 100644 --- a/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb +++ b/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb b/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb index 6d9a2718..bbc20fb1 100644 --- a/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_list_spec.rb b/kubernetes/spec/models/v1beta1_ingress_list_spec.rb index 067443d7..6c34fd3b 100644 --- a/kubernetes/spec/models/v1beta1_ingress_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb b/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb index 6f6ed4bf..0ad8fb03 100644 --- a/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_spec.rb b/kubernetes/spec/models/v1beta1_ingress_spec.rb index 68d99721..7283418e 100644 --- a/kubernetes/spec/models/v1beta1_ingress_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb b/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb index ae1deb98..8a6dd025 100644 --- a/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_status_spec.rb b/kubernetes/spec/models/v1beta1_ingress_status_spec.rb index b0fd40b8..8119224a 100644 --- a/kubernetes/spec/models/v1beta1_ingress_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb b/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb index 76dcf313..415e26f9 100644 --- a/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb +++ b/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_ip_block_spec.rb b/kubernetes/spec/models/v1beta1_ip_block_spec.rb index c6640a20..786c9eba 100644 --- a/kubernetes/spec/models/v1beta1_ip_block_spec.rb +++ b/kubernetes/spec/models/v1beta1_ip_block_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb b/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb index bbd316c4..0f3cb918 100644 --- a/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb b/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb index 8bb9c898..dbf3dcbb 100644 --- a/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb +++ b/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_lease_list_spec.rb b/kubernetes/spec/models/v1beta1_lease_list_spec.rb new file mode 100644 index 00000000..977a5e11 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_lease_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1LeaseList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1LeaseList' do + before do + # run before each test + @instance = Kubernetes::V1beta1LeaseList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1LeaseList' do + it 'should create an instance of V1beta1LeaseList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1LeaseList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_lease_spec.rb b/kubernetes/spec/models/v1beta1_lease_spec.rb new file mode 100644 index 00000000..81b21a99 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_lease_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1Lease +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1Lease' do + before do + # run before each test + @instance = Kubernetes::V1beta1Lease.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1Lease' do + it 'should create an instance of V1beta1Lease' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1Lease) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_lease_spec_spec.rb b/kubernetes/spec/models/v1beta1_lease_spec_spec.rb new file mode 100644 index 00000000..bcef389d --- /dev/null +++ b/kubernetes/spec/models/v1beta1_lease_spec_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1LeaseSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1LeaseSpec' do + before do + # run before each test + @instance = Kubernetes::V1beta1LeaseSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1LeaseSpec' do + it 'should create an instance of V1beta1LeaseSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1LeaseSpec) + end + end + describe 'test attribute "acquire_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "holder_identity"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "lease_duration_seconds"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "lease_transitions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "renew_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb index 92d35ed4..cdafe3b4 100644 --- a/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb new file mode 100644 index 00000000..59fbbfd1 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1MutatingWebhookConfigurationList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1MutatingWebhookConfigurationList' do + before do + # run before each test + @instance = Kubernetes::V1beta1MutatingWebhookConfigurationList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1MutatingWebhookConfigurationList' do + it 'should create an instance of V1beta1MutatingWebhookConfigurationList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1MutatingWebhookConfigurationList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb new file mode 100644 index 00000000..12d811d9 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1MutatingWebhookConfiguration +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1MutatingWebhookConfiguration' do + before do + # run before each test + @instance = Kubernetes::V1beta1MutatingWebhookConfiguration.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1MutatingWebhookConfiguration' do + it 'should create an instance of V1beta1MutatingWebhookConfiguration' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1MutatingWebhookConfiguration) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "webhooks"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb index 3dda11be..ec0a0c7c 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb index 6e0f1520..23c824f1 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb index 8c4a77ce..24fcefac 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb index 0260845c..da4e54c8 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb index dd141cd7..7653fc0d 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_spec.rb index 9841dc7d..2aa9a484 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb index 261cda4c..07e367ae 100644 --- a/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb b/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb index bd8f84f4..35c85128 100644 --- a/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb +++ b/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb b/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb index d9b53369..5974a748 100644 --- a/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb index ad55e9a2..34349696 100644 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb index 1787d91c..b0d5be9c 100644 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb +++ b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb index cbb85ad3..9c2791aa 100644 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb index 54078924..8aea209d 100644 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_policy_rule_spec.rb b/kubernetes/spec/models/v1beta1_policy_rule_spec.rb index 41611354..07c2e17c 100644 --- a/kubernetes/spec/models/v1beta1_policy_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_policy_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb b/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb new file mode 100644 index 00000000..0eebaef0 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1PriorityClassList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1PriorityClassList' do + before do + # run before each test + @instance = Kubernetes::V1beta1PriorityClassList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1PriorityClassList' do + it 'should create an instance of V1beta1PriorityClassList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1PriorityClassList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_priority_class_spec.rb b/kubernetes/spec/models/v1beta1_priority_class_spec.rb new file mode 100644 index 00000000..db44e270 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_priority_class_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1PriorityClass +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1PriorityClass' do + before do + # run before each test + @instance = Kubernetes::V1beta1PriorityClass.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1PriorityClass' do + it 'should create an instance of V1beta1PriorityClass' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1PriorityClass) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "description"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "global_default"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb index 7a13067c..cc7c6500 100644 --- a/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb +++ b/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb index 876950b1..94539aa2 100644 --- a/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_replica_set_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_spec.rb index 57d65337..be824d5e 100644 --- a/kubernetes/spec/models/v1beta1_replica_set_spec.rb +++ b/kubernetes/spec/models/v1beta1_replica_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb index 994e50df..75295510 100644 --- a/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb index dba942fb..d1ec49c6 100644 --- a/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb b/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb index aa4a6e67..68485638 100644 --- a/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb +++ b/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_resource_rule_spec.rb b/kubernetes/spec/models/v1beta1_resource_rule_spec.rb index a8dd5b2a..d080cd1b 100644 --- a/kubernetes/spec/models/v1beta1_resource_rule_spec.rb +++ b/kubernetes/spec/models/v1beta1_resource_rule_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb b/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb index ebecb8bc..72d88b27 100644 --- a/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_role_binding_spec.rb b/kubernetes/spec/models/v1beta1_role_binding_spec.rb index 3bf66ce9..34fd87fb 100644 --- a/kubernetes/spec/models/v1beta1_role_binding_spec.rb +++ b/kubernetes/spec/models/v1beta1_role_binding_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_role_list_spec.rb b/kubernetes/spec/models/v1beta1_role_list_spec.rb index f85a971f..847297ad 100644 --- a/kubernetes/spec/models/v1beta1_role_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_role_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_role_ref_spec.rb b/kubernetes/spec/models/v1beta1_role_ref_spec.rb index aad3767a..9eabb21b 100644 --- a/kubernetes/spec/models/v1beta1_role_ref_spec.rb +++ b/kubernetes/spec/models/v1beta1_role_ref_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_role_spec.rb b/kubernetes/spec/models/v1beta1_role_spec.rb index ccaf51a3..055a3399 100644 --- a/kubernetes/spec/models/v1beta1_role_spec.rb +++ b/kubernetes/spec/models/v1beta1_role_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb index bf37f094..27dee101 100644 --- a/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb +++ b/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb index b73a43b3..8bf2cf16 100644 --- a/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_rule_with_operations_spec.rb b/kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb similarity index 76% rename from kubernetes/spec/models/v1alpha1_rule_with_operations_spec.rb rename to kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb index dffd5eeb..f2e902d7 100644 --- a/kubernetes/spec/models/v1alpha1_rule_with_operations_spec.rb +++ b/kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1alpha1RuleWithOperations +# Unit tests for Kubernetes::V1beta1RuleWithOperations # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1alpha1RuleWithOperations' do +describe 'V1beta1RuleWithOperations' do before do # run before each test - @instance = Kubernetes::V1alpha1RuleWithOperations.new + @instance = Kubernetes::V1beta1RuleWithOperations.new end after do # run after each test end - describe 'test an instance of V1alpha1RuleWithOperations' do - it 'should create an instance of V1alpha1RuleWithOperations' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1RuleWithOperations) + describe 'test an instance of V1beta1RuleWithOperations' do + it 'should create an instance of V1beta1RuleWithOperations' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1RuleWithOperations) end end describe 'test attribute "api_groups"' do diff --git a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb index 9056b0a3..ec55f8b9 100644 --- a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb index c12b0aba..970b72a0 100644 --- a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb index 60108fcc..1e871c99 100644 --- a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb +++ b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb index 1d70cbe7..dd99944f 100644 --- a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb new file mode 100644 index 00000000..ed60eb9f --- /dev/null +++ b/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1StatefulSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1StatefulSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1beta1StatefulSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1StatefulSetCondition' do + it 'should create an instance of V1beta1StatefulSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb index 1e295869..fc7a449b 100644 --- a/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_stateful_set_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_spec.rb index de091a71..8e1742b7 100644 --- a/kubernetes/spec/models/v1beta1_stateful_set_spec.rb +++ b/kubernetes/spec/models/v1beta1_stateful_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb index c8c8a408..85069df2 100644 --- a/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb index 0b7697ce..e1796e41 100644 --- a/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "current_replicas"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb index 6f957be3..13d592c9 100644 --- a/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb b/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb index 6da1d061..a8c0236a 100644 --- a/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_storage_class_spec.rb b/kubernetes/spec/models/v1beta1_storage_class_spec.rb index 126f500d..fe67ecda 100644 --- a/kubernetes/spec/models/v1beta1_storage_class_spec.rb +++ b/kubernetes/spec/models/v1beta1_storage_class_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "allowed_topologies"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "api_version"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -80,5 +86,11 @@ end end + describe 'test attribute "volume_binding_mode"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb index 7342b400..5957316e 100644 --- a/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb +++ b/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb index 13f52406..7ea62c6d 100644 --- a/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb index c484334d..4d7e5eaa 100644 --- a/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "denied"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "evaluation_error"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb b/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb index 7740580e..8c5a5d4a 100644 --- a/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_subject_spec.rb b/kubernetes/spec/models/v1beta1_subject_spec.rb index 25106b8c..5b6efe5f 100644 --- a/kubernetes/spec/models/v1beta1_subject_spec.rb +++ b/kubernetes/spec/models/v1beta1_subject_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_token_review_spec.rb b/kubernetes/spec/models/v1beta1_token_review_spec.rb index 205a6bab..49c589cd 100644 --- a/kubernetes/spec/models/v1beta1_token_review_spec.rb +++ b/kubernetes/spec/models/v1beta1_token_review_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb index 4f1a2a24..43fac9e3 100644 --- a/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb +++ b/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1beta1TokenReviewSpec) end end + describe 'test attribute "audiences"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_token_review_status_spec.rb b/kubernetes/spec/models/v1beta1_token_review_status_spec.rb index 63cb4e4a..9a61e0b8 100644 --- a/kubernetes/spec/models/v1beta1_token_review_status_spec.rb +++ b/kubernetes/spec/models/v1beta1_token_review_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V1beta1TokenReviewStatus) end end + describe 'test attribute "audiences"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "authenticated"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta1_user_info_spec.rb b/kubernetes/spec/models/v1beta1_user_info_spec.rb index 102457e1..923f13d6 100644 --- a/kubernetes/spec/models/v1beta1_user_info_spec.rb +++ b/kubernetes/spec/models/v1beta1_user_info_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_list_spec.rb b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb similarity index 71% rename from kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_list_spec.rb rename to kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb index 968664be..c7fccbcd 100644 --- a/kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_list_spec.rb +++ b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1alpha1ExternalAdmissionHookConfigurationList +# Unit tests for Kubernetes::V1beta1ValidatingWebhookConfigurationList # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1alpha1ExternalAdmissionHookConfigurationList' do +describe 'V1beta1ValidatingWebhookConfigurationList' do before do # run before each test - @instance = Kubernetes::V1alpha1ExternalAdmissionHookConfigurationList.new + @instance = Kubernetes::V1beta1ValidatingWebhookConfigurationList.new end after do # run after each test end - describe 'test an instance of V1alpha1ExternalAdmissionHookConfigurationList' do - it 'should create an instance of V1alpha1ExternalAdmissionHookConfigurationList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ExternalAdmissionHookConfigurationList) + describe 'test an instance of V1beta1ValidatingWebhookConfigurationList' do + it 'should create an instance of V1beta1ValidatingWebhookConfigurationList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1ValidatingWebhookConfigurationList) end end describe 'test attribute "api_version"' do diff --git a/kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_spec.rb b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb similarity index 69% rename from kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_spec.rb rename to kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb index a588d52d..caf6e943 100644 --- a/kubernetes/spec/models/v1alpha1_external_admission_hook_configuration_spec.rb +++ b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,22 +14,22 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1alpha1ExternalAdmissionHookConfiguration +# Unit tests for Kubernetes::V1beta1ValidatingWebhookConfiguration # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1alpha1ExternalAdmissionHookConfiguration' do +describe 'V1beta1ValidatingWebhookConfiguration' do before do # run before each test - @instance = Kubernetes::V1alpha1ExternalAdmissionHookConfiguration.new + @instance = Kubernetes::V1beta1ValidatingWebhookConfiguration.new end after do # run after each test end - describe 'test an instance of V1alpha1ExternalAdmissionHookConfiguration' do - it 'should create an instance of V1alpha1ExternalAdmissionHookConfiguration' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ExternalAdmissionHookConfiguration) + describe 'test an instance of V1beta1ValidatingWebhookConfiguration' do + it 'should create an instance of V1beta1ValidatingWebhookConfiguration' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1ValidatingWebhookConfiguration) end end describe 'test attribute "api_version"' do @@ -38,19 +38,19 @@ end end - describe 'test attribute "external_admission_hooks"' do + describe 'test attribute "kind"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "kind"' do + describe 'test attribute "metadata"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "metadata"' do + describe 'test attribute "webhooks"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb new file mode 100644 index 00000000..ce007fd1 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeAttachmentList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeAttachmentList' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeAttachmentList.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeAttachmentList' do + it 'should create an instance of V1beta1VolumeAttachmentList' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb new file mode 100644 index 00000000..7fa738a6 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb @@ -0,0 +1,42 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeAttachmentSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeAttachmentSource' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeAttachmentSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeAttachmentSource' do + it 'should create an instance of V1beta1VolumeAttachmentSource' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentSource) + end + end + describe 'test attribute "persistent_volume_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb new file mode 100644 index 00000000..cd51f465 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeAttachment +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeAttachment' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeAttachment.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeAttachment' do + it 'should create an instance of V1beta1VolumeAttachment' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachment) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb new file mode 100644 index 00000000..26d18071 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeAttachmentSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeAttachmentSpec' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeAttachmentSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeAttachmentSpec' do + it 'should create an instance of V1beta1VolumeAttachmentSpec' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentSpec) + end + end + describe 'test attribute "attacher"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "node_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "source"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb new file mode 100644 index 00000000..2d1d609e --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeAttachmentStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeAttachmentStatus' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeAttachmentStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeAttachmentStatus' do + it 'should create an instance of V1beta1VolumeAttachmentStatus' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentStatus) + end + end + describe 'test attribute "attach_error"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "attached"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "attachment_metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "detach_error"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_volume_error_spec.rb b/kubernetes/spec/models/v1beta1_volume_error_spec.rb new file mode 100644 index 00000000..5bcba142 --- /dev/null +++ b/kubernetes/spec/models/v1beta1_volume_error_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1VolumeError +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1VolumeError' do + before do + # run before each test + @instance = Kubernetes::V1beta1VolumeError.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1VolumeError' do + it 'should create an instance of V1beta1VolumeError' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeError) + end + end + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_webhook_spec.rb b/kubernetes/spec/models/v1beta1_webhook_spec.rb new file mode 100644 index 00000000..90b7510b --- /dev/null +++ b/kubernetes/spec/models/v1beta1_webhook_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta1Webhook +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta1Webhook' do + before do + # run before each test + @instance = Kubernetes::V1beta1Webhook.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta1Webhook' do + it 'should create an instance of V1beta1Webhook' do + expect(@instance).to be_instance_of(Kubernetes::V1beta1Webhook) + end + end + describe 'test attribute "client_config"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "failure_policy"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "namespace_selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "rules"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "side_effects"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb b/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb index 4b0e359d..4ca2776e 100644 --- a/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb +++ b/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_controller_revision_spec.rb b/kubernetes/spec/models/v1beta2_controller_revision_spec.rb index 89a1abf5..679b1682 100644 --- a/kubernetes/spec/models/v1beta2_controller_revision_spec.rb +++ b/kubernetes/spec/models/v1beta2_controller_revision_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb new file mode 100644 index 00000000..ea3bc19f --- /dev/null +++ b/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta2DaemonSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta2DaemonSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1beta2DaemonSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta2DaemonSetCondition' do + it 'should create an instance of V1beta2DaemonSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb index 0a51ea19..8f5df550 100644 --- a/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_daemon_set_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_spec.rb index b78529c8..83ec5d87 100644 --- a/kubernetes/spec/models/v1beta2_daemon_set_spec.rb +++ b/kubernetes/spec/models/v1beta2_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb index 6a4d2248..91710a1e 100644 --- a/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb index cf60c3ce..37c2e7d6 100644 --- a/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "current_number_scheduled"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb index 889b3c05..4e8e93e1 100644 --- a/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb b/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb index 6d44188d..6d03a200 100644 --- a/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_list_spec.rb b/kubernetes/spec/models/v1beta2_deployment_list_spec.rb index b8933bfb..3a431c99 100644 --- a/kubernetes/spec/models/v1beta2_deployment_list_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_spec.rb b/kubernetes/spec/models/v1beta2_deployment_spec.rb index 2bdb1b39..3f8c3bb4 100644 --- a/kubernetes/spec/models/v1beta2_deployment_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb b/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb index e9a93952..035438ee 100644 --- a/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_status_spec.rb b/kubernetes/spec/models/v1beta2_deployment_status_spec.rb index 253ca6eb..30de32b8 100644 --- a/kubernetes/spec/models/v1beta2_deployment_status_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb b/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb index 8dff3bf6..6215361c 100644 --- a/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb index 1684f83c..cecfce22 100644 --- a/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb +++ b/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb index d14c0d24..1eccff94 100644 --- a/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_replica_set_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_spec.rb index a02441ef..3f7670a5 100644 --- a/kubernetes/spec/models/v1beta2_replica_set_spec.rb +++ b/kubernetes/spec/models/v1beta2_replica_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb index 94b05a37..8de6f7d6 100644 --- a/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb index e4678373..2241f825 100644 --- a/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb index b01e549f..412cd3bf 100644 --- a/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb +++ b/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb index 7bd2fb5e..d9bc59db 100644 --- a/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb +++ b/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb index 65bce534..60be044d 100644 --- a/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_scale_spec.rb b/kubernetes/spec/models/v1beta2_scale_spec.rb index d067c719..2a30258b 100644 --- a/kubernetes/spec/models/v1beta2_scale_spec.rb +++ b/kubernetes/spec/models/v1beta2_scale_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_scale_spec_spec.rb b/kubernetes/spec/models/v1beta2_scale_spec_spec.rb index 05ab03fe..f9e196c3 100644 --- a/kubernetes/spec/models/v1beta2_scale_spec_spec.rb +++ b/kubernetes/spec/models/v1beta2_scale_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_scale_status_spec.rb b/kubernetes/spec/models/v1beta2_scale_status_spec.rb index 39fdd609..4413be3a 100644 --- a/kubernetes/spec/models/v1beta2_scale_status_spec.rb +++ b/kubernetes/spec/models/v1beta2_scale_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb new file mode 100644 index 00000000..0eac1fcf --- /dev/null +++ b/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V1beta2StatefulSetCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V1beta2StatefulSetCondition' do + before do + # run before each test + @instance = Kubernetes::V1beta2StatefulSetCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V1beta2StatefulSetCondition' do + it 'should create an instance of V1beta2StatefulSetCondition' do + expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb index 0ea3ca20..bd516821 100644 --- a/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb +++ b/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_stateful_set_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_spec.rb index c9e2008b..40f7fd24 100644 --- a/kubernetes/spec/models/v1beta2_stateful_set_spec.rb +++ b/kubernetes/spec/models/v1beta2_stateful_set_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb index 442d710b..2c3878ea 100644 --- a/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb +++ b/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb index e3ab8e38..eea6c283 100644 --- a/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb +++ b/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "current_replicas"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb index a60d80e4..67bef96a 100644 --- a/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb +++ b/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb index 0f6c87b0..b0a00402 100644 --- a/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb +++ b/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2alpha1_cron_job_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_spec.rb index dbe41ae3..d889fca6 100644 --- a/kubernetes/spec/models/v2alpha1_cron_job_spec.rb +++ b/kubernetes/spec/models/v2alpha1_cron_job_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb index 975d1fae..6a378f4b 100644 --- a/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb +++ b/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb index cf5ccffc..167fb0a5 100644 --- a/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb +++ b/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb b/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb index f6f01732..cc0a5cf5 100644 --- a/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb +++ b/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb index 808a2ebb..c9545de6 100644 --- a/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb +++ b/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb new file mode 100644 index 00000000..86262497 --- /dev/null +++ b/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta1ExternalMetricSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta1ExternalMetricSource' do + before do + # run before each test + @instance = Kubernetes::V2beta1ExternalMetricSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta1ExternalMetricSource' do + it 'should create an instance of V2beta1ExternalMetricSource' do + expect(@instance).to be_instance_of(Kubernetes::V2beta1ExternalMetricSource) + end + end + describe 'test attribute "metric_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric_selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target_average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb new file mode 100644 index 00000000..16f2387c --- /dev/null +++ b/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta1ExternalMetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta1ExternalMetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta1ExternalMetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta1ExternalMetricStatus' do + it 'should create an instance of V2beta1ExternalMetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta1ExternalMetricStatus) + end + end + describe 'test attribute "current_average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric_name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric_selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb index baac190c..c46ee26b 100644 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb +++ b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb index a0af2cbb..cfb4eb69 100644 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb +++ b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb index b9ba09a8..4193d897 100644 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb +++ b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb index a0eae8dc..81853b9c 100644 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb +++ b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb index 04199fda..c0999d5d 100644 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb +++ b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_metric_spec_spec.rb b/kubernetes/spec/models/v2beta1_metric_spec_spec.rb index 5ced0a42..c796cf35 100644 --- a/kubernetes/spec/models/v2beta1_metric_spec_spec.rb +++ b/kubernetes/spec/models/v2beta1_metric_spec_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V2beta1MetricSpec) end end + describe 'test attribute "external"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "object"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v2beta1_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_metric_status_spec.rb index 6836f05c..0c08969d 100644 --- a/kubernetes/spec/models/v2beta1_metric_status_spec.rb +++ b/kubernetes/spec/models/v2beta1_metric_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V2beta1MetricStatus) end end + describe 'test attribute "external"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "object"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb index 79d12255..9419578f 100644 --- a/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb +++ b/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,12 +32,24 @@ expect(@instance).to be_instance_of(Kubernetes::V2beta1ObjectMetricSource) end end + describe 'test attribute "average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "metric_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "target"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb index d41ec3c7..b0f90d11 100644 --- a/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb +++ b/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -32,6 +32,12 @@ expect(@instance).to be_instance_of(Kubernetes::V2beta1ObjectMetricStatus) end end + describe 'test attribute "average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "current_value"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers @@ -44,6 +50,12 @@ end end + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "target"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb index 131fc96f..0e6ea329 100644 --- a/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb +++ b/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -38,6 +38,12 @@ end end + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + describe 'test attribute "target_average_value"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers diff --git a/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb index b017d0a1..bdfb9fc4 100644 --- a/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb +++ b/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -44,5 +44,11 @@ end end + describe 'test attribute "selector"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + end diff --git a/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb index df5ca8d2..116518f6 100644 --- a/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb +++ b/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb index d8447399..deb5ee0e 100644 --- a/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb +++ b/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb new file mode 100644 index 00000000..b4171c46 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2CrossVersionObjectReference +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2CrossVersionObjectReference' do + before do + # run before each test + @instance = Kubernetes::V2beta2CrossVersionObjectReference.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2CrossVersionObjectReference' do + it 'should create an instance of V2beta2CrossVersionObjectReference' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2CrossVersionObjectReference) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb new file mode 100644 index 00000000..f79d26da --- /dev/null +++ b/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ExternalMetricSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ExternalMetricSource' do + before do + # run before each test + @instance = Kubernetes::V2beta2ExternalMetricSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ExternalMetricSource' do + it 'should create an instance of V2beta2ExternalMetricSource' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ExternalMetricSource) + end + end + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb new file mode 100644 index 00000000..9e671d26 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ExternalMetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ExternalMetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2ExternalMetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ExternalMetricStatus' do + it 'should create an instance of V2beta2ExternalMetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ExternalMetricStatus) + end + end + describe 'test attribute "current"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb new file mode 100644 index 00000000..5fdeee03 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerCondition +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2HorizontalPodAutoscalerCondition' do + before do + # run before each test + @instance = Kubernetes::V2beta2HorizontalPodAutoscalerCondition.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2HorizontalPodAutoscalerCondition' do + it 'should create an instance of V2beta2HorizontalPodAutoscalerCondition' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerCondition) + end + end + describe 'test attribute "last_transition_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "message"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "reason"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb new file mode 100644 index 00000000..0ff9f4b8 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerList +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2HorizontalPodAutoscalerList' do + before do + # run before each test + @instance = Kubernetes::V2beta2HorizontalPodAutoscalerList.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2HorizontalPodAutoscalerList' do + it 'should create an instance of V2beta2HorizontalPodAutoscalerList' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerList) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "items"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb new file mode 100644 index 00000000..f70af63e --- /dev/null +++ b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscaler +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2HorizontalPodAutoscaler' do + before do + # run before each test + @instance = Kubernetes::V2beta2HorizontalPodAutoscaler.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2HorizontalPodAutoscaler' do + it 'should create an instance of V2beta2HorizontalPodAutoscaler' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscaler) + end + end + describe 'test attribute "api_version"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "kind"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metadata"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "spec"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "status"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb new file mode 100644 index 00000000..ccd9e284 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2HorizontalPodAutoscalerSpec' do + before do + # run before each test + @instance = Kubernetes::V2beta2HorizontalPodAutoscalerSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2HorizontalPodAutoscalerSpec' do + it 'should create an instance of V2beta2HorizontalPodAutoscalerSpec' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerSpec) + end + end + describe 'test attribute "max_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metrics"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "min_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "scale_target_ref"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb new file mode 100644 index 00000000..3010e56a --- /dev/null +++ b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb @@ -0,0 +1,72 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2HorizontalPodAutoscalerStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2HorizontalPodAutoscalerStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2HorizontalPodAutoscalerStatus' do + it 'should create an instance of V2beta2HorizontalPodAutoscalerStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerStatus) + end + end + describe 'test attribute "conditions"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_metrics"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "current_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "desired_replicas"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "last_scale_time"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "observed_generation"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v1beta1_json_schema_props_or_bool_spec.rb b/kubernetes/spec/models/v2beta2_metric_identifier_spec.rb similarity index 62% rename from kubernetes/spec/models/v1beta1_json_schema_props_or_bool_spec.rb rename to kubernetes/spec/models/v2beta2_metric_identifier_spec.rb index b805c5aa..a47bd179 100644 --- a/kubernetes/spec/models/v1beta1_json_schema_props_or_bool_spec.rb +++ b/kubernetes/spec/models/v2beta2_metric_identifier_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -14,31 +14,31 @@ require 'json' require 'date' -# Unit tests for Kubernetes::V1beta1JSONSchemaPropsOrBool +# Unit tests for Kubernetes::V2beta2MetricIdentifier # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate -describe 'V1beta1JSONSchemaPropsOrBool' do +describe 'V2beta2MetricIdentifier' do before do # run before each test - @instance = Kubernetes::V1beta1JSONSchemaPropsOrBool.new + @instance = Kubernetes::V2beta2MetricIdentifier.new end after do # run after each test end - describe 'test an instance of V1beta1JSONSchemaPropsOrBool' do - it 'should create an instance of V1beta1JSONSchemaPropsOrBool' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JSONSchemaPropsOrBool) + describe 'test an instance of V2beta2MetricIdentifier' do + it 'should create an instance of V2beta2MetricIdentifier' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricIdentifier) end end - describe 'test attribute "allows"' do + describe 'test attribute "name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end - describe 'test attribute "schema"' do + describe 'test attribute "selector"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end diff --git a/kubernetes/spec/models/v2beta2_metric_spec_spec.rb b/kubernetes/spec/models/v2beta2_metric_spec_spec.rb new file mode 100644 index 00000000..f0b4f8b0 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_metric_spec_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2MetricSpec +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2MetricSpec' do + before do + # run before each test + @instance = Kubernetes::V2beta2MetricSpec.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2MetricSpec' do + it 'should create an instance of V2beta2MetricSpec' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricSpec) + end + end + describe 'test attribute "external"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "object"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "pods"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "resource"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_metric_status_spec.rb new file mode 100644 index 00000000..87b9a587 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_metric_status_spec.rb @@ -0,0 +1,66 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2MetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2MetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2MetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2MetricStatus' do + it 'should create an instance of V2beta2MetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricStatus) + end + end + describe 'test attribute "external"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "object"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "pods"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "resource"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_metric_target_spec.rb b/kubernetes/spec/models/v2beta2_metric_target_spec.rb new file mode 100644 index 00000000..c625e472 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_metric_target_spec.rb @@ -0,0 +1,60 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2MetricTarget +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2MetricTarget' do + before do + # run before each test + @instance = Kubernetes::V2beta2MetricTarget.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2MetricTarget' do + it 'should create an instance of V2beta2MetricTarget' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricTarget) + end + end + describe 'test attribute "average_utilization"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "type"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb b/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb new file mode 100644 index 00000000..c82336b1 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2MetricValueStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2MetricValueStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2MetricValueStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2MetricValueStatus' do + it 'should create an instance of V2beta2MetricValueStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricValueStatus) + end + end + describe 'test attribute "average_utilization"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "average_value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "value"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb new file mode 100644 index 00000000..61c7642b --- /dev/null +++ b/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ObjectMetricSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ObjectMetricSource' do + before do + # run before each test + @instance = Kubernetes::V2beta2ObjectMetricSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ObjectMetricSource' do + it 'should create an instance of V2beta2ObjectMetricSource' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ObjectMetricSource) + end + end + describe 'test attribute "described_object"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb new file mode 100644 index 00000000..ce7d00d3 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb @@ -0,0 +1,54 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ObjectMetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ObjectMetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2ObjectMetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ObjectMetricStatus' do + it 'should create an instance of V2beta2ObjectMetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ObjectMetricStatus) + end + end + describe 'test attribute "current"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "described_object"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb new file mode 100644 index 00000000..2862550e --- /dev/null +++ b/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2PodsMetricSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2PodsMetricSource' do + before do + # run before each test + @instance = Kubernetes::V2beta2PodsMetricSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2PodsMetricSource' do + it 'should create an instance of V2beta2PodsMetricSource' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2PodsMetricSource) + end + end + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb new file mode 100644 index 00000000..517b0af7 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2PodsMetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2PodsMetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2PodsMetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2PodsMetricStatus' do + it 'should create an instance of V2beta2PodsMetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2PodsMetricStatus) + end + end + describe 'test attribute "current"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "metric"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb new file mode 100644 index 00000000..0be37789 --- /dev/null +++ b/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ResourceMetricSource +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ResourceMetricSource' do + before do + # run before each test + @instance = Kubernetes::V2beta2ResourceMetricSource.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ResourceMetricSource' do + it 'should create an instance of V2beta2ResourceMetricSource' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ResourceMetricSource) + end + end + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "target"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb new file mode 100644 index 00000000..2c5d1e1e --- /dev/null +++ b/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb @@ -0,0 +1,48 @@ +=begin +#Kubernetes + +#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + +OpenAPI spec version: v1.13.4 + +Generated by: https://github.com/swagger-api/swagger-codegen.git +Swagger Codegen version: 2.2.3 + +=end + +require 'spec_helper' +require 'json' +require 'date' + +# Unit tests for Kubernetes::V2beta2ResourceMetricStatus +# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +# Please update as you see appropriate +describe 'V2beta2ResourceMetricStatus' do + before do + # run before each test + @instance = Kubernetes::V2beta2ResourceMetricStatus.new + end + + after do + # run after each test + end + + describe 'test an instance of V2beta2ResourceMetricStatus' do + it 'should create an instance of V2beta2ResourceMetricStatus' do + expect(@instance).to be_instance_of(Kubernetes::V2beta2ResourceMetricStatus) + end + end + describe 'test attribute "current"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + + describe 'test attribute "name"' do + it 'should work' do + # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers + end + end + +end + diff --git a/kubernetes/spec/models/version_info_spec.rb b/kubernetes/spec/models/version_info_spec.rb index 707fa1e4..cbb8d9bf 100644 --- a/kubernetes/spec/models/version_info_spec.rb +++ b/kubernetes/spec/models/version_info_spec.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 diff --git a/kubernetes/spec/spec_helper.rb b/kubernetes/spec/spec_helper.rb index e4725bdf..6160b4d2 100644 --- a/kubernetes/spec/spec_helper.rb +++ b/kubernetes/spec/spec_helper.rb @@ -3,7 +3,7 @@ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) -OpenAPI spec version: v1.8.3 +OpenAPI spec version: v1.13.4 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3 @@ -12,7 +12,6 @@ # load the gem require 'kubernetes' -require 'helpers/file_fixtures' # The following was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. @@ -56,8 +55,6 @@ mocks.verify_partial_doubles = true end - config.include Kubernetes::Testing::FileFixtures - # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content. =begin diff --git a/kubernetes/swagger.json b/kubernetes/swagger.json index 12d633ee..ee6617ef 100644 --- a/kubernetes/swagger.json +++ b/kubernetes/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.8.3" + "version": "v1.13.4" }, "paths": { "/api/": { @@ -113,7 +113,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -162,7 +162,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -271,7 +271,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -320,7 +320,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -375,7 +375,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -424,7 +424,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -479,7 +479,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -528,7 +528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -583,7 +583,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -632,7 +632,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -669,7 +669,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -680,13 +680,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -711,7 +704,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -766,6 +759,13 @@ "schema": { "$ref": "#/definitions/v1.Namespace" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -775,6 +775,18 @@ "$ref": "#/definitions/v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Namespace" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -784,9 +796,17 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -831,6 +851,18 @@ "$ref": "#/definitions/v1.Binding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Binding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Binding" + } + }, "401": { "description": "Unauthorized" } @@ -840,9 +872,24 @@ "group": "", "kind": "Binding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -884,7 +931,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -895,13 +942,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -926,7 +966,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -981,6 +1021,13 @@ "schema": { "$ref": "#/definitions/v1.ConfigMap" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -990,6 +1037,18 @@ "$ref": "#/definitions/v1.ConfigMap" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ConfigMap" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ConfigMap" + } + }, "401": { "description": "Unauthorized" } @@ -999,7 +1058,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ConfigMap", @@ -1022,7 +1082,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1033,13 +1093,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -1064,7 +1117,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1095,6 +1148,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1189,6 +1249,13 @@ "schema": { "$ref": "#/definitions/v1.ConfigMap" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1198,6 +1265,12 @@ "$ref": "#/definitions/v1.ConfigMap" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ConfigMap" + } + }, "401": { "description": "Unauthorized" } @@ -1207,7 +1280,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ConfigMap", @@ -1230,11 +1304,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1252,7 +1332,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -1264,6 +1344,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1273,7 +1359,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ConfigMap", @@ -1303,6 +1390,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1321,7 +1415,8 @@ "group": "", "kind": "ConfigMap", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -1373,7 +1468,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1384,13 +1479,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -1415,7 +1503,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1470,6 +1558,13 @@ "schema": { "$ref": "#/definitions/v1.Endpoints" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1479,6 +1574,18 @@ "$ref": "#/definitions/v1.Endpoints" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Endpoints" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Endpoints" + } + }, "401": { "description": "Unauthorized" } @@ -1488,7 +1595,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Endpoints", @@ -1511,7 +1619,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1522,13 +1630,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -1553,7 +1654,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1584,6 +1685,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -1678,6 +1786,13 @@ "schema": { "$ref": "#/definitions/v1.Endpoints" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1687,6 +1802,12 @@ "$ref": "#/definitions/v1.Endpoints" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Endpoints" + } + }, "401": { "description": "Unauthorized" } @@ -1696,7 +1817,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete Endpoints", @@ -1719,11 +1841,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -1741,7 +1869,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -1753,6 +1881,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -1762,7 +1896,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Endpoints", @@ -1792,6 +1927,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1810,7 +1952,8 @@ "group": "", "kind": "Endpoints", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -1862,7 +2005,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -1873,13 +2016,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -1904,7 +2040,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -1959,6 +2095,13 @@ "schema": { "$ref": "#/definitions/v1.Event" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -1968,6 +2111,18 @@ "$ref": "#/definitions/v1.Event" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Event" + } + }, "401": { "description": "Unauthorized" } @@ -1977,7 +2132,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Event", @@ -2000,7 +2156,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2011,13 +2167,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -2042,7 +2191,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2073,6 +2222,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2167,6 +2323,13 @@ "schema": { "$ref": "#/definitions/v1.Event" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2176,6 +2339,12 @@ "$ref": "#/definitions/v1.Event" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Event" + } + }, "401": { "description": "Unauthorized" } @@ -2185,7 +2354,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an Event", @@ -2208,11 +2378,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2230,7 +2406,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -2242,6 +2418,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2251,7 +2433,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Event", @@ -2281,6 +2464,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2299,7 +2489,8 @@ "group": "", "kind": "Event", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -2351,7 +2542,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2362,13 +2553,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -2393,7 +2577,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2448,6 +2632,13 @@ "schema": { "$ref": "#/definitions/v1.LimitRange" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2457,6 +2648,18 @@ "$ref": "#/definitions/v1.LimitRange" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.LimitRange" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.LimitRange" + } + }, "401": { "description": "Unauthorized" } @@ -2466,7 +2669,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of LimitRange", @@ -2489,7 +2693,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2500,13 +2704,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -2531,7 +2728,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2562,6 +2759,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -2656,6 +2860,13 @@ "schema": { "$ref": "#/definitions/v1.LimitRange" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2665,6 +2876,12 @@ "$ref": "#/definitions/v1.LimitRange" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.LimitRange" + } + }, "401": { "description": "Unauthorized" } @@ -2674,7 +2891,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a LimitRange", @@ -2697,11 +2915,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -2719,7 +2943,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -2731,6 +2955,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -2740,7 +2970,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified LimitRange", @@ -2770,6 +3001,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2788,7 +3026,8 @@ "group": "", "kind": "LimitRange", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -2840,7 +3079,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2851,13 +3090,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -2882,7 +3114,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -2937,6 +3169,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolumeClaim" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -2946,6 +3185,18 @@ "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + }, "401": { "description": "Unauthorized" } @@ -2955,7 +3206,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PersistentVolumeClaim", @@ -2978,7 +3230,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -2989,13 +3241,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -3020,7 +3265,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3051,6 +3296,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -3145,6 +3397,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolumeClaim" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3154,6 +3413,12 @@ "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + }, "401": { "description": "Unauthorized" } @@ -3163,7 +3428,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PersistentVolumeClaim", @@ -3186,11 +3452,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3208,7 +3480,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -3220,6 +3492,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -3229,7 +3507,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PersistentVolumeClaim", @@ -3259,6 +3538,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3277,7 +3563,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3366,6 +3653,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolumeClaim" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3375,6 +3669,12 @@ "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + }, "401": { "description": "Unauthorized" } @@ -3384,7 +3684,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified PersistentVolumeClaim", @@ -3414,6 +3715,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3432,7 +3740,8 @@ "group": "", "kind": "PersistentVolumeClaim", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3484,7 +3793,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3495,13 +3804,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -3526,7 +3828,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3581,6 +3883,13 @@ "schema": { "$ref": "#/definitions/v1.Pod" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3590,6 +3899,18 @@ "$ref": "#/definitions/v1.Pod" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, "401": { "description": "Unauthorized" } @@ -3599,7 +3920,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Pod", @@ -3622,7 +3944,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -3633,13 +3955,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -3664,7 +3979,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -3695,6 +4010,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -3789,6 +4111,13 @@ "schema": { "$ref": "#/definitions/v1.Pod" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3798,6 +4127,12 @@ "$ref": "#/definitions/v1.Pod" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, "401": { "description": "Unauthorized" } @@ -3807,7 +4142,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Pod", @@ -3830,11 +4166,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -3852,7 +4194,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -3864,6 +4206,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -3873,7 +4221,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Pod", @@ -3903,6 +4252,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -3921,7 +4277,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -3979,7 +4336,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4012,7 +4369,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodAttachOptions", "version": "v1" } }, @@ -4027,7 +4384,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodAttachOptions", "name": "name", "in": "path", "required": true @@ -4105,6 +4462,18 @@ "$ref": "#/definitions/v1.Binding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Binding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Binding" + } + }, "401": { "description": "Unauthorized" } @@ -4114,9 +4483,24 @@ "group": "", "kind": "Binding", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4177,6 +4561,18 @@ "$ref": "#/definitions/v1beta1.Eviction" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Eviction" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Eviction" + } + }, "401": { "description": "Unauthorized" } @@ -4186,9 +4582,24 @@ "group": "policy", "kind": "Eviction", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -4244,7 +4655,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4277,7 +4688,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodExecOptions", "version": "v1" } }, @@ -4299,7 +4710,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodExecOptions", "name": "name", "in": "path", "required": true @@ -4484,7 +4895,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4517,7 +4928,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodPortForwardOptions", "version": "v1" } }, @@ -4525,7 +4936,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodPortForwardOptions", "name": "name", "in": "path", "required": true @@ -4577,7 +4988,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4610,7 +5021,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4643,7 +5054,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4676,7 +5087,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4709,7 +5120,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4742,7 +5153,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4775,7 +5186,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4783,7 +5194,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -4835,7 +5246,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4868,7 +5279,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4901,7 +5312,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4934,7 +5345,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -4967,7 +5378,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5000,7 +5411,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5033,7 +5444,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "PodProxyOptions", "version": "v1" } }, @@ -5041,7 +5452,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the PodProxyOptions", "name": "name", "in": "path", "required": true @@ -5132,6 +5543,13 @@ "schema": { "$ref": "#/definitions/v1.Pod" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5141,6 +5559,12 @@ "$ref": "#/definitions/v1.Pod" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Pod" + } + }, "401": { "description": "Unauthorized" } @@ -5150,7 +5574,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Pod", @@ -5180,6 +5605,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5198,7 +5630,8 @@ "group": "", "kind": "Pod", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -5250,7 +5683,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5261,13 +5694,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -5292,7 +5718,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5347,6 +5773,13 @@ "schema": { "$ref": "#/definitions/v1.PodTemplate" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5356,6 +5789,18 @@ "$ref": "#/definitions/v1.PodTemplate" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PodTemplate" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.PodTemplate" + } + }, "401": { "description": "Unauthorized" } @@ -5365,7 +5810,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PodTemplate", @@ -5388,7 +5834,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5399,13 +5845,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -5430,7 +5869,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5461,6 +5900,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -5555,6 +6001,13 @@ "schema": { "$ref": "#/definitions/v1.PodTemplate" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5564,6 +6017,12 @@ "$ref": "#/definitions/v1.PodTemplate" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PodTemplate" + } + }, "401": { "description": "Unauthorized" } @@ -5573,7 +6032,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PodTemplate", @@ -5596,11 +6056,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -5618,7 +6084,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -5630,6 +6096,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -5639,7 +6111,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PodTemplate", @@ -5669,6 +6142,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5687,7 +6167,8 @@ "group": "", "kind": "PodTemplate", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -5739,7 +6220,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5750,13 +6231,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -5781,7 +6255,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5836,6 +6310,13 @@ "schema": { "$ref": "#/definitions/v1.ReplicationController" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -5845,6 +6326,18 @@ "$ref": "#/definitions/v1.ReplicationController" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ReplicationController" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ReplicationController" + } + }, "401": { "description": "Unauthorized" } @@ -5854,7 +6347,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ReplicationController", @@ -5877,7 +6371,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -5888,13 +6382,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -5919,7 +6406,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -5950,6 +6437,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6044,6 +6538,13 @@ "schema": { "$ref": "#/definitions/v1.ReplicationController" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6053,6 +6554,12 @@ "$ref": "#/definitions/v1.ReplicationController" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ReplicationController" + } + }, "401": { "description": "Unauthorized" } @@ -6062,7 +6569,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ReplicationController", @@ -6085,11 +6593,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -6107,7 +6621,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -6119,6 +6633,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -6128,7 +6648,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ReplicationController", @@ -6158,6 +6679,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6176,7 +6704,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6265,6 +6794,13 @@ "schema": { "$ref": "#/definitions/v1.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6274,6 +6810,12 @@ "$ref": "#/definitions/v1.Scale" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, "401": { "description": "Unauthorized" } @@ -6283,7 +6825,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update scale of the specified ReplicationController", @@ -6313,6 +6856,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6331,7 +6881,8 @@ "group": "autoscaling", "kind": "Scale", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6420,6 +6971,13 @@ "schema": { "$ref": "#/definitions/v1.ReplicationController" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6429,6 +6987,12 @@ "$ref": "#/definitions/v1.ReplicationController" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ReplicationController" + } + }, "401": { "description": "Unauthorized" } @@ -6438,7 +7002,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ReplicationController", @@ -6468,6 +7033,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6486,7 +7058,8 @@ "group": "", "kind": "ReplicationController", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -6538,7 +7111,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6549,13 +7122,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -6580,7 +7146,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6635,6 +7201,13 @@ "schema": { "$ref": "#/definitions/v1.ResourceQuota" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6644,6 +7217,18 @@ "$ref": "#/definitions/v1.ResourceQuota" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, "401": { "description": "Unauthorized" } @@ -6653,7 +7238,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ResourceQuota", @@ -6676,7 +7262,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -6687,13 +7273,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -6718,7 +7297,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -6749,6 +7328,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -6843,6 +7429,13 @@ "schema": { "$ref": "#/definitions/v1.ResourceQuota" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6852,6 +7445,12 @@ "$ref": "#/definitions/v1.ResourceQuota" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, "401": { "description": "Unauthorized" } @@ -6861,7 +7460,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ResourceQuota", @@ -6884,11 +7484,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -6906,7 +7512,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -6918,6 +7524,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -6927,7 +7539,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ResourceQuota", @@ -6957,6 +7570,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -6975,7 +7595,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -7064,6 +7685,13 @@ "schema": { "$ref": "#/definitions/v1.ResourceQuota" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7073,6 +7701,12 @@ "$ref": "#/definitions/v1.ResourceQuota" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, "401": { "description": "Unauthorized" } @@ -7082,7 +7716,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified ResourceQuota", @@ -7112,6 +7747,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7130,7 +7772,8 @@ "group": "", "kind": "ResourceQuota", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -7182,7 +7825,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7193,13 +7836,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -7224,7 +7860,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7279,6 +7915,13 @@ "schema": { "$ref": "#/definitions/v1.Secret" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7288,6 +7931,18 @@ "$ref": "#/definitions/v1.Secret" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Secret" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Secret" + } + }, "401": { "description": "Unauthorized" } @@ -7297,7 +7952,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Secret", @@ -7320,7 +7976,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7331,13 +7987,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -7362,7 +8011,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7393,6 +8042,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -7487,6 +8143,13 @@ "schema": { "$ref": "#/definitions/v1.Secret" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7496,6 +8159,12 @@ "$ref": "#/definitions/v1.Secret" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Secret" + } + }, "401": { "description": "Unauthorized" } @@ -7505,7 +8174,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Secret", @@ -7528,11 +8198,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -7550,7 +8226,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -7562,6 +8238,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -7571,7 +8253,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Secret", @@ -7601,6 +8284,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7619,7 +8309,8 @@ "group": "", "kind": "Secret", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -7671,7 +8362,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7682,13 +8373,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -7713,7 +8397,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7768,6 +8452,13 @@ "schema": { "$ref": "#/definitions/v1.ServiceAccount" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7777,6 +8468,18 @@ "$ref": "#/definitions/v1.ServiceAccount" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ServiceAccount" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ServiceAccount" + } + }, "401": { "description": "Unauthorized" } @@ -7786,7 +8489,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ServiceAccount", @@ -7809,7 +8513,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -7820,13 +8524,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -7851,7 +8548,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -7882,6 +8579,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -7976,6 +8680,13 @@ "schema": { "$ref": "#/definitions/v1.ServiceAccount" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -7985,6 +8696,12 @@ "$ref": "#/definitions/v1.ServiceAccount" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ServiceAccount" + } + }, "401": { "description": "Unauthorized" } @@ -7994,7 +8711,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ServiceAccount", @@ -8017,11 +8735,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -8039,7 +8763,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -8051,6 +8775,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8060,7 +8790,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ServiceAccount", @@ -8090,6 +8821,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -8108,7 +8846,8 @@ "group": "", "kind": "ServiceAccount", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -8160,7 +8899,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -8171,13 +8910,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -8202,7 +8934,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -8257,6 +8989,13 @@ "schema": { "$ref": "#/definitions/v1.Service" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -8266,6 +9005,18 @@ "$ref": "#/definitions/v1.Service" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, "401": { "description": "Unauthorized" } @@ -8275,9 +9026,17 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -8372,6 +9131,13 @@ "schema": { "$ref": "#/definitions/v1.Service" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -8381,6 +9147,12 @@ "$ref": "#/definitions/v1.Service" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, "401": { "description": "Unauthorized" } @@ -8390,7 +9162,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Service", @@ -8409,6 +9182,43 @@ "core_v1" ], "operationId": "deleteNamespacedService", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], "responses": { "200": { "description": "OK", @@ -8416,6 +9226,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -8425,7 +9241,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Service", @@ -8455,6 +9272,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -8473,7 +9297,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -8531,7 +9356,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8564,7 +9389,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8597,7 +9422,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8630,7 +9455,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8663,7 +9488,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8696,7 +9521,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8729,7 +9554,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8737,7 +9562,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -8789,7 +9614,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8822,7 +9647,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8855,7 +9680,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8888,7 +9713,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8921,7 +9746,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8954,7 +9779,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8987,7 +9812,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Service", + "kind": "ServiceProxyOptions", "version": "v1" } }, @@ -8995,7 +9820,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "name of the ServiceProxyOptions", "name": "name", "in": "path", "required": true @@ -9086,6 +9911,13 @@ "schema": { "$ref": "#/definitions/v1.Service" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9095,6 +9927,12 @@ "$ref": "#/definitions/v1.Service" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Service" + } + }, "401": { "description": "Unauthorized" } @@ -9104,7 +9942,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Service", @@ -9134,6 +9973,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9152,7 +9998,8 @@ "group": "", "kind": "Service", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9257,6 +10104,13 @@ "schema": { "$ref": "#/definitions/v1.Namespace" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9266,6 +10120,12 @@ "$ref": "#/definitions/v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -9275,7 +10135,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Namespace", @@ -9298,11 +10159,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -9320,7 +10187,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -9332,6 +10199,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -9341,7 +10214,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Namespace", @@ -9371,6 +10245,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9389,7 +10270,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9444,6 +10326,12 @@ "$ref": "#/definitions/v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -9453,9 +10341,17 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9534,6 +10430,13 @@ "schema": { "$ref": "#/definitions/v1.Namespace" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9543,6 +10446,12 @@ "$ref": "#/definitions/v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -9552,7 +10461,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Namespace", @@ -9582,6 +10492,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9600,7 +10517,8 @@ "group": "", "kind": "Namespace", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -9644,7 +10562,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -9655,13 +10573,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -9686,7 +10597,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -9741,6 +10652,13 @@ "schema": { "$ref": "#/definitions/v1.Node" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9750,6 +10668,18 @@ "$ref": "#/definitions/v1.Node" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Node" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Node" + } + }, "401": { "description": "Unauthorized" } @@ -9759,7 +10689,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Node", @@ -9782,7 +10713,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -9793,13 +10724,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -9824,7 +10748,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -9855,6 +10779,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -9941,6 +10872,13 @@ "schema": { "$ref": "#/definitions/v1.Node" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -9950,6 +10888,12 @@ "$ref": "#/definitions/v1.Node" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Node" + } + }, "401": { "description": "Unauthorized" } @@ -9959,7 +10903,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Node", @@ -9982,11 +10927,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -10004,7 +10955,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -10016,6 +10967,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -10025,7 +10982,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Node", @@ -10055,6 +11013,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -10073,7 +11038,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -10123,7 +11089,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10156,7 +11122,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10189,7 +11155,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10222,7 +11188,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10255,7 +11221,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10288,7 +11254,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10321,7 +11287,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10329,7 +11295,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -10373,7 +11339,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10406,7 +11372,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10439,7 +11405,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10472,7 +11438,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10505,7 +11471,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10538,7 +11504,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10571,7 +11537,7 @@ "x-kubernetes-action": "connect", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Node", + "kind": "NodeProxyOptions", "version": "v1" } }, @@ -10579,7 +11545,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Node", + "description": "name of the NodeProxyOptions", "name": "name", "in": "path", "required": true @@ -10662,6 +11628,13 @@ "schema": { "$ref": "#/definitions/v1.Node" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -10671,6 +11644,12 @@ "$ref": "#/definitions/v1.Node" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Node" + } + }, "401": { "description": "Unauthorized" } @@ -10680,7 +11659,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified Node", @@ -10710,6 +11690,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -10728,7 +11715,8 @@ "group": "", "kind": "Node", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -10790,7 +11778,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10839,7 +11827,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -10876,7 +11864,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -10887,13 +11875,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -10918,7 +11899,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -10973,6 +11954,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolume" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -10982,6 +11970,18 @@ "$ref": "#/definitions/v1.PersistentVolume" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolume" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.PersistentVolume" + } + }, "401": { "description": "Unauthorized" } @@ -10991,7 +11991,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of PersistentVolume", @@ -11014,7 +12015,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11025,13 +12026,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -11056,7 +12050,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11087,6 +12081,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -11173,6 +12174,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolume" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -11182,6 +12190,12 @@ "$ref": "#/definitions/v1.PersistentVolume" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolume" + } + }, "401": { "description": "Unauthorized" } @@ -11191,7 +12205,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a PersistentVolume", @@ -11214,11 +12229,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -11236,7 +12257,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -11248,6 +12269,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -11257,7 +12284,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified PersistentVolume", @@ -11287,6 +12315,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -11305,7 +12340,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -11386,6 +12422,13 @@ "schema": { "$ref": "#/definitions/v1.PersistentVolume" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -11395,6 +12438,12 @@ "$ref": "#/definitions/v1.PersistentVolume" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.PersistentVolume" + } + }, "401": { "description": "Unauthorized" } @@ -11404,7 +12453,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update status of the specified PersistentVolume", @@ -11434,6 +12484,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -11452,7 +12509,8 @@ "group": "", "kind": "PersistentVolume", "version": "v1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -11514,7 +12572,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11563,7 +12621,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11618,7 +12676,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -11667,7 +12725,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -11680,14 +12738,18 @@ } ] }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}": { + "/api/v1/replicationcontrollers": { "get": { - "description": "proxy GET requests to Pod", + "description": "list or watch objects of kind ReplicationController", "consumes": [ "*/*" ], "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -11695,131 +12757,103 @@ "tags": [ "core_v1" ], - "operationId": "proxyGETNamespacedPod", + "operationId": "listReplicationControllerForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/v1.ReplicationControllerList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "proxy", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "ReplicationController", "version": "v1" } }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "options": { - "description": "proxy OPTIONS requests to Pod", + ] + }, + "/api/v1/resourcequotas": { + "get": { + "description": "list or watch objects of kind ResourceQuota", "consumes": [ "*/*" ], "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -11827,65 +12861,103 @@ "tags": [ "core_v1" ], - "operationId": "proxyOPTIONSNamespacedPod", + "operationId": "listResourceQuotaForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/v1.ResourceQuotaList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "proxy", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "ResourceQuota", "version": "v1" } }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedPod", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "proxy PATCH requests to Pod", + ] + }, + "/api/v1/secrets": { + "get": { + "description": "list or watch objects of kind Secret", "consumes": [ "*/*" ], "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -11893,22 +12965,22 @@ "tags": [ "core_v1" ], - "operationId": "proxyPATCHNamespacedPod", + "operationId": "listSecretForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/v1.SecretList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "proxy", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "Secret", "version": "v1" } }, @@ -11916,29 +12988,80 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/api/v1/proxy/namespaces/{namespace}/pods/{name}/{path}": { + "/api/v1/serviceaccounts": { "get": { - "description": "proxy GET requests to Pod", + "description": "list or watch objects of kind ServiceAccount", "consumes": [ "*/*" ], "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -11946,98 +13069,103 @@ "tags": [ "core_v1" ], - "operationId": "proxyGETNamespacedPodWithPath", + "operationId": "listServiceAccountForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/v1.ServiceAccountList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "proxy", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "ServiceAccount", "version": "v1" } }, - "put": { - "description": "proxy PUT requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "delete": { - "description": "proxy DELETE requests to Pod", + ] + }, + "/api/v1/services": { + "get": { + "description": "list or watch objects of kind Service", "consumes": [ "*/*" ], "produces": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" @@ -12045,639 +13173,542 @@ "tags": [ "core_v1" ], - "operationId": "proxyDELETENamespacedPodWithPath", + "operationId": "listServiceForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/v1.ServiceList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "proxy", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "", - "kind": "Pod", + "kind": "Service", "version": "v1" } }, - "options": { - "description": "proxy OPTIONS requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Pod", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedPodWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Pod", - "version": "v1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "path to the resource", - "name": "path", - "in": "path", - "required": true + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "/api/v1/watch/configmaps": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedService", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/api/v1/watch/endpoints": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Service", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/api/v1/proxy/namespaces/{namespace}/services/{name}/{path}": { - "get": { - "description": "proxy GET requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + "/api/v1/watch/events": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "options": { - "description": "proxy OPTIONS requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/api/v1/watch/limitranges": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "head": { - "description": "proxy HEAD requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/api/v1/watch/namespaces": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "patch": { - "description": "proxy PATCH requests to Service", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNamespacedServiceWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Service", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ConfigMap", "name": "name", "in": "path", "required": true @@ -12693,552 +13724,41 @@ { "uniqueItems": true, "type": "string", - "description": "path to the resource", - "name": "path", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/api/v1/proxy/nodes/{name}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNode", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - } - ] - }, - "/api/v1/proxy/nodes/{name}/{path}": { - "get": { - "description": "proxy GET requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyGETNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "put": { - "description": "proxy PUT requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPUTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "post": { - "description": "proxy POST requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPOSTNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "delete": { - "description": "proxy DELETE requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyDELETENodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "options": { - "description": "proxy OPTIONS requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyOPTIONSNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "head": { - "description": "proxy HEAD requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyHEADNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "patch": { - "description": "proxy PATCH requests to Node", - "consumes": [ - "*/*" - ], - "produces": [ - "*/*" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "proxyPATCHNodeWithPath", - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "proxy", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Node", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "path to the resource", - "name": "path", - "in": "path", - "required": true - } - ] - }, - "/api/v1/replicationcontrollers": { - "get": { - "description": "list or watch objects of kind ReplicationController", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listReplicationControllerForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ReplicationControllerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ReplicationController", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/api/v1/watch/namespaces/{namespace}/endpoints": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, @@ -13268,6 +13788,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13285,7 +13813,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13298,49 +13826,12 @@ } ] }, - "/api/v1/resourcequotas": { - "get": { - "description": "list or watch objects of kind ResourceQuota", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listResourceQuotaForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ResourceQuotaList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ResourceQuota", - "version": "v1" - } - }, + "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13375,7 +13866,23 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", + "description": "name of the Endpoints", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" }, @@ -13389,7 +13896,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13402,49 +13909,12 @@ } ] }, - "/api/v1/secrets": { - "get": { - "description": "list or watch objects of kind Secret", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listSecretForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.SecretList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Secret", - "version": "v1" - } - }, + "/api/v1/watch/namespaces/{namespace}/events": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13476,6 +13946,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13493,7 +13971,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13506,49 +13984,12 @@ } ] }, - "/api/v1/serviceaccounts": { - "get": { - "description": "list or watch objects of kind ServiceAccount", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listServiceAccountForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ServiceAccountList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "ServiceAccount", - "version": "v1" - } - }, + "/api/v1/watch/namespaces/{namespace}/events/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13580,6 +14021,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13597,7 +14054,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13610,49 +14067,12 @@ } ] }, - "/api/v1/services": { - "get": { - "description": "list or watch objects of kind Service", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "core_v1" - ], - "operationId": "listServiceForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ServiceList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "", - "kind": "Service", - "version": "v1" - } - }, + "/api/v1/watch/namespaces/{namespace}/limitranges": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13684,6 +14104,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13701,7 +14129,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13714,12 +14142,12 @@ } ] }, - "/api/v1/watch/configmaps": { + "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13751,6 +14179,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the LimitRange", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13768,7 +14212,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13781,12 +14225,12 @@ } ] }, - "/api/v1/watch/endpoints": { + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13818,6 +14262,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13835,7 +14287,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13848,12 +14300,12 @@ } ] }, - "/api/v1/watch/events": { + "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13885,6 +14337,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PersistentVolumeClaim", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13902,7 +14370,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13915,12 +14383,12 @@ } ] }, - "/api/v1/watch/limitranges": { + "/api/v1/watch/namespaces/{namespace}/pods": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -13952,6 +14420,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -13969,7 +14445,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -13982,12 +14458,12 @@ } ] }, - "/api/v1/watch/namespaces": { + "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14019,6 +14495,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Pod", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -14036,7 +14528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14049,12 +14541,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/configmaps": { + "/api/v1/watch/namespaces/{namespace}/podtemplates": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14111,7 +14603,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14124,12 +14616,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { + "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14164,7 +14656,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ConfigMap", + "description": "name of the PodTemplate", "name": "name", "in": "path", "required": true @@ -14194,7 +14686,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14207,12 +14699,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/endpoints": { + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14269,7 +14761,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14282,12 +14774,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { + "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14322,7 +14814,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Endpoints", + "description": "name of the ReplicationController", "name": "name", "in": "path", "required": true @@ -14352,7 +14844,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14365,12 +14857,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/events": { + "/api/v1/watch/namespaces/{namespace}/resourcequotas": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14427,7 +14919,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14440,12 +14932,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/events/{name}": { + "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14480,7 +14972,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Event", + "description": "name of the ResourceQuota", "name": "name", "in": "path", "required": true @@ -14510,7 +15002,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14523,12 +15015,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/limitranges": { + "/api/v1/watch/namespaces/{namespace}/secrets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14585,7 +15077,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14598,12 +15090,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { + "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14638,7 +15130,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the LimitRange", + "description": "name of the Secret", "name": "name", "in": "path", "required": true @@ -14668,7 +15160,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14681,12 +15173,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14743,7 +15235,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14756,12 +15248,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { + "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14796,7 +15288,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PersistentVolumeClaim", + "description": "name of the ServiceAccount", "name": "name", "in": "path", "required": true @@ -14826,7 +15318,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14839,12 +15331,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/pods": { + "/api/v1/watch/namespaces/{namespace}/services": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14901,7 +15393,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14914,12 +15406,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/pods/{name}": { + "/api/v1/watch/namespaces/{namespace}/services/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -14954,7 +15446,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Pod", + "description": "name of the Service", "name": "name", "in": "path", "required": true @@ -14984,7 +15476,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -14997,12 +15489,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/podtemplates": { + "/api/v1/watch/namespaces/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15037,8 +15529,8 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the Namespace", + "name": "name", "in": "path", "required": true }, @@ -15059,7 +15551,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15072,12 +15564,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { + "/api/v1/watch/nodes": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15109,22 +15601,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodTemplate", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -15142,7 +15618,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15155,12 +15631,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { + "/api/v1/watch/nodes/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15195,8 +15671,8 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the Node", + "name": "name", "in": "path", "required": true }, @@ -15217,7 +15693,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15230,12 +15706,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { + "/api/v1/watch/persistentvolumeclaims": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15270,18 +15746,69 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicationController", - "name": "name", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/api/v1/watch/persistentvolumes": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -15300,7 +15827,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15313,12 +15840,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas": { + "/api/v1/watch/persistentvolumes/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15353,8 +15880,8 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the PersistentVolume", + "name": "name", "in": "path", "required": true }, @@ -15375,7 +15902,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15388,12 +15915,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { + "/api/v1/watch/pods": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15428,18 +15955,69 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ResourceQuota", - "name": "name", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/api/v1/watch/podtemplates": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -15458,7 +16036,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15471,12 +16049,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/secrets": { + "/api/v1/watch/replicationcontrollers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15511,10 +16089,69 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/api/v1/watch/resourcequotas": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -15533,7 +16170,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15546,12 +16183,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { + "/api/v1/watch/secrets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15583,22 +16220,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Secret", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -15616,7 +16237,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15629,12 +16250,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { + "/api/v1/watch/serviceaccounts": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15666,14 +16287,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -15691,7 +16304,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15704,12 +16317,12 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { + "/api/v1/watch/services": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -15741,22 +16354,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ServiceAccount", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -15774,7 +16371,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -15787,97 +16384,346 @@ } ] }, - "/api/v1/watch/namespaces/{namespace}/services": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "/apis/": { + "get": { + "description": "get available API versions", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apis" + ], + "operationId": "getAPIVersions", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroupList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations": { + "get": { + "description": "list or watch objects of kind InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "listInitializerConfiguration", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" + } + }, + "post": { + "description": "create an InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "createInitializerConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "deleteCollectionInitializerConfiguration", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } - ] - }, - "/api/v1/watch/namespaces/{namespace}/services/{name}": { + }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", @@ -15885,249 +16731,266 @@ "name": "includeUninitialized", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Service", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/api/v1/watch/namespaces/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Namespace", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}": { + "get": { + "description": "read the specified InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "readInitializerConfiguration", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" } - ] - }, - "/api/v1/watch/nodes": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + }, + "put": { + "description": "replace the specified InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "replaceInitializerConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete an InitializerConfiguration", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "deleteInitializerConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified InitializerConfiguration", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "admissionregistration_v1alpha1" + ], + "operationId": "patchInitializerConfiguration", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "admissionregistration.k8s.io", + "kind": "InitializerConfiguration", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/nodes/{name}": { + "x-codegen-request-body-name": "body" + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Node", + "description": "name of the InitializerConfiguration", "name": "name", "in": "path", "required": true @@ -16138,103 +17001,15 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/persistentvolumeclaims": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/api/v1/watch/persistentvolumes": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16283,7 +17058,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16296,12 +17071,12 @@ } ] }, - "/api/v1/watch/persistentvolumes/{name}": { + "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16336,7 +17111,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PersistentVolume", + "description": "name of the InitializerConfiguration", "name": "name", "in": "path", "required": true @@ -16358,7 +17133,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -16371,542 +17146,7 @@ } ] }, - "/api/v1/watch/pods": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/podtemplates": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/replicationcontrollers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/resourcequotas": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/secrets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/serviceaccounts": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/api/v1/watch/services": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/": { - "get": { - "description": "get available API versions", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apis" - ], - "operationId": "getAPIVersions", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroupList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/admissionregistration.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "admissionregistration" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/admissionregistration.k8s.io/v1alpha1/": { + "/apis/admissionregistration.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -16923,7 +17163,7 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -16939,9 +17179,9 @@ } } }, - "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations": { + "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations": { "get": { - "description": "list or watch objects of kind ExternalAdmissionHookConfiguration", + "description": "list or watch objects of kind MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -16956,14 +17196,14 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "listExternalAdmissionHookConfiguration", + "operationId": "listMutatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -16974,13 +17214,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -17005,7 +17238,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17021,7 +17254,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfigurationList" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfigurationList" } }, "401": { @@ -17031,12 +17264,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" } }, "post": { - "description": "create an ExternalAdmissionHookConfiguration", + "description": "create a MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17049,24 +17282,43 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "createExternalAdmissionHookConfiguration", + "operationId": "createMutatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -17076,12 +17328,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" - } + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ExternalAdmissionHookConfiguration", + "description": "delete collection of MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17094,14 +17347,14 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "deleteCollectionExternalAdmissionHookConfiguration", + "operationId": "deleteCollectionMutatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17112,13 +17365,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -17143,7 +17389,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17169,11 +17415,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17183,9 +17436,9 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/externaladmissionhookconfigurations/{name}": { + "/apis/admissionregistration.k8s.io/v1beta1/mutatingwebhookconfigurations/{name}": { "get": { - "description": "read the specified ExternalAdmissionHookConfiguration", + "description": "read the specified MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17198,9 +17451,9 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "readExternalAdmissionHookConfiguration", + "operationId": "readMutatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, @@ -17221,7 +17474,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -17231,12 +17484,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" } }, "put": { - "description": "replace the specified ExternalAdmissionHookConfiguration", + "description": "replace the specified MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17249,24 +17502,37 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "replaceExternalAdmissionHookConfiguration", + "operationId": "replaceMutatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -17276,12 +17542,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" - } + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete an ExternalAdmissionHookConfiguration", + "description": "delete a MutatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17294,18 +17561,24 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "deleteExternalAdmissionHookConfiguration", + "operationId": "deleteMutatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -17323,7 +17596,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -17335,6 +17608,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -17342,12 +17621,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" - } + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ExternalAdmissionHookConfiguration", + "description": "partially update the specified MutatingWebhookConfiguration", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -17362,9 +17642,9 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "patchExternalAdmissionHookConfiguration", + "operationId": "patchMutatingWebhookConfiguration", "parameters": [ { "name": "body", @@ -17374,13 +17654,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" } }, "401": { @@ -17390,15 +17677,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" - } + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ExternalAdmissionHookConfiguration", + "description": "name of the MutatingWebhookConfiguration", "name": "name", "in": "path", "required": true @@ -17412,9 +17700,9 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations": { + "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations": { "get": { - "description": "list or watch objects of kind InitializerConfiguration", + "description": "list or watch objects of kind ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17429,14 +17717,14 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "listInitializerConfiguration", + "operationId": "listValidatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17447,13 +17735,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -17478,7 +17759,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17494,7 +17775,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfigurationList" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfigurationList" } }, "401": { @@ -17504,12 +17785,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" } }, "post": { - "description": "create an InitializerConfiguration", + "description": "create a ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17522,24 +17803,43 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "createInitializerConfiguration", + "operationId": "createValidatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -17549,12 +17849,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" - } + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of InitializerConfiguration", + "description": "delete collection of ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17567,14 +17868,14 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "deleteCollectionInitializerConfiguration", + "operationId": "deleteCollectionValidatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17585,13 +17886,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -17616,7 +17910,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17642,11 +17936,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -17656,9 +17957,9 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/initializerconfigurations/{name}": { + "/apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/{name}": { "get": { - "description": "read the specified InitializerConfiguration", + "description": "read the specified ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17671,9 +17972,9 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "readInitializerConfiguration", + "operationId": "readValidatingWebhookConfiguration", "parameters": [ { "uniqueItems": true, @@ -17694,7 +17995,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -17704,12 +18005,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" } }, "put": { - "description": "replace the specified InitializerConfiguration", + "description": "replace the specified ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17722,24 +18023,37 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "replaceInitializerConfiguration", + "operationId": "replaceValidatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -17749,12 +18063,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" - } + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete an InitializerConfiguration", + "description": "delete a ValidatingWebhookConfiguration", "consumes": [ "*/*" ], @@ -17767,18 +18082,24 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "deleteInitializerConfiguration", + "operationId": "deleteValidatingWebhookConfiguration", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -17796,7 +18117,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -17808,6 +18129,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -17815,12 +18142,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" - } + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified InitializerConfiguration", + "description": "partially update the specified ValidatingWebhookConfiguration", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -17835,9 +18163,9 @@ "https" ], "tags": [ - "admissionregistration_v1alpha1" + "admissionregistration_v1beta1" ], - "operationId": "patchInitializerConfiguration", + "operationId": "patchValidatingWebhookConfiguration", "parameters": [ { "name": "body", @@ -17847,13 +18175,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.InitializerConfiguration" + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" } }, "401": { @@ -17863,15 +18198,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "admissionregistration.k8s.io", - "kind": "InitializerConfiguration", - "version": "v1alpha1" - } + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the InitializerConfiguration", + "description": "name of the ValidatingWebhookConfiguration", "name": "name", "in": "path", "required": true @@ -17885,12 +18221,12 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/externaladmissionhookconfigurations": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17939,7 +18275,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -17952,12 +18288,12 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/externaladmissionhookconfigurations/{name}": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -17992,7 +18328,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ExternalAdmissionHookConfiguration", + "description": "name of the MutatingWebhookConfiguration", "name": "name", "in": "path", "required": true @@ -18014,7 +18350,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18027,12 +18363,12 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18081,7 +18417,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18094,12 +18430,12 @@ } ] }, - "/apis/admissionregistration.k8s.io/v1alpha1/watch/initializerconfigurations/{name}": { + "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18134,7 +18470,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the InitializerConfiguration", + "description": "name of the ValidatingWebhookConfiguration", "name": "name", "in": "path", "required": true @@ -18156,7 +18492,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18259,7 +18595,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18270,13 +18606,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -18301,7 +18630,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18356,6 +18685,13 @@ "schema": { "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -18365,6 +18701,18 @@ "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, "401": { "description": "Unauthorized" } @@ -18374,7 +18722,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of CustomResourceDefinition", @@ -18397,7 +18746,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18408,13 +18757,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -18439,7 +18781,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18470,6 +18812,13 @@ } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -18556,6 +18905,13 @@ "schema": { "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -18565,6 +18921,12 @@ "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, "401": { "description": "Unauthorized" } @@ -18574,7 +18936,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a CustomResourceDefinition", @@ -18597,11 +18960,17 @@ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -18619,7 +18988,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -18631,6 +19000,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -18640,7 +19015,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified CustomResourceDefinition", @@ -18670,6 +19046,13 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -18688,7 +19071,8 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -18709,6 +19093,41 @@ ] }, "/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/{name}/status": { + "get": { + "description": "read status of the specified CustomResourceDefinition", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "readCustomResourceDefinitionStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + } + }, "put": { "description": "replace status of the specified CustomResourceDefinition", "consumes": [ @@ -18734,6 +19153,13 @@ "schema": { "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { @@ -18743,6 +19169,12 @@ "$ref": "#/definitions/v1beta1.CustomResourceDefinition" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, "401": { "description": "Unauthorized" } @@ -18752,7 +19184,64 @@ "group": "apiextensions.k8s.io", "kind": "CustomResourceDefinition", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified CustomResourceDefinition", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiextensions_v1beta1" + ], + "operationId": "patchCustomResourceDefinitionStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinition" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -18777,7 +19266,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18826,7 +19315,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18844,7 +19333,7 @@ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -18901,7 +19390,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -18947,7 +19436,7 @@ } } }, - "/apis/apiregistration.k8s.io/v1beta1/": { + "/apis/apiregistration.k8s.io/v1/": { "get": { "description": "get available resources", "consumes": [ @@ -18964,7 +19453,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "getAPIResources", "responses": { @@ -18980,7 +19469,7 @@ } } }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices": { + "/apis/apiregistration.k8s.io/v1/apiservices": { "get": { "description": "list or watch objects of kind APIService", "consumes": [ @@ -18997,14 +19486,14 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "listAPIService", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19015,13 +19504,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -19046,7 +19528,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19062,7 +19544,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIServiceList" + "$ref": "#/definitions/v1.APIServiceList" } }, "401": { @@ -19073,7 +19555,7 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" + "version": "v1" } }, "post": { @@ -19090,7 +19572,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "createAPIService", "parameters": [ @@ -19099,15 +19581,34 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.APIService" } }, "401": { @@ -19118,8 +19619,9 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of APIService", @@ -19135,14 +19637,14 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "deleteCollectionAPIService", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19153,13 +19655,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -19184,7 +19679,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19211,10 +19706,17 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -19224,7 +19726,7 @@ } ] }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { + "/apis/apiregistration.k8s.io/v1/apiservices/{name}": { "get": { "description": "read the specified APIService", "consumes": [ @@ -19239,7 +19741,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "readAPIService", "parameters": [ @@ -19262,7 +19764,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" } }, "401": { @@ -19273,7 +19775,7 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" + "version": "v1" } }, "put": { @@ -19290,7 +19792,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "replaceAPIService", "parameters": [ @@ -19299,15 +19801,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" } }, "401": { @@ -19318,8 +19833,9 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete an APIService", @@ -19335,18 +19851,24 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "deleteAPIService", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -19364,7 +19886,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -19376,6 +19898,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -19384,8 +19912,9 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified APIService", @@ -19403,7 +19932,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "patchAPIService", "parameters": [ @@ -19415,13 +19944,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" } }, "401": { @@ -19432,8 +19968,9 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -19453,7 +19990,42 @@ } ] }, - "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { + "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": { + "get": { + "description": "read status of the specified APIService", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "readAPIServiceStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + } + }, "put": { "description": "replace status of the specified APIService", "consumes": [ @@ -19468,7 +20040,7 @@ "https" ], "tags": [ - "apiregistration_v1beta1" + "apiregistration_v1" ], "operationId": "replaceAPIServiceStatus", "parameters": [ @@ -19477,15 +20049,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.APIService" + "$ref": "#/definitions/v1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.APIService" } }, "401": { @@ -19496,8 +20081,65 @@ "x-kubernetes-group-version-kind": { "group": "apiregistration.k8s.io", "kind": "APIService", - "version": "v1beta1" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified APIService", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apiregistration_v1" + ], + "operationId": "patchAPIServiceStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIService" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -19517,12 +20159,12 @@ } ] }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { + "/apis/apiregistration.k8s.io/v1/watch/apiservices": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19571,7 +20213,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19584,12 +20226,12 @@ } ] }, - "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { + "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19646,7 +20288,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -19659,40 +20301,7 @@ } ] }, - "/apis/apps/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/apps/v1beta1/": { + "/apis/apiregistration.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -19709,7 +20318,7 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -19725,217 +20334,9 @@ } } }, - "/apis/apps/v1beta1/controllerrevisions": { - "get": { - "description": "list or watch objects of kind ControllerRevision", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listControllerRevisionForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevisionList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta1" - ], - "operationId": "listDeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices": { "get": { - "description": "list or watch objects of kind ControllerRevision", + "description": "list or watch objects of kind APIService", "consumes": [ "*/*" ], @@ -19950,14 +20351,14 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "listNamespacedControllerRevision", + "operationId": "listAPIService", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -19968,13 +20369,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -19999,7 +20393,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20015,7 +20409,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevisionList" + "$ref": "#/definitions/v1beta1.APIServiceList" } }, "401": { @@ -20024,13 +20418,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" } }, "post": { - "description": "create a ControllerRevision", + "description": "create an APIService", "consumes": [ "*/*" ], @@ -20043,24 +20437,43 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "createNamespacedControllerRevision", + "operationId": "createAPIService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { @@ -20069,13 +20482,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ControllerRevision", + "description": "delete collection of APIService", "consumes": [ "*/*" ], @@ -20088,14 +20502,14 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "deleteCollectionNamespacedControllerRevision", + "operationId": "deleteCollectionAPIService", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -20106,13 +20520,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -20137,7 +20544,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -20162,19 +20569,18 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -20185,9 +20591,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}": { "get": { - "description": "read the specified ControllerRevision", + "description": "read the specified APIService", "consumes": [ "*/*" ], @@ -20200,9 +20606,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "readNamespacedControllerRevision", + "operationId": "readAPIService", "parameters": [ { "uniqueItems": true, @@ -20223,7 +20629,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { @@ -20232,13 +20638,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" } }, "put": { - "description": "replace the specified ControllerRevision", + "description": "replace the specified APIService", "consumes": [ "*/*" ], @@ -20251,24 +20657,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "replaceNamespacedControllerRevision", + "operationId": "replaceAPIService", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { @@ -20277,13 +20696,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a ControllerRevision", + "description": "delete an APIService", "consumes": [ "*/*" ], @@ -20296,18 +20716,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "deleteNamespacedControllerRevision", + "operationId": "deleteAPIService", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -20325,7 +20751,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -20337,19 +20763,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ControllerRevision", + "description": "partially update the specified APIService", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -20364,9 +20797,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "patchNamespacedControllerRevision", + "operationId": "patchAPIService", "parameters": [ { "name": "body", @@ -20376,13 +20809,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ControllerRevision" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { @@ -20391,28 +20831,21 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ControllerRevision", + "description": "name of the APIService", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -20422,104 +20855,44 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { + "/apis/apiregistration.k8s.io/v1beta1/apiservices/{name}/status": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "read status of the specified APIService", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "listNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apiregistration_v1beta1" ], + "operationId": "readAPIServiceStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentList" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" } }, - "post": { - "description": "create a Deployment", + "put": { + "description": "replace status of the specified APIService", "consumes": [ "*/*" ], @@ -20532,41 +20905,57 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "createNamespacedDeployment", + "operationId": "replaceAPIServiceStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.APIService" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1beta1.APIService" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "delete": { - "description": "delete collection of Deployment", + "patch": { + "description": "partially update status of the specified APIService", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -20577,64 +20966,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "apiregistration_v1beta1" ], - "operationId": "deleteCollectionNamespacedDeployment", + "operationId": "patchAPIServiceStatus", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", "in": "query" } ], @@ -20642,26 +20991,27 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.APIService" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", + "group": "apiregistration.k8s.io", + "kind": "APIService", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the APIService", + "name": "name", "in": "path", "required": true }, @@ -20674,11 +21024,155 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the APIService", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/": { "get": { - "description": "read the specified Deployment", + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -20689,47 +21183,29 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "readNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "apps" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" } - }, - "put": { - "description": "replace the specified Deployment", + } + }, + "/apis/apps/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -20740,167 +21216,199 @@ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "replaceNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" - } - } + "apps_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta1" } - }, - "delete": { - "description": "delete a Deployment", + } + }, + "/apis/apps/v1/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "deleteNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } + "apps_v1" ], + "operationId": "listControllerRevisionForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "kind": "ControllerRevision", + "version": "v1" } }, - "patch": { - "description": "partially update the specified Deployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "patchNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } + "apps_v1" ], + "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.DaemonSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "kind": "DaemonSet", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -20908,71 +21416,103 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a Deployment", + "/apis/apps/v1/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" - ], - "operationId": "createNamespacedDeploymentRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" - } - } + "apps_v1" ], + "operationId": "listDeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" + "$ref": "#/definitions/v1.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DeploymentRollback", - "version": "v1beta1" + "kind": "Deployment", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DeploymentRollback", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -20980,47 +21520,121 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "read scale of the specified Deployment", + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" + ], + "operationId": "listNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "readNamespacedDeploymentScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "kind": "ControllerRevision", + "version": "v1" } }, - "put": { - "description": "replace scale of the specified Deployment", + "post": { + "description": "create a ControllerRevision", "consumes": [ "*/*" ], @@ -21033,43 +21647,61 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "replaceNamespacedDeploymentScale", + "operationId": "createNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.ControllerRevision" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ControllerRevision" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ControllerRevision" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } + "kind": "ControllerRevision", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update scale of the specified Deployment", + "delete": { + "description": "delete collection of ControllerRevision", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -21080,46 +21712,85 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "patchNamespacedDeploymentScale", + "operationId": "deleteCollectionNamespacedControllerRevision", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "kind": "ControllerRevision", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -21138,9 +21809,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "read status of the specified Deployment", + "description": "read the specified ControllerRevision", "consumes": [ "*/*" ], @@ -21153,14 +21824,30 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" + ], + "operationId": "readNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.ControllerRevision" } }, "401": { @@ -21170,12 +21857,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta1" + "kind": "ControllerRevision", + "version": "v1" } }, "put": { - "description": "replace status of the specified Deployment", + "description": "replace the specified ControllerRevision", "consumes": [ "*/*" ], @@ -21188,24 +21875,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "replaceNamespacedDeploymentStatus", + "operationId": "replaceNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.ControllerRevision" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ControllerRevision" } }, "401": { @@ -21215,12 +21915,92 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } + "kind": "ControllerRevision", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteNamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified Deployment", + "description": "partially update the specified ControllerRevision", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21235,9 +22015,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "patchNamespacedDeploymentStatus", + "operationId": "patchNamespacedControllerRevision", "parameters": [ { "name": "body", @@ -21247,13 +22027,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Deployment" + "$ref": "#/definitions/v1.ControllerRevision" } }, "401": { @@ -21263,15 +22050,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta1" - } + "kind": "ControllerRevision", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -21293,9 +22081,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets": { "get": { - "description": "list or watch objects of kind StatefulSet", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -21310,14 +22098,14 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "listNamespacedStatefulSet", + "operationId": "listNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21328,13 +22116,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -21359,7 +22140,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21375,7 +22156,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" + "$ref": "#/definitions/v1.DaemonSetList" } }, "401": { @@ -21385,12 +22166,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "DaemonSet", + "version": "v1" } }, "post": { - "description": "create a StatefulSet", + "description": "create a DaemonSet", "consumes": [ "*/*" ], @@ -21403,24 +22184,43 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "createNamespacedStatefulSet", + "operationId": "createNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.DaemonSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21430,12 +22230,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of StatefulSet", + "description": "delete collection of DaemonSet", "consumes": [ "*/*" ], @@ -21448,14 +22249,14 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "deleteCollectionNamespacedStatefulSet", + "operationId": "deleteCollectionNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -21466,13 +22267,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -21497,7 +22291,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -21523,11 +22317,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "DaemonSet", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -21545,9 +22346,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "read the specified StatefulSet", + "description": "read the specified DaemonSet", "consumes": [ "*/*" ], @@ -21560,9 +22361,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "readNamespacedStatefulSet", + "operationId": "readNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, @@ -21583,7 +22384,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21593,12 +22394,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "DaemonSet", + "version": "v1" } }, "put": { - "description": "replace the specified StatefulSet", + "description": "replace the specified DaemonSet", "consumes": [ "*/*" ], @@ -21611,24 +22412,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "replaceNamespacedStatefulSet", + "operationId": "replaceNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21638,12 +22452,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a StatefulSet", + "description": "delete a DaemonSet", "consumes": [ "*/*" ], @@ -21656,18 +22471,24 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "deleteNamespacedStatefulSet", + "operationId": "deleteNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -21685,7 +22506,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -21697,6 +22518,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -21704,12 +22531,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified StatefulSet", + "description": "partially update the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21724,9 +22552,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "patchNamespacedStatefulSet", + "operationId": "patchNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -21736,13 +22564,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21752,15 +22587,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StatefulSet", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -21782,9 +22618,9 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale": { + "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "read scale of the specified StatefulSet", + "description": "read status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -21797,14 +22633,14 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "readNamespacedStatefulSetScale", + "operationId": "readNamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21814,12 +22650,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" + "kind": "DaemonSet", + "version": "v1" } }, "put": { - "description": "replace scale of the specified StatefulSet", + "description": "replace status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -21832,24 +22668,37 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "replaceNamespacedStatefulSetScale", + "operationId": "replaceNamespacedDaemonSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21859,12 +22708,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update scale of the specified StatefulSet", + "description": "partially update status of the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -21879,9 +22729,9 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "patchNamespacedStatefulSetScale", + "operationId": "patchNamespacedDaemonSetStatus", "parameters": [ { "name": "body", @@ -21891,13 +22741,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/apps.v1beta1.Scale" + "$ref": "#/definitions/v1.DaemonSet" } }, "401": { @@ -21907,15 +22764,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Scale", - "version": "v1beta1" - } + "kind": "DaemonSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -21937,44 +22795,97 @@ } ] }, - "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { + "/apis/apps/v1/namespaces/{namespace}/deployments": { "get": { - "description": "read status of the specified StatefulSet", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" + ], + "operationId": "listNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "readNamespacedStatefulSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "Deployment", + "version": "v1" } }, - "put": { - "description": "replace status of the specified StatefulSet", + "post": { + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -21987,43 +22898,61 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "replaceNamespacedStatefulSetStatus", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" - } + "kind": "Deployment", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update status of the specified StatefulSet", + "delete": { + "description": "delete collection of Deployment", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -22034,46 +22963,85 @@ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" ], - "operationId": "patchNamespacedStatefulSetStatus", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSet" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "Deployment", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -22092,280 +23060,437 @@ } ] }, - "/apis/apps/v1beta1/statefulsets": { + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "list or watch objects of kind StatefulSet", + "description": "read the specified Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta1" + "apps_v1" + ], + "operationId": "readNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "listStatefulSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StatefulSetList" + "$ref": "#/definitions/v1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "StatefulSet", - "version": "v1beta1" + "kind": "Deployment", + "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "put": { + "description": "replace the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "deleteNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/controllerrevisions": { + "x-codegen-request-body-name": "body" + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/apps/v1beta1/watch/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readNamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + }, + "put": { + "description": "replace scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { + "x-codegen-request-body-name": "body" + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -22381,71 +23506,165 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": { + "get": { + "description": "read status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "readNamespacedDeploymentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1" + ], + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ControllerRevision", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -22464,449 +23683,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta1/watch/statefulsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/apps/v1beta2/controllerrevisions": { + "/apis/apps/v1/namespaces/{namespace}/replicasets": { "get": { - "description": "list or watch objects of kind ControllerRevision", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -22921,14 +23703,65 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" + ], + "operationId": "listNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "listControllerRevisionForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevisionList" + "$ref": "#/definitions/v1.ReplicaSetList" } }, "401": { @@ -22938,412 +23771,61 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/daemonsets": { - "get": { - "description": "list or watch objects of kind DaemonSet", + "post": { + "description": "create a ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" + ], + "operationId": "createNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "listDeploymentForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.DeploymentList" + "$ref": "#/definitions/v1.ReplicaSet" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions": { - "get": { - "description": "list or watch objects of kind ControllerRevision", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "listNamespacedControllerRevision", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevisionList" + "$ref": "#/definitions/v1.ReplicaSet" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } - }, - "post": { - "description": "create a ControllerRevision", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "createNamespacedControllerRevision", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" - } - } - ], - "responses": { - "200": { - "description": "OK", + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -23353,12 +23835,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ControllerRevision", + "description": "delete collection of ReplicaSet", "consumes": [ "*/*" ], @@ -23371,14 +23854,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "deleteCollectionNamespacedControllerRevision", + "operationId": "deleteCollectionNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -23389,13 +23872,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -23420,7 +23896,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -23446,11 +23922,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -23468,9 +23951,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "read the specified ControllerRevision", + "description": "read the specified ReplicaSet", "consumes": [ "*/*" ], @@ -23483,9 +23966,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "readNamespacedControllerRevision", + "operationId": "readNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, @@ -23506,7 +23989,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -23516,12 +23999,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, "put": { - "description": "replace the specified ControllerRevision", + "description": "replace the specified ReplicaSet", "consumes": [ "*/*" ], @@ -23534,24 +24017,37 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "replaceNamespacedControllerRevision", + "operationId": "replaceNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.ReplicaSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -23561,12 +24057,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a ControllerRevision", + "description": "delete a ReplicaSet", "consumes": [ "*/*" ], @@ -23579,18 +24076,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "deleteNamespacedControllerRevision", + "operationId": "deleteNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -23608,7 +24111,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -23620,6 +24123,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -23627,12 +24136,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ControllerRevision", + "description": "partially update the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -23647,9 +24157,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedControllerRevision", + "operationId": "patchNamespacedReplicaSet", "parameters": [ { "name": "body", @@ -23659,13 +24169,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ControllerRevision" + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -23675,15 +24192,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ControllerRevision", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ControllerRevision", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -23705,104 +24223,44 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets": { + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "read scale of the specified ReplicaSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta2" - ], - "operationId": "listNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1" ], + "operationId": "readNamespacedReplicaSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSetList" + "$ref": "#/definitions/v1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "group": "autoscaling", + "kind": "Scale", + "version": "v1" } }, - "post": { - "description": "create a DaemonSet", + "put": { + "description": "replace scale of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -23815,313 +24273,53 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "createNamespacedDaemonSet", + "operationId": "replaceNamespacedReplicaSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, - "delete": { - "description": "delete collection of DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteCollectionNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}": { - "get": { - "description": "read the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "put": { - "description": "replace the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "delete": { - "description": "delete a DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update the specified DaemonSet", + "patch": { + "description": "partially update scale of the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -24136,9 +24334,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedDaemonSet", + "operationId": "patchNamespacedReplicaSetScale", "parameters": [ { "name": "body", @@ -24148,13 +24346,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.Scale" } }, "401": { @@ -24163,16 +24368,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -24194,9 +24400,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status": { + "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": { "get": { - "description": "read status of the specified DaemonSet", + "description": "read status of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -24209,14 +24415,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "readNamespacedDaemonSetStatus", + "operationId": "readNamespacedReplicaSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -24226,12 +24432,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "kind": "ReplicaSet", + "version": "v1" } }, "put": { - "description": "replace status of the specified DaemonSet", + "description": "replace status of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -24244,24 +24450,37 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "replaceNamespacedDaemonSetStatus", + "operationId": "replaceNamespacedReplicaSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.ReplicaSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -24271,12 +24490,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified DaemonSet", + "description": "partially update status of the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -24291,9 +24511,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedDaemonSetStatus", + "operationId": "patchNamespacedReplicaSetStatus", "parameters": [ { "name": "body", @@ -24303,13 +24523,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DaemonSet" + "$ref": "#/definitions/v1.ReplicaSet" } }, "401": { @@ -24319,15 +24546,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" - } + "kind": "ReplicaSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -24349,9 +24577,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -24366,14 +24594,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "listNamespacedDeployment", + "operationId": "listNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24384,13 +24612,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -24415,7 +24636,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24431,7 +24652,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.DeploymentList" + "$ref": "#/definitions/v1.StatefulSetList" } }, "401": { @@ -24441,12 +24662,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "StatefulSet", + "version": "v1" } }, "post": { - "description": "create a Deployment", + "description": "create a StatefulSet", "consumes": [ "*/*" ], @@ -24459,24 +24680,43 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "createNamespacedDeployment", + "operationId": "createNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StatefulSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -24486,12 +24726,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of Deployment", + "description": "delete collection of StatefulSet", "consumes": [ "*/*" ], @@ -24504,14 +24745,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "deleteCollectionNamespacedDeployment", + "operationId": "deleteCollectionNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -24522,13 +24763,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -24553,7 +24787,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -24579,11 +24813,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "StatefulSet", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -24601,9 +24842,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified Deployment", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -24616,9 +24857,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "readNamespacedDeployment", + "operationId": "readNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -24639,7 +24880,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -24649,12 +24890,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "StatefulSet", + "version": "v1" } }, "put": { - "description": "replace the specified Deployment", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -24667,24 +24908,37 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "replaceNamespacedDeployment", + "operationId": "replaceNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -24694,12 +24948,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a Deployment", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -24712,18 +24967,24 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "deleteNamespacedDeployment", + "operationId": "deleteNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -24741,7 +25002,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -24753,6 +25014,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -24760,12 +25027,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified Deployment", + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -24780,9 +25048,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedDeployment", + "operationId": "patchNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -24792,13 +25060,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -24808,15 +25083,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -24838,9 +25114,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": { "get": { - "description": "read scale of the specified Deployment", + "description": "read scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -24853,14 +25129,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "readNamespacedDeploymentScale", + "operationId": "readNamespacedStatefulSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Scale" } }, "401": { @@ -24869,13 +25145,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "apps", + "group": "autoscaling", "kind": "Scale", - "version": "v1beta2" + "version": "v1" } }, "put": { - "description": "replace scale of the specified Deployment", + "description": "replace scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -24888,24 +25164,37 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "replaceNamespacedDeploymentScale", + "operationId": "replaceNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Scale" } }, "401": { @@ -24914,13 +25203,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "apps", + "group": "autoscaling", "kind": "Scale", - "version": "v1beta2" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update scale of the specified Deployment", + "description": "partially update scale of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -24935,9 +25225,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedDeploymentScale", + "operationId": "patchNamespacedStatefulSetScale", "parameters": [ { "name": "body", @@ -24947,13 +25237,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Scale" + "$ref": "#/definitions/v1.Scale" } }, "401": { @@ -24962,10 +25259,11 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "apps", + "group": "autoscaling", "kind": "Scale", - "version": "v1beta2" - } + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -24993,9 +25291,9 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status": { + "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": { "get": { - "description": "read status of the specified Deployment", + "description": "read status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -25008,14 +25306,14 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "readNamespacedDeploymentStatus", + "operationId": "readNamespacedStatefulSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -25025,12 +25323,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" + "kind": "StatefulSet", + "version": "v1" } }, "put": { - "description": "replace status of the specified Deployment", + "description": "replace status of the specified StatefulSet", "consumes": [ "*/*" ], @@ -25043,24 +25341,37 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "replaceNamespacedDeploymentStatus", + "operationId": "replaceNamespacedStatefulSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -25070,12 +25381,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified Deployment", + "description": "partially update status of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -25090,9 +25402,9 @@ "https" ], "tags": [ - "apps_v1beta2" + "apps_v1" ], - "operationId": "patchNamespacedDeploymentStatus", + "operationId": "patchNamespacedStatefulSetStatus", "parameters": [ { "name": "body", @@ -25102,13 +25414,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.Deployment" + "$ref": "#/definitions/v1.StatefulSet" } }, "401": { @@ -25118,15 +25437,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "Deployment", - "version": "v1beta2" - } + "kind": "StatefulSet", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -25148,7 +25468,7 @@ } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets": { + "/apis/apps/v1/replicasets": { "get": { "description": "list or watch objects of kind ReplicaSet", "consumes": [ @@ -25165,72 +25485,14 @@ "https" ], "tags": [ - "apps_v1beta2" - ], - "operationId": "listNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1" ], + "operationId": "listReplicaSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSetList" + "$ref": "#/definitions/v1.ReplicaSetList" } }, "401": { @@ -25241,155 +25503,44 @@ "x-kubernetes-group-version-kind": { "group": "apps", "kind": "ReplicaSet", - "version": "v1beta2" + "version": "v1" } }, - "post": { - "description": "create a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "createNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "delete": { - "description": "delete collection of ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteCollectionNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25397,236 +25548,170 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}": { + "/apis/apps/v1/statefulsets": { "get": { - "description": "read the specified ReplicaSet", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "apps_v1" ], + "operationId": "listStatefulSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" + "$ref": "#/definitions/v1.StatefulSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + "kind": "StatefulSet", + "version": "v1" } }, - "put": { - "description": "replace the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "delete": { - "description": "delete a ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1/watch/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25634,154 +25719,133 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "description": "read scale of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedReplicaSetScale", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1/watch/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "put": { - "description": "replace scale of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedReplicaSetScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update scale of the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedReplicaSetScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1/watch/deployments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25789,146 +25853,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status": { - "get": { - "description": "read status of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedReplicaSetStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "put": { - "description": "replace status of the specified ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedReplicaSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update status of the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedReplicaSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -25944,477 +25928,71 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - } - ] - }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets": { - "get": { - "description": "list or watch objects of kind StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "listNamespacedStatefulSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "post": { - "description": "create a StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "createNamespacedStatefulSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "delete": { - "description": "delete collection of StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteCollectionNamespacedStatefulSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" - } - ] - }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}": { - "get": { - "description": "read the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedStatefulSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "put": { - "description": "replace the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedStatefulSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "delete": { - "description": "delete a StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "deleteNamespacedStatefulSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update the specified StatefulSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedStatefulSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StatefulSet", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -26433,362 +26011,36 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale": { - "get": { - "description": "read scale of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedStatefulSetScale", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "put": { - "description": "replace scale of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedStatefulSetScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update scale of the specified StatefulSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedStatefulSetScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.Scale" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "Scale", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status": { - "get": { - "description": "read status of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "readNamespacedStatefulSetStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "put": { - "description": "replace status of the specified StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "replaceNamespacedStatefulSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "patch": { - "description": "partially update status of the specified StatefulSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "patchNamespacedStatefulSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "listReplicaSetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.ReplicaSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "ReplicaSet", - "version": "v1beta2" - } - }, + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26820,6 +26072,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -26837,7 +26097,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -26850,49 +26110,12 @@ } ] }, - "/apis/apps/v1beta2/statefulsets": { - "get": { - "description": "list or watch objects of kind StatefulSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "apps_v1beta2" - ], - "operationId": "listStatefulSetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta2.StatefulSetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "apps", - "kind": "StatefulSet", - "version": "v1beta2" - } - }, + "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -26927,69 +26150,18 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/watch/controllerrevisions": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -27008,7 +26180,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27021,12 +26193,12 @@ } ] }, - "/apis/apps/v1beta2/watch/daemonsets": { + "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27058,6 +26230,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -27075,7 +26255,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27088,12 +26268,12 @@ } ] }, - "/apis/apps/v1beta2/watch/deployments": { + "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27125,6 +26305,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -27142,7 +26338,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27155,12 +26351,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27217,7 +26413,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27230,12 +26426,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27270,7 +26466,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ControllerRevision", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -27300,7 +26496,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27313,12 +26509,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27375,7 +26571,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27388,12 +26584,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { + "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27428,7 +26624,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -27458,7 +26654,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27471,12 +26667,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { + "/apis/apps/v1/watch/replicasets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27508,14 +26704,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -27533,7 +26721,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27546,12 +26734,12 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { + "/apis/apps/v1/watch/statefulsets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27583,22 +26771,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -27616,7 +26788,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27629,245 +26801,82 @@ } ] }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "/apis/apps/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } } - ] + } }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/apps/v1beta1/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listControllerRevisionForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevisionList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } - ] - }, - "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -27899,22 +26908,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the StatefulSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -27932,7 +26925,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -27945,79 +26938,49 @@ } ] }, - "/apis/apps/v1beta2/watch/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/apps/v1beta1/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listDeploymentForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } - ] - }, - "/apis/apps/v1beta2/watch/statefulsets": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -28066,7 +27029,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -28079,46 +27042,99 @@ } ] }, - "/apis/authentication.k8s.io/": { + "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions": { "get": { - "description": "get information of a group", + "description": "list or watch objects of kind ControllerRevision", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authentication" + "apps_v1beta1" + ], + "operationId": "listNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta1.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } - } - }, - "/apis/authentication.k8s.io/v1/": { - "get": { - "description": "get available resources", + }, + "post": { + "description": "create a ControllerRevision", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28129,25 +27145,59 @@ "https" ], "tags": [ - "authentication_v1" + "apps_v1beta1" + ], + "operationId": "createNamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevision" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/authentication.k8s.io/v1/tokenreviews": { - "post": { - "description": "create a TokenReview", + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevision" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevision" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ControllerRevision", "consumes": [ "*/*" ], @@ -28160,38 +27210,94 @@ "https" ], "tags": [ - "authentication_v1" + "apps_v1beta1" ], - "operationId": "createTokenReview", + "operationId": "deleteCollectionNamespacedControllerRevision", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.TokenReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.TokenReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", - "version": "v1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -28201,13 +27307,11 @@ } ] }, - "/apis/authentication.k8s.io/v1beta1/": { + "/apis/apps/v1beta1/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "get available resources", + "description": "read the specified ControllerRevision", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28218,25 +27322,45 @@ "https" ], "tags": [ - "authentication_v1beta1" + "apps_v1beta1" + ], + "operationId": "readNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" } - } - }, - "/apis/authentication.k8s.io/v1beta1/tokenreviews": { - "post": { - "description": "create a TokenReview", + }, + "put": { + "description": "replace the specified ControllerRevision", "consumes": [ "*/*" ], @@ -28249,54 +27373,55 @@ "https" ], "tags": [ - "authentication_v1beta1" + "apps_v1beta1" ], - "operationId": "createTokenReview", + "operationId": "replaceNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" + "$ref": "#/definitions/v1beta1.ControllerRevision" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.TokenReview" + "$ref": "#/definitions/v1beta1.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "authentication.k8s.io", - "kind": "TokenReview", + "group": "apps", + "kind": "ControllerRevision", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/": { - "get": { - "description": "get information of a group", + "delete": { + "description": "delete a ControllerRevision", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28307,60 +27432,77 @@ "https" ], "tags": [ - "authorization" + "apps_v1beta1" ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", + "operationId": "deleteNamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1.DeleteOptions" } }, - "401": { - "description": "Unauthorized" + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" } - } - } - }, - "/apis/authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" ], - "tags": [ - "authorization_v1" - ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } - } - } - }, - "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ControllerRevision", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -28371,38 +27513,55 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1beta1" ], - "operationId": "createNamespacedLocalSubjectAccessReview", + "operationId": "patchNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.LocalSubjectAccessReview" + "$ref": "#/definitions/v1beta1.ControllerRevision" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", - "version": "v1" - } + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -28420,65 +27579,97 @@ } ] }, - "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", + "/apis/apps/v1beta1/namespaces/{namespace}/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "authorization_v1" + "apps_v1beta1" ], - "operationId": "createSelfSubjectAccessReview", + "operationId": "listNamespacedDeployment", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SelfSubjectAccessReview" + "$ref": "#/definitions/apps.v1beta1.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { "post": { - "description": "create a SelfSubjectRulesReview", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -28491,24 +27682,43 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1beta1" ], - "operationId": "createSelfSubjectRulesReview", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" + "$ref": "#/definitions/apps.v1beta1.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SelfSubjectRulesReview" + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { @@ -28517,24 +27727,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", - "version": "v1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1/subjectaccessreviews": { - "post": { - "description": "create a SubjectAccessReview", + "delete": { + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -28547,38 +27747,94 @@ "https" ], "tags": [ - "authorization_v1" + "apps_v1beta1" ], - "operationId": "createSubjectAccessReview", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.SubjectAccessReview" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -28588,13 +27844,11 @@ } ] }, - "/apis/authorization.k8s.io/v1beta1/": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "get available resources", + "description": "read the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28605,25 +27859,45 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1beta1" + ], + "operationId": "readNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } - } - }, - "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { - "post": { - "description": "create a LocalSubjectAccessReview", + }, + "put": { + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -28636,58 +27910,53 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1beta1" ], - "operationId": "createNamespacedLocalSubjectAccessReview", + "operationId": "replaceNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" + "$ref": "#/definitions/apps.v1beta1.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "LocalSubjectAccessReview", + "group": "apps", + "kind": "Deployment", "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { - "post": { - "description": "create a SelfSubjectAccessReview", + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -28700,52 +27969,77 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1beta1" ], - "operationId": "createSelfSubjectAccessReview", + "operationId": "deleteNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1.DeleteOptions" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", + "group": "apps", + "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { - "post": { - "description": "create a SelfSubjectRulesReview", + "patch": { + "description": "partially update the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -28756,38 +28050,63 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1beta1" ], - "operationId": "createSelfSubjectRulesReview", + "operationId": "patchNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SelfSubjectRulesReview", + "group": "apps", + "kind": "Deployment", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -28797,9 +28116,9 @@ } ] }, - "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { "post": { - "description": "create a SubjectAccessReview", + "description": "create rollback of a Deployment", "consumes": [ "*/*" ], @@ -28812,16 +28131,16 @@ "https" ], "tags": [ - "authorization_v1beta1" + "apps_v1beta1" ], - "operationId": "createSubjectAccessReview", + "operationId": "createNamespacedDeploymentRollback", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" + "$ref": "#/definitions/apps.v1beta1.DeploymentRollback" } } ], @@ -28829,7 +28148,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.SubjectAccessReview" + "$ref": "#/definitions/v1.Status" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" } }, "401": { @@ -28838,12 +28169,43 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", + "group": "apps", + "kind": "DeploymentRollback", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -28853,13 +28215,11 @@ } ] }, - "/apis/autoscaling/": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { "get": { - "description": "get information of a group", + "description": "read scale of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28870,29 +28230,31 @@ "https" ], "tags": [ - "autoscaling" + "apps_v1beta1" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedDeploymentScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" } - } - }, - "/apis/autoscaling/v1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace scale of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -28903,95 +28265,123 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } - } - } - }, - "/apis/autoscaling/v1/horizontalpodautoscalers": { - "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" + ], + "operationId": "patchNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -28999,128 +28389,47 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apps/v1beta1/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", + "description": "read status of the specified Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v1" - ], - "operationId": "listNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1beta1" ], + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" } }, - "post": { - "description": "create a HorizontalPodAutoscaler", + "put": { + "description": "replace status of the specified Deployment", "consumes": [ "*/*" ], @@ -29133,41 +28442,57 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "createNamespacedHorizontalPodAutoscaler", + "operationId": "replaceNamespacedDeploymentStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, - "delete": { - "description": "delete collection of HorizontalPodAutoscaler", + "patch": { + "description": "partially update status of the specified Deployment", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -29178,14 +28503,97 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29196,11 +28604,155 @@ "name": "fieldSelector", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, { "uniqueItems": true, "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "createNamespacedStatefulSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "deleteCollectionNamespacedStatefulSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { @@ -29227,7 +28779,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29252,12 +28804,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -29275,9 +28834,9 @@ } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified HorizontalPodAutoscaler", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -29290,9 +28849,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "readNamespacedHorizontalPodAutoscaler", + "operationId": "readNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -29313,7 +28872,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { @@ -29322,13 +28881,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" } }, "put": { - "description": "replace the specified HorizontalPodAutoscaler", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -29341,24 +28900,37 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedHorizontalPodAutoscaler", + "operationId": "replaceNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { @@ -29367,13 +28939,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a HorizontalPodAutoscaler", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -29386,18 +28959,24 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "operationId": "deleteNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -29415,7 +28994,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -29427,19 +29006,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified HorizontalPodAutoscaler", + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -29454,9 +29040,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscaler", + "operationId": "patchNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -29466,13 +29052,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta1.StatefulSet" } }, "401": { @@ -29481,16 +29074,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true @@ -29512,9 +29106,9 @@ } ] }, - "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/scale": { "get": { - "description": "read status of the specified HorizontalPodAutoscaler", + "description": "read scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -29527,14 +29121,14 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", + "operationId": "readNamespacedStatefulSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { @@ -29543,13 +29137,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" + "group": "apps", + "kind": "Scale", + "version": "v1beta1" } }, "put": { - "description": "replace status of the specified HorizontalPodAutoscaler", + "description": "replace scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -29562,24 +29156,37 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "operationId": "replaceNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { @@ -29588,13 +29195,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified HorizontalPodAutoscaler", + "description": "partially update scale of the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -29609,9 +29217,9 @@ "https" ], "tags": [ - "autoscaling_v1" + "apps_v1beta1" ], - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "operationId": "patchNamespacedStatefulSetScale", "parameters": [ { "name": "body", @@ -29621,13 +29229,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/apps.v1beta1.Scale" } }, "401": { @@ -29636,16 +29251,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -29667,49 +29283,263 @@ } ] }, - "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "/apis/apps/v1beta1/namespaces/{namespace}/statefulsets/{name}/status": { + "get": { + "description": "read status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "readNamespacedStatefulSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "replaceNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "patchNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/statefulsets": { + "get": { + "description": "list or watch objects of kind StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta1" + ], + "operationId": "listStatefulSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.StatefulSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" }, { "uniqueItems": true, @@ -29721,7 +29551,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29734,12 +29564,146 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { + "/apis/apps/v1beta1/watch/controllerrevisions": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29796,7 +29760,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29809,12 +29773,12 @@ } ] }, - "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29849,7 +29813,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the HorizontalPodAutoscaler", + "description": "name of the ControllerRevision", "name": "name", "in": "path", "required": true @@ -29879,7 +29843,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -29892,82 +29856,12 @@ } ] }, - "/apis/autoscaling/v2beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { - "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "listHorizontalPodAutoscalerForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -29999,6 +29893,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -30016,7 +29918,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -30029,106 +29931,321 @@ } ] }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { - "get": { - "description": "list or watch objects of kind HorizontalPodAutoscaler", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "listNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "post": { - "description": "create a HorizontalPodAutoscaler", + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta1/watch/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -30139,138 +30256,95 @@ "https" ], "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "createNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - } + "apps_v1beta2" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" } - }, - "delete": { - "description": "delete collection of HorizontalPodAutoscaler", + } + }, + "/apis/apps/v1beta2/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "apps_v1beta2" ], + "operationId": "listControllerRevisionForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -30278,151 +30352,306 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "/apis/apps/v1beta2/daemonsets": { "get": { - "description": "read the specified HorizontalPodAutoscaler", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "readNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "apps_v1beta2" ], + "operationId": "listDaemonSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.DaemonSetList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, - "put": { - "description": "replace the specified HorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v2beta1" - ], - "operationId": "replaceNamespacedHorizontalPodAutoscaler", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" - } - } + "apps_v1beta2" ], + "operationId": "listDeploymentForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.DeploymentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, - "delete": { - "description": "delete a HorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions": { + "get": { + "description": "list or watch objects of kind ControllerRevision", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "operationId": "listNamespacedControllerRevision", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", "in": "query" } ], @@ -30430,26 +30659,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta2.ControllerRevisionList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, - "patch": { - "description": "partially update the specified HorizontalPodAutoscaler", + "post": { + "description": "create a ControllerRevision", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -30460,46 +30687,150 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedHorizontalPodAutoscaler", + "operationId": "createNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta2.ControllerRevision" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.ControllerRevision" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ControllerRevision", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "deleteCollectionNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "name of the HorizontalPodAutoscaler", - "name": "name", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -30518,9 +30849,9 @@ } ] }, - "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/controllerrevisions/{name}": { "get": { - "description": "read status of the specified HorizontalPodAutoscaler", + "description": "read the specified ControllerRevision", "consumes": [ "*/*" ], @@ -30533,14 +30864,30 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1beta2" + ], + "operationId": "readNamespacedControllerRevision", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { @@ -30549,13 +30896,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified HorizontalPodAutoscaler", + "description": "replace the specified ControllerRevision", "consumes": [ "*/*" ], @@ -30568,24 +30915,37 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "operationId": "replaceNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.ControllerRevision" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1beta2.ControllerRevision" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { @@ -30594,17 +30954,16 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update status of the specified HorizontalPodAutoscaler", + "delete": { + "description": "delete a ControllerRevision", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -30615,329 +30974,77 @@ "https" ], "tags": [ - "autoscaling_v2beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "operationId": "deleteNamespacedControllerRevision", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.DeleteOptions" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "autoscaling", - "kind": "HorizontalPodAutoscaler", - "version": "v2beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the HorizontalPodAutoscaler", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the HorizontalPodAutoscaler", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v1/": { - "get": { - "description": "get available resources", + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ControllerRevision", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -30948,95 +31055,62 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", + "operationId": "patchNamespacedControllerRevision", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } }, - "401": { - "description": "Unauthorized" + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } - } - } - }, - "/apis/batch/v1/jobs": { - "get": { - "description": "list or watch objects of kind Job", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v1" ], - "operationId": "listJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/v1beta2.ControllerRevision" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "ControllerRevision", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -31044,33 +31118,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets": { "get": { - "description": "list or watch objects of kind Job", + "description": "list or watch objects of kind DaemonSet", "consumes": [ "*/*" ], @@ -31085,14 +31138,14 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "listNamespacedJob", + "operationId": "listNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31103,13 +31156,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -31134,7 +31180,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31150,7 +31196,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.JobList" + "$ref": "#/definitions/v1beta2.DaemonSetList" } }, "401": { @@ -31159,13 +31205,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "post": { - "description": "create a Job", + "description": "create a DaemonSet", "consumes": [ "*/*" ], @@ -31178,24 +31224,43 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "createNamespacedJob", + "operationId": "createNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.DaemonSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31204,13 +31269,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of Job", + "description": "delete collection of DaemonSet", "consumes": [ "*/*" ], @@ -31223,14 +31289,14 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedJob", + "operationId": "deleteCollectionNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -31241,13 +31307,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -31272,7 +31331,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -31297,12 +31356,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -31320,9 +31386,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}": { "get": { - "description": "read the specified Job", + "description": "read the specified DaemonSet", "consumes": [ "*/*" ], @@ -31335,9 +31401,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "readNamespacedJob", + "operationId": "readNamespacedDaemonSet", "parameters": [ { "uniqueItems": true, @@ -31358,7 +31424,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31367,13 +31433,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified Job", + "description": "replace the specified DaemonSet", "consumes": [ "*/*" ], @@ -31386,24 +31452,37 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedJob", + "operationId": "replaceNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31412,13 +31491,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a Job", + "description": "delete a DaemonSet", "consumes": [ "*/*" ], @@ -31431,18 +31511,24 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedJob", + "operationId": "deleteNamespacedDaemonSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -31460,7 +31546,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -31472,19 +31558,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified Job", + "description": "partially update the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -31499,9 +31592,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "patchNamespacedJob", + "operationId": "patchNamespacedDaemonSet", "parameters": [ { "name": "body", @@ -31511,13 +31604,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31526,16 +31626,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Job", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -31557,9 +31658,9 @@ } ] }, - "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/daemonsets/{name}/status": { "get": { - "description": "read status of the specified Job", + "description": "read status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -31572,14 +31673,14 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "readNamespacedJobStatus", + "operationId": "readNamespacedDaemonSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31588,13 +31689,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified Job", + "description": "replace status of the specified DaemonSet", "consumes": [ "*/*" ], @@ -31607,24 +31708,37 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedJobStatus", + "operationId": "replaceNamespacedDaemonSetStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31633,13 +31747,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified Job", + "description": "partially update status of the specified DaemonSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -31654,9 +31769,9 @@ "https" ], "tags": [ - "batch_v1" + "apps_v1beta2" ], - "operationId": "patchNamespacedJobStatus", + "operationId": "patchNamespacedDaemonSetStatus", "parameters": [ { "name": "body", @@ -31666,13 +31781,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Job" + "$ref": "#/definitions/v1beta2.DaemonSet" } }, "401": { @@ -31681,220 +31803,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "Job", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Job", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/batch/v1/watch/jobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { + "x-codegen-request-body-name": "body" + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Job", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -31913,170 +31832,12 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1beta1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/batch/v1beta1/cronjobs": { - "get": { - "description": "list or watch objects of kind CronJob", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "batch_v1beta1" - ], - "operationId": "listCronJobForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments": { "get": { - "description": "list or watch objects of kind CronJob", + "description": "list or watch objects of kind Deployment", "consumes": [ "*/*" ], @@ -32091,14 +31852,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "listNamespacedCronJob", + "operationId": "listNamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32109,13 +31870,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -32140,7 +31894,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32156,7 +31910,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJobList" + "$ref": "#/definitions/v1beta2.DeploymentList" } }, "401": { @@ -32165,13 +31919,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "post": { - "description": "create a CronJob", + "description": "create a Deployment", "consumes": [ "*/*" ], @@ -32184,24 +31938,43 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "createNamespacedCronJob", + "operationId": "createNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { @@ -32210,13 +31983,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of CronJob", + "description": "delete collection of Deployment", "consumes": [ "*/*" ], @@ -32229,14 +32003,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedCronJob", + "operationId": "deleteCollectionNamespacedDeployment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -32247,13 +32021,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -32278,7 +32045,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -32303,12 +32070,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -32326,9 +32100,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}": { "get": { - "description": "read the specified CronJob", + "description": "read the specified Deployment", "consumes": [ "*/*" ], @@ -32341,9 +32115,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedCronJob", + "operationId": "readNamespacedDeployment", "parameters": [ { "uniqueItems": true, @@ -32364,7 +32138,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { @@ -32373,13 +32147,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } }, "put": { - "description": "replace the specified CronJob", + "description": "replace the specified Deployment", "consumes": [ "*/*" ], @@ -32392,24 +32166,37 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedCronJob", + "operationId": "replaceNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { @@ -32418,13 +32205,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a CronJob", + "description": "delete a Deployment", "consumes": [ "*/*" ], @@ -32437,18 +32225,24 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedCronJob", + "operationId": "deleteNamespacedDeployment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -32466,7 +32260,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -32478,19 +32272,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified CronJob", + "description": "partially update the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -32505,9 +32306,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJob", + "operationId": "patchNamespacedDeployment", "parameters": [ { "name": "body", @@ -32517,13 +32318,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { @@ -32532,16 +32340,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Deployment", "name": "name", "in": "path", "required": true @@ -32563,9 +32372,9 @@ } ] }, - "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/scale": { "get": { - "description": "read status of the specified CronJob", + "description": "read scale of the specified Deployment", "consumes": [ "*/*" ], @@ -32578,14 +32387,14 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "readNamespacedCronJobStatus", + "operationId": "readNamespacedDeploymentScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -32594,13 +32403,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified CronJob", + "description": "replace scale of the specified Deployment", "consumes": [ "*/*" ], @@ -32613,24 +32422,37 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedCronJobStatus", + "operationId": "replaceNamespacedDeploymentScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -32639,13 +32461,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update scale of the specified Deployment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -32660,9 +32483,9 @@ "https" ], "tags": [ - "batch_v1beta1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJobStatus", + "operationId": "patchNamespacedDeploymentScale", "parameters": [ { "name": "body", @@ -32672,13 +32495,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -32687,220 +32517,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/batch/v1beta1/watch/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "group": "apps", + "kind": "Scale", + "version": "v1beta2" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "x-codegen-request-body-name": "body" + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -32919,37 +32546,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/batch/v2alpha1/": { + "/apis/apps/v1beta2/namespaces/{namespace}/deployments/{name}/status": { "get": { - "description": "get available resources", + "description": "read status of the specified Deployment", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -32960,129 +32564,171 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "getAPIResources", + "operationId": "readNamespacedDeploymentStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" } - } - }, - "/apis/batch/v2alpha1/cronjobs": { - "get": { - "description": "list or watch objects of kind CronJob", + }, + "put": { + "description": "replace status of the specified Deployment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" + ], + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "listCronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Deployment", + "version": "v1beta2" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets": { "get": { - "description": "list or watch objects of kind CronJob", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -33097,14 +32743,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "listNamespacedCronJob", + "operationId": "listNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33115,13 +32761,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -33146,7 +32785,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33162,7 +32801,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJobList" + "$ref": "#/definitions/v1beta2.ReplicaSetList" } }, "401": { @@ -33171,13 +32810,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "post": { - "description": "create a CronJob", + "description": "create a ReplicaSet", "consumes": [ "*/*" ], @@ -33190,24 +32829,43 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "createNamespacedCronJob", + "operationId": "createNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { @@ -33216,13 +32874,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of CronJob", + "description": "delete collection of ReplicaSet", "consumes": [ "*/*" ], @@ -33235,14 +32894,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "deleteCollectionNamespacedCronJob", + "operationId": "deleteCollectionNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -33253,13 +32912,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -33284,7 +32936,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -33309,12 +32961,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -33332,9 +32991,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}": { "get": { - "description": "read the specified CronJob", + "description": "read the specified ReplicaSet", "consumes": [ "*/*" ], @@ -33347,9 +33006,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "readNamespacedCronJob", + "operationId": "readNamespacedReplicaSet", "parameters": [ { "uniqueItems": true, @@ -33370,7 +33029,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { @@ -33379,13 +33038,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified CronJob", + "description": "replace the specified ReplicaSet", "consumes": [ "*/*" ], @@ -33398,24 +33057,37 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedCronJob", + "operationId": "replaceNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { @@ -33424,13 +33096,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a CronJob", + "description": "delete a ReplicaSet", "consumes": [ "*/*" ], @@ -33443,18 +33116,24 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "deleteNamespacedCronJob", + "operationId": "deleteNamespacedReplicaSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -33472,7 +33151,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -33484,19 +33163,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified CronJob", + "description": "partially update the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -33511,9 +33197,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJob", + "operationId": "patchNamespacedReplicaSet", "parameters": [ { "name": "body", @@ -33523,13 +33209,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { @@ -33538,16 +33231,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the ReplicaSet", "name": "name", "in": "path", "required": true @@ -33569,9 +33263,9 @@ } ] }, - "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/scale": { "get": { - "description": "read status of the specified CronJob", + "description": "read scale of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -33584,14 +33278,14 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "readNamespacedCronJobStatus", + "operationId": "readNamespacedReplicaSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -33600,13 +33294,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" + "group": "apps", + "kind": "Scale", + "version": "v1beta2" } }, "put": { - "description": "replace status of the specified CronJob", + "description": "replace scale of the specified ReplicaSet", "consumes": [ "*/*" ], @@ -33619,24 +33313,37 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "replaceNamespacedCronJobStatus", + "operationId": "replaceNamespacedReplicaSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -33645,13 +33352,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified CronJob", + "description": "partially update scale of the specified ReplicaSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -33666,9 +33374,9 @@ "https" ], "tags": [ - "batch_v2alpha1" + "apps_v1beta2" ], - "operationId": "patchNamespacedCronJobStatus", + "operationId": "patchNamespacedReplicaSetScale", "parameters": [ { "name": "body", @@ -33678,13 +33386,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v2alpha1.CronJob" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -33693,16 +33408,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "batch", - "kind": "CronJob", - "version": "v2alpha1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CronJob", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -33724,238 +33440,11 @@ } ] }, - "/apis/batch/v2alpha1/watch/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CronJob", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/": { + "/apis/apps/v1beta2/namespaces/{namespace}/replicasets/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified ReplicaSet", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -33966,30 +33455,93 @@ "https" ], "tags": [ - "certificates" + "apps_v1beta2" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedReplicaSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } - } - }, - "/apis/certificates.k8s.io/v1beta1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified ReplicaSet", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "replaceNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -33999,25 +33551,75 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" + ], + "operationId": "patchNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta2.ReplicaSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" } - } + ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets": { "get": { - "description": "list or watch objects of kind CertificateSigningRequest", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -34032,14 +33634,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "listCertificateSigningRequest", + "operationId": "listNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34050,13 +33652,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -34081,7 +33676,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34097,7 +33692,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" + "$ref": "#/definitions/v1beta2.StatefulSetList" } }, "401": { @@ -34106,13 +33701,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "post": { - "description": "create a CertificateSigningRequest", + "description": "create a StatefulSet", "consumes": [ "*/*" ], @@ -34125,24 +33720,43 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "createCertificateSigningRequest", + "operationId": "createNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { @@ -34151,13 +33765,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of CertificateSigningRequest", + "description": "delete collection of StatefulSet", "consumes": [ "*/*" ], @@ -34170,14 +33785,14 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCollectionCertificateSigningRequest", + "operationId": "deleteCollectionNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34188,13 +33803,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -34219,7 +33827,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34244,12 +33852,27 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -34259,9 +33882,9 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}": { "get": { - "description": "read the specified CertificateSigningRequest", + "description": "read the specified StatefulSet", "consumes": [ "*/*" ], @@ -34274,9 +33897,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "readCertificateSigningRequest", + "operationId": "readNamespacedStatefulSet", "parameters": [ { "uniqueItems": true, @@ -34297,7 +33920,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { @@ -34306,13 +33929,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "put": { - "description": "replace the specified CertificateSigningRequest", + "description": "replace the specified StatefulSet", "consumes": [ "*/*" ], @@ -34325,24 +33948,37 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequest", + "operationId": "replaceNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { @@ -34351,13 +33987,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a CertificateSigningRequest", + "description": "delete a StatefulSet", "consumes": [ "*/*" ], @@ -34370,18 +34007,24 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "deleteCertificateSigningRequest", + "operationId": "deleteNamespacedStatefulSet", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -34399,7 +34042,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -34411,19 +34054,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update the specified CertificateSigningRequest", + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified StatefulSet", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -34438,9 +34088,9 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "patchCertificateSigningRequest", + "operationId": "patchNamespacedStatefulSet", "parameters": [ { "name": "body", @@ -34450,13 +34100,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { @@ -34465,20 +34122,29 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the StatefulSet", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -34488,9 +34154,44 @@ } ] }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/scale": { + "get": { + "description": "read scale of the specified StatefulSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "readNamespacedStatefulSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + } + }, "put": { - "description": "replace approval of the specified CertificateSigningRequest", + "description": "replace scale of the specified StatefulSet", "consumes": [ "*/*" ], @@ -34503,24 +34204,37 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequestApproval", + "operationId": "replaceNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { @@ -34529,34 +34243,18 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", - "in": "path", - "required": true + "group": "apps", + "kind": "Scale", + "version": "v1beta2" }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { - "put": { - "description": "replace status of the specified CertificateSigningRequest", + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified StatefulSet", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -34567,42 +34265,51 @@ "https" ], "tags": [ - "certificates_v1beta1" + "apps_v1beta2" ], - "operationId": "replaceCertificateSigningRequestStatus", + "operationId": "patchNamespacedStatefulSetScale", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + "$ref": "#/definitions/v1beta2.Scale" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequest", - "version": "v1beta1" - } + "group": "apps", + "kind": "Scale", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the CertificateSigningRequest", + "description": "name of the Scale", "name": "name", "in": "path", "required": true @@ -34610,121 +34317,8 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the CertificateSigningRequest", - "name": "name", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", "in": "path", "required": true }, @@ -34734,37 +34328,14 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/": { + "/apis/apps/v1beta2/namespaces/{namespace}/statefulsets/{name}/status": { "get": { - "description": "get information of a group", + "description": "read status of the specified StatefulSet", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" ], "produces": [ "application/json", @@ -34775,30 +34346,93 @@ "https" ], "tags": [ - "extensions" + "apps_v1beta2" ], - "operationId": "getAPIGroup", + "operationId": "readNamespacedStatefulSetStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } - } - }, - "/apis/extensions/v1beta1/": { - "get": { - "description": "get available resources", + }, + "put": { + "description": "replace status of the specified StatefulSet", "consumes": [ + "*/*" + ], + "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "apps_v1beta2" + ], + "operationId": "replaceNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta2.StatefulSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified StatefulSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], "produces": [ "application/json", "application/yaml", @@ -34808,25 +34442,75 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" + ], + "operationId": "patchNamespacedStatefulSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1beta2.StatefulSet" } }, "401": { "description": "Unauthorized" } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" } - } + ] }, - "/apis/extensions/v1beta1/daemonsets": { + "/apis/apps/v1beta2/replicasets": { "get": { - "description": "list or watch objects of kind DaemonSet", + "description": "list or watch objects of kind ReplicaSet", "consumes": [ "*/*" ], @@ -34841,14 +34525,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "listDaemonSetForAllNamespaces", + "operationId": "listReplicaSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" + "$ref": "#/definitions/v1beta2.ReplicaSetList" } }, "401": { @@ -34857,16 +34541,16 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + "group": "apps", + "kind": "ReplicaSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -34915,7 +34599,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -34928,9 +34612,9 @@ } ] }, - "/apis/extensions/v1beta1/deployments": { + "/apis/apps/v1beta2/statefulsets": { "get": { - "description": "list or watch objects of kind Deployment", + "description": "list or watch objects of kind StatefulSet", "consumes": [ "*/*" ], @@ -34945,14 +34629,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "apps_v1beta2" ], - "operationId": "listDeploymentForAllNamespaces", + "operationId": "listStatefulSetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + "$ref": "#/definitions/v1beta2.StatefulSetList" } }, "401": { @@ -34961,16 +34645,16 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + "group": "apps", + "kind": "StatefulSet", + "version": "v1beta2" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35019,7 +34703,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35032,49 +34716,12 @@ } ] }, - "/apis/extensions/v1beta1/ingresses": { - "get": { - "description": "list or watch objects of kind Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listIngressForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, + "/apis/apps/v1beta2/watch/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -35123,7 +34770,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -35136,248 +34783,42 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { - "get": { - "description": "list or watch objects of kind DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSetList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "post": { - "description": "create a DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -35385,236 +34826,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { - "get": { - "description": "read the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedDaemonSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "put": { - "description": "replace the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete a DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update the specified DaemonSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDaemonSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/deployments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -35622,146 +34893,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { - "get": { - "description": "read status of the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedDaemonSetStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "put": { - "description": "replace status of the specified DaemonSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update status of the specified DaemonSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDaemonSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.DaemonSet" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DaemonSet", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -35777,244 +34968,75 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { - "get": { - "description": "list or watch objects of kind Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "post": { - "description": "create a Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ControllerRevision", + "name": "name", + "in": "path", + "required": true }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", @@ -36029,228 +35051,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { - "get": { - "description": "read the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedDeployment", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "put": { - "description": "replace the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete a Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update the specified Deployment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDeployment", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -36266,60 +35126,71 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { - "post": { - "description": "create rollback of a Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedDeploymentRollback", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the DeploymentRollback", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", "name": "name", "in": "path", "required": true @@ -36338,146 +35209,66 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { - "get": { - "description": "read scale of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedDeploymentScale", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "put": { - "description": "replace scale of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update scale of the specified Deployment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDeploymentScale", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -36493,139 +35284,67 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { - "get": { - "description": "read status of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedDeploymentStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "put": { - "description": "replace status of the specified Deployment", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update status of the specified Deployment", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedDeploymentStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/extensions.v1beta1.Deployment" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Deployment", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -36648,244 +35367,67 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { - "get": { - "description": "list or watch objects of kind Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.IngressList" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "post": { - "description": "create an Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "deleteCollectionNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ { "uniqueItems": true, "type": "string", @@ -36900,65 +35442,412 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { - "get": { - "description": "read the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedIngress", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } + "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "put": { - "description": "replace the specified Ingress", + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the StatefulSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/watch/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/apps/v1beta2/watch/statefulsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/auditregistration.k8s.io/": { + "get": { + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -36969,82 +35858,123 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration" ], - "operationId": "replaceNamespacedIngress", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1.APIGroup" } + }, + "401": { + "description": "Unauthorized" } + } + } + }, + "/apis/auditregistration.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "schemes": [ + "https" + ], + "tags": [ + "auditregistration_v1alpha1" + ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" } - }, - "delete": { - "description": "delete an Ingress", + } + }, + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks": { + "get": { + "description": "list or watch objects of kind AuditSink", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "deleteNamespacedIngress", + "operationId": "listAuditSink", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", "in": "query" }, { "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", "in": "query" } ], @@ -37052,26 +35982,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1alpha1.AuditSinkList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, - "patch": { - "description": "partially update the specified Ingress", + "post": { + "description": "create an AuditSink", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -37082,362 +36010,59 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "patchNamespacedIngress", + "operationId": "createAuditSink", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1alpha1.AuditSink" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Ingress" + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { - "get": { - "description": "read status of the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedIngressStatus", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "put": { - "description": "replace status of the specified Ingress", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "replaceNamespacedIngressStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update status of the specified Ingress", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedIngressStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.Ingress" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Ingress", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { - "get": { - "description": "list or watch objects of kind NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedNetworkPolicy", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } - }, - "post": { - "description": "create a NetworkPolicy", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedNetworkPolicy", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of NetworkPolicy", + "description": "delete collection of AuditSink", "consumes": [ "*/*" ], @@ -37450,14 +36075,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "operationId": "deleteCollectionAuditSink", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -37468,13 +36093,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -37499,7 +36117,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -37524,19 +36142,18 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -37547,9 +36164,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/auditregistration.k8s.io/v1alpha1/auditsinks/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "read the specified AuditSink", "consumes": [ "*/*" ], @@ -37562,9 +36179,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "readNamespacedNetworkPolicy", + "operationId": "readAuditSink", "parameters": [ { "uniqueItems": true, @@ -37585,7 +36202,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -37594,13 +36211,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" } }, "put": { - "description": "replace the specified NetworkPolicy", + "description": "replace the specified AuditSink", "consumes": [ "*/*" ], @@ -37613,24 +36230,37 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "replaceNamespacedNetworkPolicy", + "operationId": "replaceAuditSink", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.AuditSink" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.AuditSink" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -37639,13 +36269,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a NetworkPolicy", + "description": "delete an AuditSink", "consumes": [ "*/*" ], @@ -37658,18 +36289,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "deleteNamespacedNetworkPolicy", + "operationId": "deleteAuditSink", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -37687,7 +36324,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -37699,19 +36336,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified NetworkPolicy", + "description": "partially update the specified AuditSink", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -37726,9 +36370,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "auditregistration_v1alpha1" ], - "operationId": "patchNamespacedNetworkPolicy", + "operationId": "patchAuditSink", "parameters": [ { "name": "body", @@ -37738,13 +36382,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, "401": { @@ -37753,16 +36404,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" - } + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the AuditSink", "name": "name", "in": "path", "required": true @@ -37770,10 +36422,48 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -37781,109 +36471,145 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { - "get": { - "description": "list or watch objects of kind ReplicaSet", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "listNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the AuditSink", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/authentication.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authentication" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" } - }, - "post": { - "description": "create a ReplicaSet", + } + }, + "/apis/authentication.k8s.io/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -37894,39 +36620,25 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "createNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" - } - } + "authentication_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" } - }, - "delete": { - "description": "delete collection of ReplicaSet", + } + }, + "/apis/authentication.k8s.io/v1/tokenreviews": { + "post": { + "description": "create a TokenReview", "consumes": [ "*/*" ], @@ -37939,93 +36651,64 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authentication_v1" ], - "operationId": "deleteCollectionNamespacedReplicaSet", + "operationId": "createTokenReview", "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.TokenReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } + "group": "authentication.k8s.io", + "kind": "TokenReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -38036,11 +36719,13 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "/apis/authentication.k8s.io/v1beta1/": { "get": { - "description": "read the specified ReplicaSet", + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -38051,45 +36736,25 @@ "https" ], "tags": [ - "extensions_v1beta1" - ], - "operationId": "readNamespacedReplicaSet", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "authentication_v1beta1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" } - }, - "put": { - "description": "replace the specified ReplicaSet", + } + }, + "/apis/authentication.k8s.io/v1beta1/tokenreviews": { + "post": { + "description": "create a TokenReview", "consumes": [ "*/*" ], @@ -38102,16 +36767,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authentication_v1beta1" ], - "operationId": "replaceNamespacedReplicaSet", + "operationId": "createTokenReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.TokenReview" } } ], @@ -38119,24 +36784,64 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.TokenReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "group": "authentication.k8s.io", + "kind": "TokenReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "delete": { - "description": "delete a ReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/": { + "get": { + "description": "get information of a group", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -38147,64 +36852,60 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization" ], - "operationId": "deleteNamespacedReplicaSet", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "$ref": "#/definitions/v1.APIGroup" } }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" + "401": { + "description": "Unauthorized" } + } + } + }, + "/apis/authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "authorization_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" } - }, - "patch": { - "description": "partially update the specified ReplicaSet", + } + }, + "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -38215,17 +36916,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "patchNamespacedReplicaSet", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } } ], @@ -38233,28 +36933,47 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.LocalSubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -38273,9 +36992,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { - "get": { - "description": "read scale of the specified ReplicaSet", + "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", "consumes": [ "*/*" ], @@ -38288,29 +37007,77 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" + ], + "operationId": "createSelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + } ], - "operationId": "readNamespacedReplicaSetScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, - "put": { - "description": "replace scale of the specified ReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", "consumes": [ "*/*" ], @@ -38323,16 +37090,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "replaceNamespacedReplicaSetScale", + "operationId": "createSelfSubjectRulesReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.SelfSubjectRulesReview" } } ], @@ -38340,26 +37107,62 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SelfSubjectRulesReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update scale of the specified ReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1/subjectaccessreviews": { + "post": { + "description": "create a SubjectAccessReview", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -38370,17 +37173,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1" ], - "operationId": "patchNamespacedReplicaSetScale", + "operationId": "createSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.SubjectAccessReview" } } ], @@ -38388,36 +37190,47 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1.SubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.SubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", - "version": "v1beta1" - } + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -38428,11 +37241,13 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "/apis/authorization.k8s.io/v1beta1/": { "get": { - "description": "read status of the specified ReplicaSet", + "description": "get available resources", "consumes": [ - "*/*" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "produces": [ "application/json", @@ -38443,29 +37258,25 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "readNamespacedReplicaSetStatus", + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" } - }, - "put": { - "description": "replace status of the specified ReplicaSet", + } + }, + "/apis/authorization.k8s.io/v1beta1/namespaces/{namespace}/localsubjectaccessreviews": { + "post": { + "description": "create a LocalSubjectAccessReview", "consumes": [ "*/*" ], @@ -38478,16 +37289,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "replaceNamespacedReplicaSetStatus", + "operationId": "createNamespacedLocalSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } } ], @@ -38495,76 +37306,47 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update status of the specified ReplicaSet", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "extensions_v1beta1" - ], - "operationId": "patchNamespacedReplicaSetStatus", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "201": { + "description": "Created", "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } - } - ], - "responses": { - "200": { - "description": "OK", + }, + "202": { + "description": "Accepted", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSet" + "$ref": "#/definitions/v1beta1.LocalSubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", + "group": "authorization.k8s.io", + "kind": "LocalSubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -38583,9 +37365,9 @@ } ] }, - "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { - "get": { - "description": "read scale of the specified ReplicationControllerDummy", + "/apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews": { + "post": { + "description": "create a SelfSubjectAccessReview", "consumes": [ "*/*" ], @@ -38598,29 +37380,77 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" + ], + "operationId": "createSelfSubjectAccessReview", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + } ], - "operationId": "readNamespacedReplicationControllerDummyScale", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "put": { - "description": "replace scale of the specified ReplicationControllerDummy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/selfsubjectrulesreviews": { + "post": { + "description": "create a SelfSubjectRulesReview", "consumes": [ "*/*" ], @@ -38633,16 +37463,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "replaceNamespacedReplicationControllerDummyScale", + "operationId": "createSelfSubjectRulesReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" } } ], @@ -38650,26 +37480,62 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SelfSubjectRulesReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "authorization.k8s.io", + "kind": "SelfSubjectRulesReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update scale of the specified ReplicationControllerDummy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/authorization.k8s.io/v1beta1/subjectaccessreviews": { + "post": { + "description": "create a SubjectAccessReview", "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" + "*/*" ], "produces": [ "application/json", @@ -38680,17 +37546,16 @@ "https" ], "tags": [ - "extensions_v1beta1" + "authorization_v1beta1" ], - "operationId": "patchNamespacedReplicationControllerDummyScale", + "operationId": "createSubjectAccessReview", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } } ], @@ -38698,36 +37563,47 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/extensions.v1beta1.Scale" + "$ref": "#/definitions/v1beta1.SubjectAccessReview" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.SubjectAccessReview" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.SubjectAccessReview" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "Scale", + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Scale", - "name": "name", - "in": "path", - "required": true + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" }, { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -38738,9 +37614,75 @@ } ] }, - "/apis/extensions/v1beta1/networkpolicies": { + "/apis/autoscaling/": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v1/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -38755,14 +37697,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "listNetworkPolicyForAllNamespaces", + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.NetworkPolicyList" + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" } }, "401": { @@ -38771,16 +37713,16 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "NetworkPolicy", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38829,7 +37771,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38842,9 +37784,9 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind PodSecurityPolicy", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -38859,14 +37801,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "listPodSecurityPolicy", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -38877,13 +37819,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -38908,7 +37843,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -38924,7 +37859,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicyList" + "$ref": "#/definitions/v1.HorizontalPodAutoscalerList" } }, "401": { @@ -38933,13 +37868,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "post": { - "description": "create a PodSecurityPolicy", + "description": "create a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -38952,24 +37887,43 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "createPodSecurityPolicy", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } - } - ], - "responses": { - "200": { + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -38978,13 +37932,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of PodSecurityPolicy", + "description": "delete collection of HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -38997,14 +37952,14 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "deleteCollectionPodSecurityPolicy", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39015,13 +37970,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -39046,7 +37994,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39071,12 +38019,27 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -39086,9 +38049,9 @@ } ] }, - "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "read the specified PodSecurityPolicy", + "description": "read the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -39101,9 +38064,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "readPodSecurityPolicy", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, @@ -39124,7 +38087,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -39133,13 +38096,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, "put": { - "description": "replace the specified PodSecurityPolicy", + "description": "replace the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -39152,24 +38115,37 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "replacePodSecurityPolicy", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -39178,13 +38154,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a PodSecurityPolicy", + "description": "delete a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -39197,18 +38174,24 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "deletePodSecurityPolicy", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -39226,7 +38209,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -39238,19 +38221,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified PodSecurityPolicy", + "description": "partially update the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -39265,9 +38255,9 @@ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "patchPodSecurityPolicy", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -39277,13 +38267,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { @@ -39292,20 +38289,29 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodSecurityPolicy", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -39315,79 +38321,173 @@ } ] }, - "/apis/extensions/v1beta1/replicasets": { + "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { - "description": "list or watch objects of kind ReplicaSet", + "description": "read status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "extensions_v1beta1" + "autoscaling_v1" ], - "operationId": "listReplicaSetForAllNamespaces", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ReplicaSetList" + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "extensions", - "kind": "ReplicaSet", - "version": "v1beta1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v1" + ], + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -39395,36 +38495,15 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/daemonsets": { + "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39473,7 +38552,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39486,12 +38565,12 @@ } ] }, - "/apis/extensions/v1beta1/watch/deployments": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39526,69 +38605,10 @@ { "uniqueItems": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/ingresses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, @@ -39607,7 +38627,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39620,12 +38640,12 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { + "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39657,6 +38677,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -39682,7 +38710,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39695,12 +38723,82 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { + "/apis/autoscaling/v2beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/autoscaling/v2beta1/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -39732,22 +38830,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the DaemonSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -39765,7 +38847,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -39778,22 +38860,247 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "listNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, + "post": { + "description": "create a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "createNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "boolean", @@ -39801,20 +39108,6 @@ "name": "includeUninitialized", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -39829,71 +39122,437 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + } + ] + }, + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}": { + "get": { + "description": "read the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "readNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, + "put": { + "description": "replace the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "deleteNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "patchNamespacedHorizontalPodAutoscaler", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { + "get": { + "description": "read status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" + } + }, + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta1" + ], + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta1.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Deployment", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -39912,111 +39571,15 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40048,22 +39611,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Ingress", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -40081,7 +39628,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40094,12 +39641,12 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40156,7 +39703,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40169,12 +39716,12 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40209,7 +39756,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -40239,7 +39786,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40252,170 +39799,82 @@ } ] }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "/apis/autoscaling/v2beta2/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } } - ] + } }, - "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ReplicaSet", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/autoscaling/v2beta2/horizontalpodautoscalers": { + "get": { + "description": "list or watch objects of kind HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ], + "operationId": "listHorizontalPodAutoscalerForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } - ] - }, - "/apis/extensions/v1beta1/watch/networkpolicies": { + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40464,7 +39923,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40477,284 +39936,9 @@ } ] }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodSecurityPolicy", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/extensions/v1beta1/watch/replicasets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/networking.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/networking.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "networking_v1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "list or watch objects of kind HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40769,14 +39953,14 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "listNamespacedNetworkPolicy", + "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40787,13 +39971,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -40818,7 +39995,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40834,7 +40011,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerList" } }, "401": { @@ -40843,13 +40020,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "post": { - "description": "create a NetworkPolicy", + "description": "create a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40862,24 +40039,43 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "createNamespacedNetworkPolicy", + "operationId": "createNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -40888,13 +40084,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of NetworkPolicy", + "description": "delete collection of HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -40907,14 +40104,14 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -40925,13 +40122,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -40956,7 +40146,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -40981,12 +40171,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -41004,9 +40201,9 @@ } ] }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "get": { - "description": "read the specified NetworkPolicy", + "description": "read the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41019,9 +40216,9 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "readNamespacedNetworkPolicy", + "operationId": "readNamespacedHorizontalPodAutoscaler", "parameters": [ { "uniqueItems": true, @@ -41042,7 +40239,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41051,13 +40248,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, "put": { - "description": "replace the specified NetworkPolicy", + "description": "replace the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41070,24 +40267,37 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "replaceNamespacedNetworkPolicy", + "operationId": "replaceNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41096,13 +40306,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a NetworkPolicy", + "description": "delete a HorizontalPodAutoscaler", "consumes": [ "*/*" ], @@ -41115,18 +40326,24 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "deleteNamespacedNetworkPolicy", + "operationId": "deleteNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -41144,7 +40361,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -41156,19 +40373,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified NetworkPolicy", + "description": "partially update the specified HorizontalPodAutoscaler", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -41183,9 +40407,9 @@ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "patchNamespacedNetworkPolicy", + "operationId": "patchNamespacedHorizontalPodAutoscaler", "parameters": [ { "name": "body", @@ -41195,13 +40419,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { @@ -41210,16 +40441,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" - } + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the NetworkPolicy", + "description": "name of the HorizontalPodAutoscaler", "name": "name", "in": "path", "required": true @@ -41241,116 +40473,189 @@ } ] }, - "/apis/networking.k8s.io/v1/networkpolicies": { + "/apis/autoscaling/v2beta2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": { "get": { - "description": "list or watch objects of kind NetworkPolicy", + "description": "read status of the specified HorizontalPodAutoscaler", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "networking_v1" + "autoscaling_v2beta2" ], - "operationId": "listNetworkPolicyForAllNamespaces", + "operationId": "readNamespacedHorizontalPodAutoscalerStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "put": { + "description": "replace status of the specified HorizontalPodAutoscaler", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ], + "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified HorizontalPodAutoscaler", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "autoscaling_v2beta2" + ], + "operationId": "patchNamespacedHorizontalPodAutoscalerStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true }, { "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", "in": "query" } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41382,14 +40687,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41407,7 +40704,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41420,12 +40717,12 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41457,14 +40754,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the NetworkPolicy", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -41490,7 +40779,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41503,12 +40792,12 @@ } ] }, - "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41540,6 +40829,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the HorizontalPodAutoscaler", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -41557,7 +40862,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41570,7 +40875,7 @@ } ] }, - "/apis/policy/": { + "/apis/batch/": { "get": { "description": "get information of a group", "consumes": [ @@ -41587,7 +40892,7 @@ "https" ], "tags": [ - "policy" + "batch" ], "operationId": "getAPIGroup", "responses": { @@ -41603,7 +40908,7 @@ } } }, - "/apis/policy/v1beta1/": { + "/apis/batch/v1/": { "get": { "description": "get available resources", "consumes": [ @@ -41620,7 +40925,7 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], "operationId": "getAPIResources", "responses": { @@ -41636,9 +40941,9 @@ } } }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/batch/v1/jobs": { "get": { - "description": "list or watch objects of kind PodDisruptionBudget", + "description": "list or watch objects of kind Job", "consumes": [ "*/*" ], @@ -41653,14 +40958,118 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "listNamespacedPodDisruptionBudget", + "operationId": "listJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.JobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "Job", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1/namespaces/{namespace}/jobs": { + "get": { + "description": "list or watch objects of kind Job", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1" + ], + "operationId": "listNamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41671,13 +41080,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -41702,7 +41104,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41718,7 +41120,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + "$ref": "#/definitions/v1.JobList" } }, "401": { @@ -41727,13 +41129,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "post": { - "description": "create a PodDisruptionBudget", + "description": "create a Job", "consumes": [ "*/*" ], @@ -41746,24 +41148,43 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "createNamespacedPodDisruptionBudget", + "operationId": "createNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Job" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -41772,13 +41193,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of PodDisruptionBudget", + "description": "delete collection of Job", "consumes": [ "*/*" ], @@ -41791,14 +41213,14 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "operationId": "deleteCollectionNamespacedJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -41809,13 +41231,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -41840,7 +41255,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -41865,12 +41280,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -41888,9 +41310,9 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": { "get": { - "description": "read the specified PodDisruptionBudget", + "description": "read the specified Job", "consumes": [ "*/*" ], @@ -41903,9 +41325,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "readNamespacedPodDisruptionBudget", + "operationId": "readNamespacedJob", "parameters": [ { "uniqueItems": true, @@ -41926,7 +41348,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -41935,13 +41357,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace the specified PodDisruptionBudget", + "description": "replace the specified Job", "consumes": [ "*/*" ], @@ -41954,24 +41376,37 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "replaceNamespacedPodDisruptionBudget", + "operationId": "replaceNamespacedJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -41980,13 +41415,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a PodDisruptionBudget", + "description": "delete a Job", "consumes": [ "*/*" ], @@ -41999,18 +41435,24 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "deleteNamespacedPodDisruptionBudget", + "operationId": "deleteNamespacedJob", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -42028,7 +41470,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -42040,19 +41482,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified PodDisruptionBudget", + "description": "partially update the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -42067,9 +41516,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "patchNamespacedPodDisruptionBudget", + "operationId": "patchNamespacedJob", "parameters": [ { "name": "body", @@ -42079,13 +41528,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -42094,16 +41550,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42125,9 +41582,9 @@ } ] }, - "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": { "get": { - "description": "read status of the specified PodDisruptionBudget", + "description": "read status of the specified Job", "consumes": [ "*/*" ], @@ -42140,14 +41597,14 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "readNamespacedPodDisruptionBudgetStatus", + "operationId": "readNamespacedJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -42156,13 +41613,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" + "group": "batch", + "kind": "Job", + "version": "v1" } }, "put": { - "description": "replace status of the specified PodDisruptionBudget", + "description": "replace status of the specified Job", "consumes": [ "*/*" ], @@ -42175,24 +41632,37 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "replaceNamespacedPodDisruptionBudgetStatus", + "operationId": "replaceNamespacedJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -42201,13 +41671,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update status of the specified PodDisruptionBudget", + "description": "partially update status of the specified Job", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -42222,9 +41693,9 @@ "https" ], "tags": [ - "policy_v1beta1" + "batch_v1" ], - "operationId": "patchNamespacedPodDisruptionBudgetStatus", + "operationId": "patchNamespacedJobStatus", "parameters": [ { "name": "body", @@ -42234,13 +41705,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + "$ref": "#/definitions/v1.Job" } }, "401": { @@ -42249,16 +41727,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } + "group": "batch", + "kind": "Job", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42280,49 +41759,12 @@ } ] }, - "/apis/policy/v1beta1/poddisruptionbudgets": { - "get": { - "description": "list or watch objects of kind PodDisruptionBudget", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "policy_v1beta1" - ], - "operationId": "listPodDisruptionBudgetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "policy", - "kind": "PodDisruptionBudget", - "version": "v1beta1" - } - }, + "/apis/batch/v1/watch/jobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42371,7 +41813,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42384,12 +41826,12 @@ } ] }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42446,7 +41888,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42459,12 +41901,12 @@ } ] }, - "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42499,7 +41941,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PodDisruptionBudget", + "description": "name of the Job", "name": "name", "in": "path", "required": true @@ -42529,7 +41971,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42542,12 +41984,82 @@ } ] }, - "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "/apis/batch/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/batch/v1beta1/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "batch_v1beta1" + ], + "operationId": "listCronJobForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CronJobList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + } + }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42596,7 +42108,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42609,75 +42121,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs": { "get": { - "description": "list or watch objects of kind ClusterRoleBinding", + "description": "list or watch objects of kind CronJob", "consumes": [ "*/*" ], @@ -42692,14 +42138,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "listClusterRoleBinding", + "operationId": "listNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42710,13 +42156,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -42741,7 +42180,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42757,7 +42196,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBindingList" + "$ref": "#/definitions/v1beta1.CronJobList" } }, "401": { @@ -42766,13 +42205,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -42785,24 +42224,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "createClusterRoleBinding", + "operationId": "createNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CronJob" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -42811,13 +42269,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -42830,14 +42289,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "deleteCollectionClusterRoleBinding", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -42848,13 +42307,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -42879,7 +42331,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -42904,12 +42356,27 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -42919,9 +42386,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -42934,14 +42401,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" + ], + "operationId": "readNamespacedCronJob", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -42950,13 +42433,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -42969,24 +42452,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "replaceClusterRoleBinding", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -42995,13 +42491,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -43014,18 +42511,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "deleteClusterRoleBinding", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -43043,7 +42546,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -43055,19 +42558,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -43082,9 +42592,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "patchClusterRoleBinding", + "operationId": "patchNamespacedCronJob", "parameters": [ { "name": "body", @@ -43094,13 +42604,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -43109,20 +42626,29 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -43132,104 +42658,44 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "/apis/batch/v1beta1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { - "description": "list or watch objects of kind ClusterRole", + "description": "read status of the specified CronJob", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "batch_v1beta1" ], + "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRoleList" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" } }, - "post": { - "description": "create a ClusterRole", + "put": { + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -43242,208 +42708,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "createClusterRole", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1beta1.CronJob" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "delete": { - "description": "delete collection of ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "deleteCollectionClusterRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { - "get": { - "description": "read the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" ], - "operationId": "readClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1beta1.CronJob" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } - }, - "put": { - "description": "replace the specified ClusterRole", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "replaceClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.ClusterRole" - } - } - ], - "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { @@ -43452,15 +42747,18 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, - "delete": { - "description": "delete a ClusterRole", + "patch": { + "description": "partially update status of the specified CronJob", "consumes": [ - "*/*" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" ], "produces": [ "application/json", @@ -43471,37 +42769,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v1beta1" ], - "operationId": "deleteClusterRole", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" } }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", "in": "query" } ], @@ -43509,76 +42794,378 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "$ref": "#/definitions/v1beta1.CronJob" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", + "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, - "patch": { - "description": "partially update the specified ClusterRole", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/watch/cronjobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/batch/v2alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "patchClusterRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" + "$ref": "#/definitions/v1.APIResourceList" } + }, + "401": { + "description": "Unauthorized" } + } + } + }, + "/apis/batch/v2alpha1/cronjobs": { + "get": { + "description": "list or watch objects of kind CronJob", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" ], + "tags": [ + "batch_v2alpha1" + ], + "operationId": "listCronJobForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -43586,12 +43173,33 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind CronJob", "consumes": [ "*/*" ], @@ -43606,14 +43214,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "listNamespacedRoleBinding", + "operationId": "listNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43624,13 +43232,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -43655,7 +43256,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43671,7 +43272,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleBindingList" + "$ref": "#/definitions/v2alpha1.CronJobList" } }, "401": { @@ -43680,13 +43281,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "post": { - "description": "create a RoleBinding", + "description": "create a CronJob", "consumes": [ "*/*" ], @@ -43699,24 +43300,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "createNamespacedRoleBinding", + "operationId": "createNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2alpha1.CronJob" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -43725,13 +43345,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of RoleBinding", + "description": "delete collection of CronJob", "consumes": [ "*/*" ], @@ -43744,14 +43365,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "deleteCollectionNamespacedRoleBinding", + "operationId": "deleteCollectionNamespacedCronJob", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -43762,13 +43383,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -43793,7 +43407,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -43818,12 +43432,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -43841,9 +43462,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}": { "get": { - "description": "read the specified RoleBinding", + "description": "read the specified CronJob", "consumes": [ "*/*" ], @@ -43856,14 +43477,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" + ], + "operationId": "readNamespacedCronJob", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -43872,13 +43509,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, "put": { - "description": "replace the specified RoleBinding", + "description": "replace the specified CronJob", "consumes": [ "*/*" ], @@ -43891,24 +43528,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "replaceNamespacedRoleBinding", + "operationId": "replaceNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -43917,13 +43567,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a RoleBinding", + "description": "delete a CronJob", "consumes": [ "*/*" ], @@ -43936,18 +43587,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "deleteNamespacedRoleBinding", + "operationId": "deleteNamespacedCronJob", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -43965,7 +43622,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -43977,19 +43634,26 @@ "$ref": "#/definitions/v1.Status" } }, - "401": { + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified RoleBinding", + "description": "partially update the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44004,9 +43668,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "patchNamespacedRoleBinding", + "operationId": "patchNamespacedCronJob", "parameters": [ { "name": "body", @@ -44016,13 +43680,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleBinding" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -44031,16 +43702,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true @@ -44062,104 +43734,44 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "/apis/batch/v2alpha1/namespaces/{namespace}/cronjobs/{name}/status": { "get": { - "description": "list or watch objects of kind Role", + "description": "read status of the specified CronJob", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "batch_v2alpha1" ], + "operationId": "readNamespacedCronJobStatus", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.RoleList" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" } }, - "post": { - "description": "create a Role", + "put": { + "description": "replace status of the specified CronJob", "consumes": [ "*/*" ], @@ -44172,109 +43784,23 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "createNamespacedRole", + "operationId": "replaceNamespacedCronJobStatus", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.Role" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" + "$ref": "#/definitions/v2alpha1.CronJob" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "delete": { - "description": "delete collection of Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "deleteCollectionNamespacedRole", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", "in": "query" } ], @@ -44282,106 +43808,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { - "get": { - "description": "read the specified Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "readNamespacedRole", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Role" + "$ref": "#/definitions/v2alpha1.CronJob" } }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "put": { - "description": "replace the specified Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "replaceNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.Role" - } - } - ], - "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1.Role" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -44390,79 +43823,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, - "delete": { - "description": "delete a Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "deleteNamespacedRole", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified Role", + "description": "partially update status of the specified CronJob", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -44477,9 +43845,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1" + "batch_v2alpha1" ], - "operationId": "patchNamespacedRole", + "operationId": "patchNamespacedCronJobStatus", "parameters": [ { "name": "body", @@ -44489,13 +43857,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Role" + "$ref": "#/definitions/v2alpha1.CronJob" } }, "401": { @@ -44504,16 +43879,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } + "group": "batch", + "kind": "CronJob", + "version": "v2alpha1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the CronJob", "name": "name", "in": "path", "required": true @@ -44535,49 +43911,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listRoleBindingForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1" - } - }, + "/apis/batch/v2alpha1/watch/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44626,7 +43965,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44639,49 +43978,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/roles": { - "get": { - "description": "list or watch objects of kind Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1" - ], - "operationId": "listRoleForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1" - } - }, + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44713,6 +44015,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -44730,7 +44040,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44743,12 +44053,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44780,6 +44090,22 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CronJob", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -44797,7 +44123,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44810,14 +44136,17375 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/certificates.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests": { + "get": { + "description": "list or watch objects of kind CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "listCertificateSigningRequest", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequestList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "post": { + "description": "create a CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "createCertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "deleteCollectionCertificateSigningRequest", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}": { + "get": { + "description": "read the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificateSigningRequest", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "deleteCertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificateSigningRequest", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approval": { + "put": { + "description": "replace approval of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificateSigningRequestApproval", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/status": { + "get": { + "description": "read status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "readCertificateSigningRequestStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified CertificateSigningRequest", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "replaceCertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified CertificateSigningRequest", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "certificates_v1beta1" + ], + "operationId": "patchCertificateSigningRequestStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequest", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the CertificateSigningRequest", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/coordination.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/coordination.k8s.io/v1beta1/leases": { + "get": { + "description": "list or watch objects of kind Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "listLeaseForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.LeaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases": { + "get": { + "description": "list or watch objects of kind Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "listNamespacedLease", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.LeaseList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + }, + "post": { + "description": "create a Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "createNamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "deleteCollectionNamespacedLease", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leases/{name}": { + "get": { + "description": "read the specified Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "readNamespacedLease", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "replaceNamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Lease", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "deleteNamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Lease", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "coordination_v1beta1" + ], + "operationId": "patchNamespacedLease", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/leases": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Lease", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/events.k8s.io/v1beta1/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "listEventForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events": { + "get": { + "description": "list or watch objects of kind Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "listNamespacedEvent", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.EventList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "post": { + "description": "create an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "createNamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "deleteCollectionNamespacedEvent", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/namespaces/{namespace}/events/{name}": { + "get": { + "description": "read the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "readNamespacedEvent", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "replaceNamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete an Event", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "deleteNamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Event", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "events_v1beta1" + ], + "operationId": "patchNamespacedEvent", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Event" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/events": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Event", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/extensions/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/extensions/v1beta1/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listDaemonSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listDeploymentForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listIngressForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets": { + "get": { + "description": "list or watch objects of kind DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}": { + "get": { + "description": "read the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDaemonSet", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDaemonSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/daemonsets/{name}/status": { + "get": { + "description": "read status of the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDaemonSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified DaemonSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDaemonSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified DaemonSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDaemonSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.DaemonSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments": { + "get": { + "description": "list or watch objects of kind Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.DeploymentList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "post": { + "description": "create a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}": { + "get": { + "description": "read the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDeployment", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDeployment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/rollback": { + "post": { + "description": "create rollback of a Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedDeploymentRollback", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.DeploymentRollback" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "DeploymentRollback", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If IncludeUninitialized is specified, the object may be returned without completing initialization.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DeploymentRollback", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/scale": { + "get": { + "description": "read scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDeploymentScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDeploymentScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/deployments/{name}/status": { + "get": { + "description": "read status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedDeploymentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified Deployment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified Deployment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedDeploymentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Deployment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Deployment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses": { + "get": { + "description": "list or watch objects of kind Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.IngressList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "post": { + "description": "create an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}": { + "get": { + "description": "read the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedIngress", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete an Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedIngress", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/ingresses/{name}/status": { + "get": { + "description": "read status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedIngressStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified Ingress", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified Ingress", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedIngressStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.Ingress" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Ingress", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "read the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified NetworkPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "post": { + "description": "create a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}": { + "get": { + "description": "read the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSet", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSet", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status": { + "get": { + "description": "read status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicaSetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified ReplicaSet", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicaSetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSet" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale": { + "get": { + "description": "read scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readNamespacedReplicationControllerDummyScale", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + } + }, + "put": { + "description": "replace scale of the specified ReplicationControllerDummy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replaceNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update scale of the specified ReplicationControllerDummy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchNamespacedReplicationControllerDummyScale", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.Scale" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "Scale", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Scale", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listNetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "NetworkPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies": { + "get": { + "description": "list or watch objects of kind PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "createPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deleteCollectionPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "readPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "replacePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "deletePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified PodSecurityPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "patchPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/replicasets": { + "get": { + "description": "list or watch objects of kind ReplicaSet", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "extensions_v1beta1" + ], + "operationId": "listReplicaSetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.ReplicaSetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "extensions", + "kind": "ReplicaSet", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/ingresses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the DaemonSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Deployment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Ingress", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ReplicaSet", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/podsecuritypolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/extensions/v1beta1/watch/replicasets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "post": { + "description": "create a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "createNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteCollectionNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "get": { + "description": "read the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "readNamespacedNetworkPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "put": { + "description": "replace the specified NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "replaceNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "deleteNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified NetworkPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "patchNamespacedNetworkPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/networkpolicies": { + "get": { + "description": "list or watch objects of kind NetworkPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "operationId": "listNetworkPolicyForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the NetworkPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/networking.k8s.io/v1/watch/networkpolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "listNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "createNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deleteCollectionNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "get": { + "description": "read the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "readNamespacedPodDisruptionBudget", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replaceNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deleteNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "patchNamespacedPodDisruptionBudget", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": { + "get": { + "description": "read status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "readNamespacedPodDisruptionBudgetStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "put": { + "description": "replace status of the specified PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replaceNamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified PodDisruptionBudget", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "patchNamespacedPodDisruptionBudgetStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudget" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/poddisruptionbudgets": { + "get": { + "description": "list or watch objects of kind PodDisruptionBudget", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "listPodDisruptionBudgetForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.PodDisruptionBudgetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodDisruptionBudget", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/podsecuritypolicies": { + "get": { + "description": "list or watch objects of kind PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "listPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "post": { + "description": "create a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "createPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deleteCollectionPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/podsecuritypolicies/{name}": { + "get": { + "description": "read the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "readPodSecurityPolicy", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + }, + "put": { + "description": "replace the specified PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "replacePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a PodSecurityPolicy", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "deletePodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified PodSecurityPolicy", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "policy_v1beta1" + ], + "operationId": "patchPodSecurityPolicy", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodDisruptionBudget", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/poddisruptionbudgets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/podsecuritypolicies": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodSecurityPolicy", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readNamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "createNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteCollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "readNamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings": { + "get": { + "description": "list or watch objects of kind ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionClusterRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}": { + "get": { + "description": "read the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readClusterRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ClusterRoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ClusterRoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchClusterRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { + "get": { + "description": "list or watch objects of kind ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionClusterRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { + "get": { + "description": "read the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readClusterRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a ClusterRole", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified ClusterRole", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchClusterRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.ClusterRole" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionNamespacedRoleBinding", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}": { + "get": { + "description": "read the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readNamespacedRoleBinding", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified RoleBinding", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchNamespacedRoleBinding", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBinding" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the RoleBinding", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "createNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteCollectionNamespacedRole", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}": { + "get": { + "description": "read the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "readNamespacedRole", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "put": { + "description": "replace the specified Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "replaceNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "deleteNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified Role", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "patchNamespacedRole", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleBindingList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1alpha1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, @@ -44872,7 +61559,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44885,12 +61572,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -44939,7 +61626,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -44952,12 +61639,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45014,7 +61701,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45027,12 +61714,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45089,7 +61776,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45102,12 +61789,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45172,7 +61859,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45185,12 +61872,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45247,7 +61934,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45260,12 +61947,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45330,7 +62017,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45343,12 +62030,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45397,7 +62084,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45410,12 +62097,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1/watch/roles": { + "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45464,7 +62151,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45477,7 +62164,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/": { + "/apis/rbac.authorization.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -45494,7 +62181,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -45510,7 +62197,7 @@ } } }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { "get": { "description": "list or watch objects of kind ClusterRoleBinding", "consumes": [ @@ -45527,14 +62214,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "listClusterRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45545,13 +62232,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -45576,7 +62256,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45592,7 +62272,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBindingList" + "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" } }, "401": { @@ -45603,7 +62283,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -45620,7 +62300,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "createClusterRoleBinding", "parameters": [ @@ -45629,15 +62309,34 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } }, "401": { @@ -45648,8 +62347,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRoleBinding", @@ -45665,14 +62365,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteCollectionClusterRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -45683,13 +62383,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -45714,7 +62407,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -45741,10 +62434,17 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -45754,7 +62454,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { "get": { "description": "read the specified ClusterRoleBinding", "consumes": [ @@ -45769,14 +62469,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "readClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } }, "401": { @@ -45787,7 +62487,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -45804,7 +62504,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "replaceClusterRoleBinding", "parameters": [ @@ -45813,15 +62513,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } }, "401": { @@ -45832,8 +62545,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRoleBinding", @@ -45849,18 +62563,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteClusterRoleBinding", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -45878,7 +62598,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -45890,6 +62610,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -45898,8 +62624,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRoleBinding", @@ -45917,7 +62644,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "patchClusterRoleBinding", "parameters": [ @@ -45929,13 +62656,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.ClusterRoleBinding" } }, "401": { @@ -45946,8 +62680,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -45967,7 +62702,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { "get": { "description": "list or watch objects of kind ClusterRole", "consumes": [ @@ -45984,14 +62719,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "listClusterRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46002,13 +62737,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -46033,7 +62761,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46049,7 +62777,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRoleList" + "$ref": "#/definitions/v1beta1.ClusterRoleList" } }, "401": { @@ -46060,7 +62788,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -46077,7 +62805,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "createClusterRole", "parameters": [ @@ -46086,15 +62814,34 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" } }, "401": { @@ -46105,8 +62852,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of ClusterRole", @@ -46122,14 +62870,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteCollectionClusterRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46140,13 +62888,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -46171,7 +62912,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46198,10 +62939,17 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -46211,7 +62959,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { "get": { "description": "read the specified ClusterRole", "consumes": [ @@ -46226,14 +62974,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "readClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" } }, "401": { @@ -46244,7 +62992,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -46261,7 +63009,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "replaceClusterRole", "parameters": [ @@ -46270,15 +63018,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.ClusterRole" } }, "401": { @@ -46289,8 +63050,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a ClusterRole", @@ -46306,18 +63068,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteClusterRole", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -46335,7 +63103,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -46347,6 +63115,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -46355,8 +63129,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified ClusterRole", @@ -46374,7 +63149,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "patchClusterRole", "parameters": [ @@ -46386,13 +63161,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.ClusterRole" + "$ref": "#/definitions/v1beta1.ClusterRole" } }, "401": { @@ -46403,8 +63185,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "ClusterRole", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46424,7 +63207,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { "get": { "description": "list or watch objects of kind RoleBinding", "consumes": [ @@ -46441,14 +63224,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "listNamespacedRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46459,13 +63242,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -46490,7 +63266,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46506,7 +63282,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBindingList" + "$ref": "#/definitions/v1beta1.RoleBindingList" } }, "401": { @@ -46517,7 +63293,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -46534,7 +63310,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "createNamespacedRoleBinding", "parameters": [ @@ -46543,15 +63319,34 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -46562,8 +63357,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of RoleBinding", @@ -46579,14 +63375,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteCollectionNamespacedRoleBinding", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46597,13 +63393,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -46628,7 +63417,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46655,10 +63444,17 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -46676,7 +63472,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { "get": { "description": "read the specified RoleBinding", "consumes": [ @@ -46691,14 +63487,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "readNamespacedRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -46709,7 +63505,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -46726,7 +63522,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "replaceNamespacedRoleBinding", "parameters": [ @@ -46735,15 +63531,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -46754,8 +63563,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a RoleBinding", @@ -46771,18 +63581,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteNamespacedRoleBinding", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -46800,7 +63616,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -46812,6 +63628,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -46820,8 +63642,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified RoleBinding", @@ -46839,7 +63662,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "patchNamespacedRoleBinding", "parameters": [ @@ -46851,13 +63674,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleBinding" + "$ref": "#/definitions/v1beta1.RoleBinding" } }, "401": { @@ -46868,8 +63698,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "RoleBinding", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { @@ -46897,7 +63728,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { "get": { "description": "list or watch objects of kind Role", "consumes": [ @@ -46914,14 +63745,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "listNamespacedRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -46932,13 +63763,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -46963,7 +63787,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -46979,7 +63803,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.RoleList" + "$ref": "#/definitions/v1beta1.RoleList" } }, "401": { @@ -46990,7 +63814,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" + "version": "v1beta1" } }, "post": { @@ -47007,7 +63831,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "createNamespacedRole", "parameters": [ @@ -47016,15 +63840,34 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Role" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.Role" } }, "401": { @@ -47035,8 +63878,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete collection of Role", @@ -47052,14 +63896,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteCollectionNamespacedRole", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47070,13 +63914,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -47101,7 +63938,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47128,10 +63965,17 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -47149,7 +63993,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { "get": { "description": "read the specified Role", "consumes": [ @@ -47164,14 +64008,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "readNamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" } }, "401": { @@ -47182,7 +64026,7 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -47199,7 +64043,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "replaceNamespacedRole", "parameters": [ @@ -47208,15 +64052,28 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.Role" } }, "401": { @@ -47227,8 +64084,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { "description": "delete a Role", @@ -47244,18 +64102,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "deleteNamespacedRole", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -47273,7 +64137,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -47285,6 +64149,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -47293,8 +64163,9 @@ "x-kubernetes-group-version-kind": { "group": "rbac.authorization.k8s.io", "kind": "Role", - "version": "v1alpha1" - } + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { "description": "partially update the specified Role", @@ -47312,7 +64183,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1alpha1" + "rbacAuthorization_v1beta1" ], "operationId": "patchNamespacedRole", "parameters": [ @@ -47324,40 +64195,377 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.Role" + "$ref": "#/definitions/v1beta1.Role" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the Role", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { + "get": { + "description": "list or watch objects of kind RoleBinding", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRoleBindingForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleBindingList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "RoleBinding", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/roles": { + "get": { + "description": "list or watch objects of kind Role", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "rbacAuthorization_v1beta1" + ], + "operationId": "listRoleForAllNamespaces", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1beta1.RoleList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "rbac.authorization.k8s.io", + "kind": "Role", + "version": "v1beta1" + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRoleBinding", + "name": "name", "in": "path", "required": true }, @@ -47367,52 +64575,36 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listRoleBindingForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.RoleBindingList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1alpha1" - } - }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47461,7 +64653,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47474,49 +64666,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/roles": { - "get": { - "description": "list or watch objects of kind Role", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1alpha1" - ], - "operationId": "listRoleForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.RoleList" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1alpha1" - } - }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47548,6 +64703,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the ClusterRole", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -47565,7 +64728,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47578,12 +64741,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47615,6 +64778,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -47632,7 +64803,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47645,12 +64816,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47685,11 +64856,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the RoleBinding", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -47707,7 +64886,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47720,12 +64899,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47757,6 +64936,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -47774,7 +64961,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47787,12 +64974,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47827,11 +65014,19 @@ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", + "description": "name of the Role", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -47849,7 +65044,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -47862,12 +65057,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { + "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -47902,10 +65097,69 @@ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -47914,45 +65168,336 @@ "name": "pretty", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/": { + "get": { + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "get": { + "description": "list or watch objects of kind PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "listPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClassList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + }, + "post": { + "description": "create a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "createPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deleteCollectionPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { + }, "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, { "uniqueItems": true, "type": "boolean", @@ -47960,191 +65505,267 @@ "name": "includeUninitialized", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "get": { + "description": "read the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "readPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" } - ] - }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + }, + "put": { + "description": "replace the specified PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "replacePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a PriorityClass", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "deletePriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified PriorityClass", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "scheduling_v1alpha1" + ], + "operationId": "patchPriorityClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityClass" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the PriorityClass", + "name": "name", "in": "path", "required": true }, @@ -48154,36 +65775,15 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48232,7 +65832,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48245,12 +65845,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { + "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48282,6 +65882,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -48299,7 +65907,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48312,7 +65920,7 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/": { + "/apis/scheduling.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -48329,7 +65937,7 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -48345,9 +65953,9 @@ } } }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses": { "get": { - "description": "list or watch objects of kind ClusterRoleBinding", + "description": "list or watch objects of kind PriorityClass", "consumes": [ "*/*" ], @@ -48362,14 +65970,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "listClusterRoleBinding", + "operationId": "listPriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48380,13 +65988,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -48411,7 +66012,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48427,7 +66028,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBindingList" + "$ref": "#/definitions/v1beta1.PriorityClassList" } }, "401": { @@ -48436,13 +66037,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" } }, "post": { - "description": "create a ClusterRoleBinding", + "description": "create a PriorityClass", "consumes": [ "*/*" ], @@ -48455,24 +66056,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "createClusterRoleBinding", + "operationId": "createPriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -48481,13 +66101,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ClusterRoleBinding", + "description": "delete collection of PriorityClass", "consumes": [ "*/*" ], @@ -48500,14 +66121,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "deleteCollectionClusterRoleBinding", + "operationId": "deleteCollectionPriorityClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48518,13 +66139,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -48549,7 +66163,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48574,12 +66188,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -48589,9 +66210,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterrolebindings/{name}": { + "/apis/scheduling.k8s.io/v1beta1/priorityclasses/{name}": { "get": { - "description": "read the specified ClusterRoleBinding", + "description": "read the specified PriorityClass", "consumes": [ "*/*" ], @@ -48604,14 +66225,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" + ], + "operationId": "readPriorityClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readClusterRoleBinding", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -48620,13 +66257,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" } }, "put": { - "description": "replace the specified ClusterRoleBinding", + "description": "replace the specified PriorityClass", "consumes": [ "*/*" ], @@ -48639,24 +66276,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "replaceClusterRoleBinding", + "operationId": "replacePriorityClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -48665,13 +66315,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a ClusterRoleBinding", + "description": "delete a PriorityClass", "consumes": [ "*/*" ], @@ -48684,18 +66335,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "deleteClusterRoleBinding", + "operationId": "deletePriorityClass", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -48713,7 +66370,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -48725,19 +66382,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ClusterRoleBinding", + "description": "partially update the specified PriorityClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -48752,9 +66416,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "scheduling_v1beta1" ], - "operationId": "patchClusterRoleBinding", + "operationId": "patchPriorityClass", "parameters": [ { "name": "body", @@ -48764,13 +66428,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleBinding" + "$ref": "#/definitions/v1beta1.PriorityClass" } }, "401": { @@ -48779,16 +66450,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", + "group": "scheduling.k8s.io", + "kind": "PriorityClass", "version": "v1beta1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRoleBinding", + "description": "name of the PriorityClass", "name": "name", "in": "path", "required": true @@ -48802,9 +66474,217 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles": { + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PriorityClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/": { "get": { - "description": "list or watch objects of kind ClusterRole", + "description": "get information of a group", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings" + ], + "operationId": "getAPIGroup", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/": { + "get": { + "description": "get available resources", + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "operationId": "getAPIResources", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "get": { + "description": "list or watch objects of kind PodPreset", "consumes": [ "*/*" ], @@ -48819,14 +66699,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "listClusterRole", + "operationId": "listNamespacedPodPreset", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48837,13 +66717,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -48868,7 +66741,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -48884,7 +66757,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRoleList" + "$ref": "#/definitions/v1alpha1.PodPresetList" } }, "401": { @@ -48893,13 +66766,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "post": { - "description": "create a ClusterRole", + "description": "create a PodPreset", "consumes": [ "*/*" ], @@ -48912,24 +66785,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "createClusterRole", + "operationId": "createNamespacedPodPreset", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -48938,13 +66830,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of ClusterRole", + "description": "delete collection of PodPreset", "consumes": [ "*/*" ], @@ -48957,14 +66850,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "deleteCollectionClusterRole", + "operationId": "deleteCollectionNamespacedPodPreset", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -48975,13 +66868,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -49006,7 +66892,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49031,12 +66917,27 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -49046,9 +66947,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/clusterroles/{name}": { + "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { "get": { - "description": "read the specified ClusterRole", + "description": "read the specified PodPreset", "consumes": [ "*/*" ], @@ -49061,14 +66962,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" + ], + "operationId": "readNamespacedPodPreset", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readClusterRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -49077,13 +66994,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, "put": { - "description": "replace the specified ClusterRole", + "description": "replace the specified PodPreset", "consumes": [ "*/*" ], @@ -49096,24 +67013,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "replaceClusterRole", + "operationId": "replaceNamespacedPodPreset", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -49122,13 +67052,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a ClusterRole", + "description": "delete a PodPreset", "consumes": [ "*/*" ], @@ -49141,18 +67072,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "deleteClusterRole", + "operationId": "deleteNamespacedPodPreset", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -49170,7 +67107,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -49182,19 +67119,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified ClusterRole", + "description": "partially update the specified PodPreset", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -49209,9 +67153,9 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "settings_v1alpha1" ], - "operationId": "patchClusterRole", + "operationId": "patchNamespacedPodPreset", "parameters": [ { "name": "body", @@ -49221,13 +67165,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.ClusterRole" + "$ref": "#/definitions/v1alpha1.PodPreset" } }, "401": { @@ -49236,20 +67187,29 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1beta1" - } + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the ClusterRole", + "description": "name of the PodPreset", "name": "name", "in": "path", "required": true }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -49259,9 +67219,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings": { + "/apis/settings.k8s.io/v1alpha1/podpresets": { "get": { - "description": "list or watch objects of kind RoleBinding", + "description": "list or watch objects of kind PodPreset", "consumes": [ "*/*" ], @@ -49276,72 +67236,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "listNamespacedRoleBinding", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } + "settings_v1alpha1" ], + "operationId": "listPodPresetForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" + "$ref": "#/definitions/v1alpha1.PodPresetList" } }, "401": { @@ -49350,157 +67252,271 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" } }, - "post": { - "description": "create a RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "createNamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, - "delete": { - "description": "delete collection of RoleBinding", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "deleteCollectionNamespacedRoleBinding", - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } - }, + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the PodPreset", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "object name and auth scope, such as for teams and projects", + "name": "namespace", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" }, { "uniqueItems": true, @@ -49508,50 +67524,38 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/rolebindings/{name}": { + "/apis/storage.k8s.io/": { "get": { - "description": "read the specified RoleBinding", + "description": "get information of a group", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "readNamespacedRoleBinding", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "put": { - "description": "replace the specified RoleBinding", - "consumes": [ - "*/*" - ], "produces": [ "application/json", "application/yaml", @@ -49561,110 +67565,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "replaceNamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" - } - } + "storage" ], + "operationId": "getAPIGroup", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1.APIGroup" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" } - }, - "delete": { - "description": "delete a RoleBinding", + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "description": "get available resources", "consumes": [ - "*/*" - ], - "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], - "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "deleteNamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1.DeleteOptions" - } - }, - { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.Status" - } - }, - "401": { - "description": "Unauthorized" - } - }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update the specified RoleBinding", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], "produces": [ "application/json", "application/yaml", @@ -49674,67 +67598,25 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" - ], - "operationId": "patchNamespacedRoleBinding", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } - } + "storage_v1" ], + "operationId": "getAPIResources", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBinding" + "$ref": "#/definitions/v1.APIResourceList" } }, "401": { "description": "Unauthorized" } - }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the RoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" } - ] + } }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles": { + "/apis/storage.k8s.io/v1/storageclasses": { "get": { - "description": "list or watch objects of kind Role", + "description": "list or watch objects of kind StorageClass", "consumes": [ "*/*" ], @@ -49749,14 +67631,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "listNamespacedRole", + "operationId": "listStorageClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49767,13 +67649,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -49798,7 +67673,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49814,7 +67689,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleList" + "$ref": "#/definitions/v1.StorageClassList" } }, "401": { @@ -49823,13 +67698,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } }, "post": { - "description": "create a Role", + "description": "create a StorageClass", "consumes": [ "*/*" ], @@ -49842,24 +67717,43 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "createNamespacedRole", + "operationId": "createStorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.StorageClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.StorageClass" } }, "401": { @@ -49868,13 +67762,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of Role", + "description": "delete collection of StorageClass", "consumes": [ "*/*" ], @@ -49887,14 +67782,14 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "deleteCollectionNamespacedRole", + "operationId": "deleteCollectionStorageClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -49905,13 +67800,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -49936,7 +67824,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -49961,19 +67849,18 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -49984,9 +67871,9 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/namespaces/{namespace}/roles/{name}": { + "/apis/storage.k8s.io/v1/storageclasses/{name}": { "get": { - "description": "read the specified Role", + "description": "read the specified StorageClass", "consumes": [ "*/*" ], @@ -49999,14 +67886,30 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" + ], + "operationId": "readStorageClass", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } ], - "operationId": "readNamespacedRole", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.StorageClass" } }, "401": { @@ -50015,13 +67918,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" } }, "put": { - "description": "replace the specified Role", + "description": "replace the specified StorageClass", "consumes": [ "*/*" ], @@ -50034,24 +67937,37 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "replaceNamespacedRole", + "operationId": "replaceStorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.StorageClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.StorageClass" } }, "401": { @@ -50060,13 +67976,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a Role", + "description": "delete a StorageClass", "consumes": [ "*/*" ], @@ -50079,18 +67996,24 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "deleteNamespacedRole", + "operationId": "deleteStorageClass", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -50108,7 +68031,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -50120,19 +68043,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified Role", + "description": "partially update the specified StorageClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -50147,497 +68077,305 @@ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" ], - "operationId": "patchNamespacedRole", + "operationId": "patchStorageClass", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.StorageClass" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "name of the StorageClass", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1/volumeattachments": { + "get": { + "description": "list or watch objects of kind VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "listVolumeAttachment", "parameters": [ { - "name": "body", - "in": "body", - "required": true, - "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", - "type": "object" - } + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.Role" + "$ref": "#/definitions/v1.VolumeAttachmentList" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", + "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" } }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the Role", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/rolebindings": { - "get": { - "description": "list or watch objects of kind RoleBinding", + "post": { + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" + ], + "operationId": "createVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } ], - "operationId": "listRoleBindingForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleBindingList" + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", + "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "RoleBinding", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/roles": { - "get": { - "description": "list or watch objects of kind Role", + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "schemes": [ "https" ], "tags": [ - "rbacAuthorization_v1beta1" + "storage_v1" + ], + "operationId": "deleteCollectionVolumeAttachment", + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } ], - "operationId": "listRoleForAllNamespaces", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.RoleList" + "$ref": "#/definitions/v1.Status" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "rbac.authorization.k8s.io", - "kind": "Role", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRoleBinding", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "parameters": [ { "uniqueItems": true, "type": "boolean", @@ -50645,100 +68383,267 @@ "name": "includeUninitialized", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the ClusterRole", - "name": "name", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/storage.k8s.io/v1/volumeattachments/{name}": { + "get": { + "description": "read the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readVolumeAttachment", + "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", + "name": "exact", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Should this value be exported. Export strips fields that a user can not specify.", + "name": "export", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "delete": { + "description": "delete a VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "deleteVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", + "name": "gracePeriodSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", + "name": "orphanDependents", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", + "name": "propagationPolicy", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchVolumeAttachment", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", + "description": "name of the VolumeAttachment", + "name": "name", "in": "path", "required": true }, @@ -50748,119 +68653,184 @@ "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" + "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": { + "get": { + "description": "read status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "readVolumeAttachmentStatus", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + }, + "put": { + "description": "replace status of the specified VolumeAttachment", + "consumes": [ + "*/*" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "replaceVolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" + "x-codegen-request-body-name": "body" + }, + "patch": { + "description": "partially update status of the specified VolumeAttachment", + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json" + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "operationId": "patchVolumeAttachmentStatus", + "parameters": [ + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" }, + "x-codegen-request-body-name": "body" + }, + "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the RoleBinding", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", "name": "pretty", "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { + "/apis/storage.k8s.io/v1/watch/storageclasses": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50892,14 +68862,6 @@ "name": "limit", "in": "query" }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -50917,7 +68879,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -50930,12 +68892,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { + "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -50970,19 +68932,11 @@ { "uniqueItems": true, "type": "string", - "description": "name of the Role", + "description": "name of the StorageClass", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, { "uniqueItems": true, "type": "string", @@ -51000,7 +68954,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51013,12 +68967,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { + "/apis/storage.k8s.io/v1/watch/volumeattachments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51067,7 +69021,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51080,12 +69034,12 @@ } ] }, - "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { + "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51117,6 +69071,14 @@ "name": "limit", "in": "query" }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, { "uniqueItems": true, "type": "string", @@ -51134,7 +69096,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51147,40 +69109,7 @@ } ] }, - "/apis/scheduling.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "scheduling" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/scheduling.k8s.io/v1alpha1/": { + "/apis/storage.k8s.io/v1alpha1/": { "get": { "description": "get available resources", "consumes": [ @@ -51197,7 +69126,7 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], "operationId": "getAPIResources", "responses": { @@ -51213,9 +69142,9 @@ } } }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses": { + "/apis/storage.k8s.io/v1alpha1/volumeattachments": { "get": { - "description": "list or watch objects of kind PriorityClass", + "description": "list or watch objects of kind VolumeAttachment", "consumes": [ "*/*" ], @@ -51230,14 +69159,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "listPriorityClass", + "operationId": "listVolumeAttachment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51248,13 +69177,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -51279,7 +69201,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51295,7 +69217,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClassList" + "$ref": "#/definitions/v1alpha1.VolumeAttachmentList" } }, "401": { @@ -51304,13 +69226,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" } }, "post": { - "description": "create a PriorityClass", + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], @@ -51323,24 +69245,43 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "createPriorityClass", + "operationId": "createVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "401": { @@ -51349,13 +69290,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of PriorityClass", + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], @@ -51368,14 +69310,14 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "deleteCollectionPriorityClass", + "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51386,13 +69328,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -51417,7 +69352,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51442,12 +69377,19 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -51457,9 +69399,9 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name}": { + "/apis/storage.k8s.io/v1alpha1/volumeattachments/{name}": { "get": { - "description": "read the specified PriorityClass", + "description": "read the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -51472,9 +69414,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "readPriorityClass", + "operationId": "readVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -51495,7 +69437,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "401": { @@ -51504,13 +69446,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" } }, "put": { - "description": "replace the specified PriorityClass", + "description": "replace the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -51523,24 +69465,37 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "replacePriorityClass", + "operationId": "replaceVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "401": { @@ -51549,13 +69504,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a PriorityClass", + "description": "delete a VolumeAttachment", "consumes": [ "*/*" ], @@ -51568,18 +69524,24 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "deletePriorityClass", + "operationId": "deleteVolumeAttachment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -51597,7 +69559,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -51609,19 +69571,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified PriorityClass", + "description": "partially update the specified VolumeAttachment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -51636,9 +69605,9 @@ "https" ], "tags": [ - "scheduling_v1alpha1" + "storage_v1alpha1" ], - "operationId": "patchPriorityClass", + "operationId": "patchVolumeAttachment", "parameters": [ { "name": "body", @@ -51648,13 +69617,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PriorityClass" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "401": { @@ -51663,16 +69639,17 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", + "group": "storage.k8s.io", + "kind": "VolumeAttachment", "version": "v1alpha1" - } + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the PriorityClass", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true @@ -51686,12 +69663,12 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51740,7 +69717,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51753,12 +69730,12 @@ } ] }, - "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { + "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51793,7 +69770,7 @@ { "uniqueItems": true, "type": "string", - "description": "name of the PriorityClass", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true @@ -51815,7 +69792,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51828,40 +69805,7 @@ } ] }, - "/apis/settings.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "settings" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/settings.k8s.io/v1alpha1/": { + "/apis/storage.k8s.io/v1beta1/": { "get": { "description": "get available resources", "consumes": [ @@ -51878,7 +69822,7 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], "operationId": "getAPIResources", "responses": { @@ -51894,9 +69838,9 @@ } } }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets": { + "/apis/storage.k8s.io/v1beta1/storageclasses": { "get": { - "description": "list or watch objects of kind PodPreset", + "description": "list or watch objects of kind StorageClass", "consumes": [ "*/*" ], @@ -51911,14 +69855,14 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "listNamespacedPodPreset", + "operationId": "listStorageClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -51929,13 +69873,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -51960,7 +69897,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -51976,7 +69913,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" + "$ref": "#/definitions/v1beta1.StorageClassList" } }, "401": { @@ -51985,13 +69922,13 @@ }, "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" } }, "post": { - "description": "create a PodPreset", + "description": "create a StorageClass", "consumes": [ "*/*" ], @@ -52004,24 +69941,43 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "createNamespacedPodPreset", + "operationId": "createStorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" } }, "401": { @@ -52030,13 +69986,14 @@ }, "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of PodPreset", + "description": "delete collection of StorageClass", "consumes": [ "*/*" ], @@ -52049,14 +70006,14 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "deleteCollectionNamespacedPodPreset", + "operationId": "deleteCollectionStorageClass", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52067,13 +70024,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -52098,7 +70048,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52123,19 +70073,18 @@ }, "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" } }, "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" }, { "uniqueItems": true, @@ -52146,9 +70095,9 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name}": { + "/apis/storage.k8s.io/v1beta1/storageclasses/{name}": { "get": { - "description": "read the specified PodPreset", + "description": "read the specified StorageClass", "consumes": [ "*/*" ], @@ -52161,9 +70110,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "readNamespacedPodPreset", + "operationId": "readStorageClass", "parameters": [ { "uniqueItems": true, @@ -52184,7 +70133,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" } }, "401": { @@ -52193,13 +70142,13 @@ }, "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" } }, "put": { - "description": "replace the specified PodPreset", + "description": "replace the specified StorageClass", "consumes": [ "*/*" ], @@ -52212,24 +70161,37 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "replaceNamespacedPodPreset", + "operationId": "replaceStorageClass", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.StorageClass" } }, "401": { @@ -52238,13 +70200,14 @@ }, "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a PodPreset", + "description": "delete a StorageClass", "consumes": [ "*/*" ], @@ -52257,18 +70220,24 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "deleteNamespacedPodPreset", + "operationId": "deleteStorageClass", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -52286,7 +70255,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -52298,19 +70267,26 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } }, "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified PodPreset", + "description": "partially update the specified StorageClass", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -52325,9 +70301,9 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1beta1" ], - "operationId": "patchNamespacedPodPreset", + "operationId": "patchStorageClass", "parameters": [ { "name": "body", @@ -52337,13 +70313,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.PodPreset" + "$ref": "#/definitions/v1beta1.StorageClass" } }, "401": { @@ -52352,435 +70335,33 @@ }, "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodPreset", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { - "get": { - "description": "list or watch objects of kind PodPreset", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" - ], - "schemes": [ - "https" - ], - "tags": [ - "settings_v1alpha1" - ], - "operationId": "listPodPresetForAllNamespaces", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1alpha1.PodPresetList" - } - }, - "401": { - "description": "Unauthorized" - } + "group": "storage.k8s.io", + "kind": "StorageClass", + "version": "v1beta1" }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" - } + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "name of the PodPreset", + "description": "name of the StorageClass", "name": "name", "in": "path", "required": true }, - { - "uniqueItems": true, - "type": "string", - "description": "object name and auth scope, such as for teams and projects", - "name": "namespace", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, { "uniqueItems": true, "type": "string", "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/": { - "get": { - "description": "get information of a group", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage" - ], - "operationId": "getAPIGroup", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIGroup" - } - }, - "401": { - "description": "Unauthorized" - } - } - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { - "description": "get available resources", - "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], - "schemes": [ - "https" - ], - "tags": [ - "storage_v1" - ], - "operationId": "getAPIResources", - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/v1.APIResourceList" - } - }, - "401": { - "description": "Unauthorized" - } + "name": "pretty", + "in": "query" } - } + ] }, - "/apis/storage.k8s.io/v1/storageclasses": { + "/apis/storage.k8s.io/v1beta1/volumeattachments": { "get": { - "description": "list or watch objects of kind StorageClass", + "description": "list or watch objects of kind VolumeAttachment", "consumes": [ "*/*" ], @@ -52795,14 +70376,14 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "listStorageClass", + "operationId": "listVolumeAttachment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52813,13 +70394,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -52844,7 +70418,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -52860,7 +70434,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClassList" + "$ref": "#/definitions/v1beta1.VolumeAttachmentList" } }, "401": { @@ -52870,12 +70444,12 @@ "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" + "kind": "VolumeAttachment", + "version": "v1beta1" } }, "post": { - "description": "create a StorageClass", + "description": "create a VolumeAttachment", "consumes": [ "*/*" ], @@ -52888,24 +70462,43 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "createStorageClass", + "operationId": "createVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "401": { @@ -52915,12 +70508,13 @@ "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } + "kind": "VolumeAttachment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete collection of StorageClass", + "description": "delete collection of VolumeAttachment", "consumes": [ "*/*" ], @@ -52933,14 +70527,14 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "deleteCollectionStorageClass", + "operationId": "deleteCollectionVolumeAttachment", "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -52951,13 +70545,6 @@ "name": "fieldSelector", "in": "query" }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, { "uniqueItems": true, "type": "string", @@ -52982,7 +70569,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53008,11 +70595,18 @@ "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" + "kind": "VolumeAttachment", + "version": "v1beta1" } }, "parameters": [ + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, { "uniqueItems": true, "type": "string", @@ -53022,9 +70616,9 @@ } ] }, - "/apis/storage.k8s.io/v1/storageclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/volumeattachments/{name}": { "get": { - "description": "read the specified StorageClass", + "description": "read the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -53037,9 +70631,9 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "readStorageClass", + "operationId": "readVolumeAttachment", "parameters": [ { "uniqueItems": true, @@ -53060,7 +70654,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "401": { @@ -53070,12 +70664,12 @@ "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" + "kind": "VolumeAttachment", + "version": "v1beta1" } }, "put": { - "description": "replace the specified StorageClass", + "description": "replace the specified VolumeAttachment", "consumes": [ "*/*" ], @@ -53088,24 +70682,37 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "replaceStorageClass", + "operationId": "replaceVolumeAttachment", "parameters": [ { "name": "body", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "401": { @@ -53115,12 +70722,13 @@ "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } + "kind": "VolumeAttachment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "delete": { - "description": "delete a StorageClass", + "description": "delete a VolumeAttachment", "consumes": [ "*/*" ], @@ -53133,18 +70741,24 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "deleteStorageClass", + "operationId": "deleteVolumeAttachment", "parameters": [ { "name": "body", "in": "body", - "required": true, "schema": { "$ref": "#/definitions/v1.DeleteOptions" } }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" + }, { "uniqueItems": true, "type": "integer", @@ -53162,7 +70776,7 @@ { "uniqueItems": true, "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "name": "propagationPolicy", "in": "query" } @@ -53174,6 +70788,12 @@ "$ref": "#/definitions/v1.Status" } }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, "401": { "description": "Unauthorized" } @@ -53181,12 +70801,13 @@ "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } + "kind": "VolumeAttachment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "patch": { - "description": "partially update the specified StorageClass", + "description": "partially update the specified VolumeAttachment", "consumes": [ "application/json-patch+json", "application/merge-patch+json", @@ -53201,9 +70822,9 @@ "https" ], "tags": [ - "storage_v1" + "storage_v1beta1" ], - "operationId": "patchStorageClass", + "operationId": "patchVolumeAttachment", "parameters": [ { "name": "body", @@ -53213,13 +70834,20 @@ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" } + }, + { + "uniqueItems": true, + "type": "string", + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "name": "dryRun", + "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.StorageClass" + "$ref": "#/definitions/v1beta1.VolumeAttachment" } }, "401": { @@ -53229,15 +70857,16 @@ "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1" - } + "kind": "VolumeAttachment", + "version": "v1beta1" + }, + "x-codegen-request-body-name": "body" }, "parameters": [ { "uniqueItems": true, "type": "string", - "description": "name of the StorageClass", + "description": "name of the VolumeAttachment", "name": "name", "in": "path", "required": true @@ -53251,12 +70880,12 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/storageclasses": { + "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53305,7 +70934,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53318,12 +70947,12 @@ } ] }, - "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { + "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { "parameters": [ { "uniqueItems": true, "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", "name": "continue", "in": "query" }, @@ -53380,7 +71009,7 @@ { "uniqueItems": true, "type": "integer", - "description": "Timeout for the list/watch call.", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", "name": "timeoutSeconds", "in": "query" }, @@ -53393,31 +71022,211 @@ } ] }, - "/apis/storage.k8s.io/v1beta1/": { + "/apis/storage.k8s.io/v1beta1/watch/volumeattachments": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "name": "continue", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "name": "fieldSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "If true, partially initialized resources are included in the response.", + "name": "includeUninitialized", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "name": "labelSelector", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "name": "limit", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "name of the VolumeAttachment", + "name": "name", + "in": "path", + "required": true + }, + { + "uniqueItems": true, + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty", + "in": "query" + }, + { + "uniqueItems": true, + "type": "string", + "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", + "name": "resourceVersion", + "in": "query" + }, + { + "uniqueItems": true, + "type": "integer", + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds", + "in": "query" + }, + { + "uniqueItems": true, + "type": "boolean", + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "name": "watch", + "in": "query" + } + ] + }, + "/logs/": { "get": { - "description": "get available resources", + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileListHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + } + }, + "/logs/{logpath}": { + "get": { + "schemes": [ + "https" + ], + "tags": [ + "logs" + ], + "operationId": "logFileHandler", + "responses": { + "401": { + "description": "Unauthorized" + } + } + }, + "parameters": [ + { + "uniqueItems": true, + "type": "string", + "description": "path to the log", + "name": "logpath", + "in": "path", + "required": true + } + ] + }, + "/version/": { + "get": { + "description": "get the code version", "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json" ], "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json" ], "schemes": [ "https" ], "tags": [ - "storage_v1beta1" + "version" ], - "operationId": "getAPIResources", + "operationId": "getCode", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/version.Info" } }, "401": { @@ -53426,697 +71235,667 @@ } } }, - "/apis/storage.k8s.io/v1beta1/storageclasses": { - "get": { - "description": "list or watch objects of kind StorageClass", - "consumes": [ - "*/*" + "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { + "post": { + "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "Creates a namespace scoped Custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" + } ], "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" ], + "operationId": "createNamespacedCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's namespace", + "required": true, + "type": "string", + "name": "namespace", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, "schemes": [ "https" ], - "tags": [ - "storage_v1beta1" - ], - "operationId": "listStorageClass", + "description": "list or watch namespace scoped custom objects", "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, + "in": "query", "type": "string", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "name": "labelSelector" }, { "uniqueItems": true, + "in": "query", "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "name": "resourceVersion" }, { "uniqueItems": true, + "in": "query", "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds" }, { "uniqueItems": true, + "in": "query", "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", "name": "watch", - "in": "query" + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." } ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listNamespacedCustomObject" + } + }, + "/apis/{group}/{version}/{plural}": { + "post": { "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/v1beta1.StorageClassList" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "list", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "post": { - "description": "create a StorageClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], "schemes": [ "https" ], - "tags": [ - "storage_v1beta1" - ], - "operationId": "createStorageClass", + "description": "Creates a cluster scoped Custom object", "parameters": [ { - "name": "body", - "in": "body", - "required": true, "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" - } + "type": "object" + }, + "description": "The JSON schema of the Resource to create.", + "required": true, + "name": "body", + "in": "body" } ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "operationId": "createClusterCustomObject" + }, + "parameters": [ + { + "uniqueItems": true, + "in": "query", + "type": "string", + "description": "If 'true', then the output is pretty printed.", + "name": "pretty" + }, + { + "description": "The custom resource's group name", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "The custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + } + ], + "get": { "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "post", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete collection of StorageClass", - "consumes": [ - "*/*" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], "schemes": [ "https" ], - "tags": [ - "storage_v1beta1" - ], - "operationId": "deleteCollectionStorageClass", + "description": "list or watch cluster scoped custom objects", "parameters": [ { "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, + "in": "query", "type": "string", "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "name": "labelSelector" }, { "uniqueItems": true, + "in": "query", "type": "string", "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" + "name": "resourceVersion" }, { "uniqueItems": true, + "in": "query", "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "name": "timeoutSeconds" }, { "uniqueItems": true, + "in": "query", "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", "name": "watch", - "in": "query" + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." } ], + "tags": [ + "custom_objects" + ], + "produces": [ + "application/json", + "application/json;stream=watch" + ], + "consumes": [ + "*/*" + ], + "operationId": "listClusterCustomObject" + } + }, + "/apis/{group}/{version}/{plural}/{name}/status": { + "put": { "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "deletecollection", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1beta1/storageclasses/{name}": { - "get": { - "description": "read the specified StorageClass", - "consumes": [ - "*/*" + "schemes": [ + "https" + ], + "description": "replace status of the cluster scoped specified custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], + "x-codegen-request-body-name": "body", "tags": [ - "storage_v1beta1" + "custom_objects" ], - "operationId": "readStorageClass", - "parameters": [ - { - "uniqueItems": true, - "type": "boolean", - "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.", - "name": "exact", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Should this value be exported. Export strips fields that a user can not specify.", - "name": "export", - "in": "query" - } + "consumes": [ + "*/*" ], + "operationId": "replaceClusterCustomObjectStatus" + }, + "patch": { "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "get", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "put": { - "description": "replace the specified StorageClass", - "consumes": [ - "*/*" + "schemes": [ + "https" + ], + "description": "partially update status of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } ], "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], + "x-codegen-request-body-name": "body", "tags": [ - "storage_v1beta1" + "custom_objects" ], - "operationId": "replaceStorageClass", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" - } - } + "consumes": [ + "application/merge-patch+json" ], + "operationId": "patchClusterCustomObjectStatus" + }, + "parameters": [ + { + "description": "the custom resource's group", + "required": true, + "type": "string", + "name": "group", + "in": "path" + }, + { + "description": "the custom resource's version", + "required": true, + "type": "string", + "name": "version", + "in": "path" + }, + { + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, + "type": "string", + "name": "plural", + "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" + } + ], + "get": { "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "put", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "delete": { - "description": "delete a StorageClass", - "consumes": [ - "*/*" + "schemes": [ + "https" ], + "description": "read status of the specified cluster scoped custom object", "produces": [ "application/json", "application/yaml", "application/vnd.kubernetes.protobuf" ], - "schemes": [ - "https" - ], "tags": [ - "storage_v1beta1" + "custom_objects" ], - "operationId": "deleteStorageClass", - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, + "consumes": [ + "*/*" + ], + "operationId": "getClusterCustomObjectStatus" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { + "put": { + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "type": "object" } }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "replace the specified namespace scoped custom object", + "parameters": [ { - "uniqueItems": true, - "type": "integer", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", - "name": "gracePeriodSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.", - "name": "orphanDependents", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", - "name": "propagationPolicy", - "in": "query" + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to replace.", + "required": true, + "name": "body", + "in": "body" } ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObject" + }, + "patch": { "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.Status" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "delete", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "patch": { - "description": "partially update the specified StorageClass", - "consumes": [ - "application/json-patch+json", - "application/merge-patch+json", - "application/strategic-merge-patch+json" - ], - "produces": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" - ], "schemes": [ "https" ], - "tags": [ - "storage_v1beta1" - ], - "operationId": "patchStorageClass", + "description": "patch the specified namespace scoped custom object", "parameters": [ { - "name": "body", - "in": "body", - "required": true, "schema": { - "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", "type": "object" - } + }, + "description": "The JSON schema of the Resource to patch.", + "required": true, + "name": "body", + "in": "body" } ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObject" + }, + "delete": { "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1beta1.StorageClass" + "type": "object" } }, "401": { "description": "Unauthorized" } }, - "x-kubernetes-action": "patch", - "x-kubernetes-group-version-kind": { - "group": "storage.k8s.io", - "kind": "StorageClass", - "version": "v1beta1" - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "name of the StorageClass", - "name": "name", - "in": "path", - "required": true - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" - }, - { - "uniqueItems": true, - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" - } - ] - }, - "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { + "schemes": [ + "https" + ], + "description": "Deletes the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + }, + "required": true, + "name": "body", + "in": "body" + }, + { + "uniqueItems": true, + "in": "query", + "type": "integer", + "name": "gracePeriodSeconds", + "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." + }, + { + "uniqueItems": true, + "in": "query", + "type": "boolean", + "name": "orphanDependents", + "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." + }, + { + "uniqueItems": true, + "in": "query", + "type": "string", + "name": "propagationPolicy", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "deleteNamespacedCustomObject" + }, "parameters": [ { - "uniqueItems": true, - "type": "string", - "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server the server will respond with a 410 ResourceExpired error indicating the client must restart their list without the continue field. This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", - "name": "continue", - "in": "query" - }, - { - "uniqueItems": true, + "description": "the custom resource's group", + "required": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "name": "fieldSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "If true, partially initialized resources are included in the response.", - "name": "includeUninitialized", - "in": "query" + "name": "group", + "in": "path" }, { - "uniqueItems": true, + "description": "the custom resource's version", + "required": true, "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "name": "limit", - "in": "query" + "name": "version", + "in": "path" }, { - "uniqueItems": true, + "description": "The custom resource's namespace", + "required": true, "type": "string", - "description": "name of the StorageClass", - "name": "name", - "in": "path", - "required": true + "name": "namespace", + "in": "path" }, { - "uniqueItems": true, + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", + "required": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty", - "in": "query" + "name": "plural", + "in": "path" }, { - "uniqueItems": true, + "description": "the custom object's name", + "required": true, "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion", - "in": "query" - }, - { - "uniqueItems": true, - "type": "integer", - "description": "Timeout for the list/watch call.", - "name": "timeoutSeconds", - "in": "query" - }, - { - "uniqueItems": true, - "type": "boolean", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "name": "watch", - "in": "query" + "name": "name", + "in": "path" } - ] - }, - "/logs/": { + ], "get": { - "schemes": [ - "https" - ], - "tags": [ - "logs" - ], - "operationId": "logFileListHandler", "responses": { + "200": { + "description": "A single Resource", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } - } - } - }, - "/logs/{logpath}": { - "get": { + }, "schemes": [ "https" ], - "tags": [ - "logs" - ], - "operationId": "logFileHandler", - "responses": { - "401": { - "description": "Unauthorized" - } - } - }, - "parameters": [ - { - "uniqueItems": true, - "type": "string", - "description": "path to the log", - "name": "logpath", - "in": "path", - "required": true - } - ] - }, - "/version/": { - "get": { - "description": "get the code version", - "consumes": [ - "application/json" - ], + "description": "Returns a namespace scoped custom object", "produces": [ "application/json" ], - "schemes": [ - "https" - ], "tags": [ - "version" + "custom_objects" ], - "operationId": "getCode", + "consumes": [ + "*/*" + ], + "operationId": "getNamespacedCustomObject" + } + }, + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale": { + "put": { "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, "200": { "description": "OK", "schema": { - "$ref": "#/definitions/version.Info" + "type": "object" } }, "401": { "description": "Unauthorized" } - } - } - }, - "/apis/{group}/{version}/{plural}": { - "post": { + }, + "schemes": [ + "https" + ], + "description": "replace scale of the specified namespace scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "operationId": "replaceNamespacedCustomObjectScale" + }, + "patch": { "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "schema": { "type": "object" } @@ -54128,54 +71907,67 @@ "schemes": [ "https" ], - "description": "Creates a cluster scoped Custom object", + "description": "partially update scale of the specified namespace scoped custom object", "parameters": [ { "schema": { - "type": "object" + "type": "object", + "description": "The JSON schema of the Resource to patch." }, - "description": "The JSON schema of the Resource to create.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], - "operationId": "createClusterCustomObject" + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchNamespacedCustomObjectScale" }, "parameters": [ { - "uniqueItems": true, - "in": "query", + "description": "the custom resource's group", + "required": true, "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" + "name": "group", + "in": "path" }, { - "description": "The custom resource's group name", + "description": "the custom resource's version", "required": true, "type": "string", - "name": "group", + "name": "version", "in": "path" }, { - "description": "The custom resource's version", + "description": "The custom resource's namespace", "required": true, "type": "string", - "name": "version", + "name": "namespace", "in": "path" }, { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, "type": "string", "name": "plural", "in": "path" + }, + { + "description": "the custom object's name", + "required": true, + "type": "string", + "name": "name", + "in": "path" } ], "get": { @@ -54193,45 +71985,23 @@ "schemes": [ "https" ], - "description": "list or watch cluster scoped custom objects", - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." - } + "description": "read scale of the specified namespace scoped custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], "consumes": [ "*/*" ], - "operationId": "listClusterCustomObject" + "operationId": "getNamespacedCustomObjectScale" } }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}": { - "post": { + "/apis/{group}/{version}/{plural}/{name}/scale": { + "put": { "responses": { "201": { "description": "Created", @@ -54239,6 +72009,12 @@ "type": "object" } }, + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, "401": { "description": "Unauthorized" } @@ -54246,60 +72022,99 @@ "schemes": [ "https" ], - "description": "Creates a namespace scoped Custom object", + "description": "replace scale of the specified cluster scoped custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to create.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], - "operationId": "createNamespacedCustomObject" + "consumes": [ + "*/*" + ], + "operationId": "replaceClusterCustomObjectScale" }, - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "If 'true', then the output is pretty printed.", - "name": "pretty" + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "description": "partially update scale of the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object", + "description": "The JSON schema of the Resource to patch." + }, + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObjectScale" + }, + "parameters": [ { - "description": "The custom resource's group name", + "description": "the custom resource's group", "required": true, "type": "string", "name": "group", "in": "path" }, { - "description": "The custom resource's version", + "description": "the custom resource's version", "required": true, "type": "string", "name": "version", "in": "path" }, { - "description": "The custom resource's namespace", + "description": "the custom resource's plural name. For TPRs this would be lowercase plural kind.", "required": true, "type": "string", - "name": "namespace", + "name": "plural", "in": "path" }, { - "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.", + "description": "the custom object's name", "required": true, "type": "string", - "name": "plural", + "name": "name", "in": "path" } ], @@ -54318,41 +72133,19 @@ "schemes": [ "https" ], - "description": "list or watch namespace scoped custom objects", - "parameters": [ - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "name": "labelSelector" - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "name": "resourceVersion" - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "watch", - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications." - } + "description": "read scale of the specified custom object", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" ], - "produces": [ - "application/json", - "application/json;stream=watch" - ], "consumes": [ "*/*" ], - "operationId": "listNamespacedCustomObject" + "operationId": "getClusterCustomObjectScale" } }, "/apis/{group}/{version}/{plural}/{name}": { @@ -54386,6 +72179,7 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], @@ -54394,6 +72188,45 @@ ], "operationId": "replaceClusterCustomObject" }, + "patch": { + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "object" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "description": "patch the specified cluster scoped custom object", + "parameters": [ + { + "schema": { + "type": "object" + }, + "description": "The JSON schema of the Resource to patch.", + "required": true, + "name": "body", + "in": "body" + } + ], + "produces": [ + "application/json" + ], + "x-codegen-request-body-name": "body", + "tags": [ + "custom_objects" + ], + "consumes": [ + "application/merge-patch+json" + ], + "operationId": "patchClusterCustomObject" + }, "delete": { "responses": { "200": { @@ -54444,6 +72277,7 @@ "produces": [ "application/json" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], @@ -54510,9 +72344,15 @@ "operationId": "getClusterCustomObject" } }, - "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}": { + "/apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status": { "put": { "responses": { + "201": { + "description": "Created", + "schema": { + "type": "object" + } + }, "200": { "description": "OK", "schema": { @@ -54526,30 +72366,32 @@ "schemes": [ "https" ], - "description": "replace the specified namespace scoped custom object", + "description": "replace status of the specified namespace scoped custom object", "parameters": [ { "schema": { "type": "object" }, - "description": "The JSON schema of the Resource to replace.", "required": true, "name": "body", "in": "body" } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], "consumes": [ "*/*" ], - "operationId": "replaceNamespacedCustomObject" + "operationId": "replaceNamespacedCustomObjectStatus" }, - "delete": { + "patch": { "responses": { "200": { "description": "OK", @@ -54564,48 +72406,31 @@ "schemes": [ "https" ], - "description": "Deletes the specified namespace scoped custom object", + "description": "partially update status of the specified namespace scoped custom object", "parameters": [ { "schema": { - "$ref": "#/definitions/v1.DeleteOptions" + "type": "object", + "description": "The JSON schema of the Resource to patch." }, "required": true, "name": "body", "in": "body" - }, - { - "uniqueItems": true, - "in": "query", - "type": "integer", - "name": "gracePeriodSeconds", - "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately." - }, - { - "uniqueItems": true, - "in": "query", - "type": "boolean", - "name": "orphanDependents", - "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both." - }, - { - "uniqueItems": true, - "in": "query", - "type": "string", - "name": "propagationPolicy", - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy." } ], "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], + "x-codegen-request-body-name": "body", "tags": [ "custom_objects" ], "consumes": [ - "*/*" + "application/merge-patch+json" ], - "operationId": "deleteNamespacedCustomObject" + "operationId": "patchNamespacedCustomObjectStatus" }, "parameters": [ { @@ -54647,7 +72472,7 @@ "get": { "responses": { "200": { - "description": "A single Resource", + "description": "OK", "schema": { "type": "object" } @@ -54659,9 +72484,11 @@ "schemes": [ "https" ], - "description": "Returns a namespace scoped custom object", + "description": "read status of the specified namespace scoped custom object", "produces": [ - "application/json" + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" ], "tags": [ "custom_objects" @@ -54669,7 +72496,7 @@ "consumes": [ "*/*" ], - "operationId": "getNamespacedCustomObject" + "operationId": "getNamespacedCustomObjectStatus" } } }, @@ -54731,6 +72558,41 @@ } } }, + "v1beta1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1beta1" + } + ] + }, "apps.v1beta1.RollbackConfig": { "description": "DEPRECATED.", "properties": { @@ -54754,25 +72616,60 @@ } } }, - "v1.SecretKeySelector": { - "description": "SecretKeySelector selects a key of a Secret.", + "v1.CinderPersistentVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", "required": [ - "key" + "volumeID" ], "properties": { - "key": { - "description": "The key of the secret to select from. Must be a valid secret key.", + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.SecretReference" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, + "v1.StatefulSet": { + "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "optional": { - "description": "Specify whether the Secret or it's key must be defined", - "type": "boolean" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired identities of pods in this set.", + "$ref": "#/definitions/v1.StatefulSetSpec" + }, + "status": { + "description": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", + "$ref": "#/definitions/v1.StatefulSetStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "StatefulSet", + "version": "v1" + } + ] }, "v1.NodeStatus": { "description": "NodeStatus is information about the current status of a node.", @@ -54790,6 +72687,7 @@ "description": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -54797,6 +72695,7 @@ "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -54809,6 +72708,10 @@ "x-kubernetes-patch-merge-key": "type", "x-kubernetes-patch-strategy": "merge" }, + "config": { + "description": "Status of the config assigned to the node via the dynamic Kubelet config feature.", + "$ref": "#/definitions/v1.NodeConfigStatus" + }, "daemonEndpoints": { "description": "Endpoints of daemons running on the Node.", "$ref": "#/definitions/v1.NodeDaemonEndpoints" @@ -54844,6 +72747,30 @@ } } }, + "v1.ScopedResourceSelectorRequirement": { + "description": "A scoped-resource selector requirement is a selector that contains values, a scope name, and an operator that relates the scope name and values.", + "required": [ + "scopeName", + "operator" + ], + "properties": { + "operator": { + "description": "Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.", + "type": "string" + }, + "scopeName": { + "description": "The name of the scope that the selector applies to.", + "type": "string" + }, + "values": { + "description": "An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.HTTPIngressPath": { "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", "required": [ @@ -54860,6 +72787,67 @@ } } }, + "v1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "properties": { + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelector" + } + } + } + }, + "v1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeError" + } + } + }, + "v1beta1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1beta1.VolumeAttachmentSource" + } + } + }, "v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -54891,6 +72879,78 @@ } ] }, + "v2beta2.ObjectMetricStatus": { + "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", + "required": [ + "metric", + "current", + "describedObject" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" + }, + "describedObject": { + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" + }, + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + } + } + }, + "apiextensions.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, + "v1beta1.StatefulSetCondition": { + "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of statefulset condition.", + "type": "string" + } + } + }, "v1.ProjectedVolumeSource": { "description": "Represents a projected volume source", "required": [ @@ -55033,7 +73093,7 @@ "type": "string" }, "globalDefault": { - "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class.", + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", "type": "boolean" }, "kind": { @@ -55041,7 +73101,7 @@ "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" }, "value": { @@ -55058,6 +73118,78 @@ } ] }, + "v1beta1.SubjectRulesReviewStatus": { + "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", + "required": [ + "resourceRules", + "nonResourceRules", + "incomplete" + ], + "properties": { + "evaluationError": { + "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", + "type": "string" + }, + "incomplete": { + "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", + "type": "boolean" + }, + "nonResourceRules": { + "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.NonResourceRule" + } + }, + "resourceRules": { + "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ResourceRule" + } + } + } + }, + "v1beta1.PriorityClass": { + "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "required": [ + "value" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" + }, + "globalDefault": { + "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "value": { + "description": "The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.", + "type": "integer", + "format": "int32" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1beta1" + } + ] + }, "v1.CephFSPersistentVolumeSource": { "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -55173,36 +73305,113 @@ } ] }, - "v1alpha1.ExternalAdmissionHook": { - "description": "ExternalAdmissionHook describes an external admission webhook and the resources and operations it applies to.", + "v2beta2.ObjectMetricSource": { + "description": "ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "required": [ - "name", - "clientConfig" + "describedObject", + "target", + "metric" ], "properties": { - "clientConfig": { - "description": "ClientConfig defines how to communicate with the hook. Required", - "$ref": "#/definitions/v1alpha1.AdmissionHookClientConfig" + "describedObject": { + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" }, - "failurePolicy": { - "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, + "v1.DeploymentCondition": { + "description": "DeploymentCondition describes the state of a deployment at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "lastUpdateTime": { + "description": "The last time this condition was updated.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", "type": "string" }, - "name": { - "description": "The name of the external admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", + "reason": { + "description": "The reason for the condition's last transition.", "type": "string" }, - "rules": { - "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule.", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.RuleWithOperations" - } + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of deployment condition.", + "type": "string" + } + } + }, + "apps.v1beta1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "required": [ + "template" + ], + "properties": { + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" + }, + "paused": { + "description": "Indicates that the deployment is paused.", + "type": "boolean" + }, + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", + "type": "integer", + "format": "int32" + }, + "rollbackTo": { + "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", + "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", + "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" } } }, "v1beta1.NetworkPolicyList": { - "description": "Network Policy List is a list of NetworkPolicy objects.", + "description": "DEPRECATED 1.9 - This group version of NetworkPolicyList is deprecated by networking/v1/NetworkPolicyList. Network Policy List is a list of NetworkPolicy objects.", "required": [ "items" ], @@ -55235,6 +73444,35 @@ } ] }, + "v1beta1.APIServiceCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, "v1.StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "required": [ @@ -55245,6 +73483,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -55278,6 +73523,10 @@ "reclaimPolicy": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", "type": "string" + }, + "volumeBindingMode": { + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "string" } }, "x-kubernetes-group-version-kind": [ @@ -55288,32 +73537,6 @@ } ] }, - "v1.LabelSelectorRequirement": { - "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", - "required": [ - "key", - "operator" - ], - "properties": { - "key": { - "description": "key is the label key that the selector applies to.", - "type": "string", - "x-kubernetes-patch-merge-key": "key", - "x-kubernetes-patch-strategy": "merge" - }, - "operator": { - "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", - "type": "string" - }, - "values": { - "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, "v1.LoadBalancerIngress": { "description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "properties": { @@ -55327,6 +73550,24 @@ } } }, + "apiextensions.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook. It has the same field as admissionregistration.v1beta1.WebhookClientConfig.", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/apiextensions.v1beta1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "v1.SecretList": { "description": "SecretList is a list of Secret.", "required": [ @@ -55449,7 +73690,7 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", + "description": "The IP protocol for this port. Supports \"TCP\", \"UDP\", and \"SCTP\". Default is TCP.", "type": "string" }, "targetPort": { @@ -55527,12 +73768,63 @@ } ] }, + "v1beta1.LeaseSpec": { + "description": "LeaseSpec is a specification of a Lease.", + "properties": { + "acquireTime": { + "description": "acquireTime is a time when the current lease was acquired.", + "type": "string", + "format": "date-time" + }, + "holderIdentity": { + "description": "holderIdentity contains the identity of the holder of a current lease.", + "type": "string" + }, + "leaseDurationSeconds": { + "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.", + "type": "integer", + "format": "int32" + }, + "leaseTransitions": { + "description": "leaseTransitions is the number of transitions of a lease between holders.", + "type": "integer", + "format": "int32" + }, + "renewTime": { + "description": "renewTime is a time when the current holder of a lease has last updated the lease.", + "type": "string", + "format": "date-time" + } + } + }, + "v1alpha1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/v1alpha1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, "v1beta1.ClusterRole": { "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "required": [ "rules" ], "properties": { + "aggregationRule": { + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", + "$ref": "#/definitions/v1beta1.AggregationRule" + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -55561,6 +73853,16 @@ } ] }, + "v1.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "properties": { + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", + "type": "integer", + "format": "int32" + } + } + }, "v1beta1.RoleList": { "description": "RoleList is a collection of Roles", "required": [ @@ -55642,8 +73944,127 @@ } } }, - "v1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "policy.v1beta1.SELinuxStrategyOptions": { + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "rule": { + "description": "rule is the strategy that will dictate the allowable labels that may be set.", + "type": "string" + }, + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/v1.SELinuxOptions" + } + } + }, + "v1beta1.IngressTLS": { + "description": "IngressTLS describes the transport layer security associated with an Ingress.", + "properties": { + "hosts": { + "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", + "type": "array", + "items": { + "type": "string" + } + }, + "secretName": { + "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", + "type": "string" + } + } + }, + "v1.ClusterRoleList": { + "description": "ClusterRoleList is a collection of ClusterRoles", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ClusterRoles", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ClusterRole" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleList", + "version": "v1" + } + ] + }, + "v1.GroupVersionForDiscovery": { + "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "required": [ + "groupVersion", + "version" + ], + "properties": { + "groupVersion": { + "description": "groupVersion specifies the API group and version in the form \"group/version\"", + "type": "string" + }, + "version": { + "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", + "type": "string" + } + } + }, + "policy.v1beta1.SupplementalGroupsStrategyOptions": { + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "type": "string" + } + } + }, + "v1.SecretKeySelector": { + "description": "SecretKeySelector selects a key of a Secret.", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "The key of the secret to select from. Must be a valid secret key.", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "optional": { + "description": "Specify whether the Secret or it's key must be defined", + "type": "boolean" + } + } + }, + "v1alpha1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "required": [ "items" ], @@ -55653,10 +74074,10 @@ "type": "string" }, "items": { - "description": "Items is a list of ClusterRoles", + "description": "Items is the list of VolumeAttachments", "type": "array", "items": { - "$ref": "#/definitions/v1.ClusterRole" + "$ref": "#/definitions/v1alpha1.VolumeAttachment" } }, "kind": { @@ -55664,34 +74085,55 @@ "type": "string" }, "metadata": { - "description": "Standard object's metadata.", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleList", - "version": "v1" + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1alpha1" } ] }, - "v1.GroupVersionForDiscovery": { - "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.", + "v1.ClusterRole": { + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", "required": [ - "groupVersion", - "version" + "rules" ], "properties": { - "groupVersion": { - "description": "groupVersion specifies the API group and version in the form \"group/version\"", + "aggregationRule": { + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", + "$ref": "#/definitions/v1.AggregationRule" + }, + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "version": { - "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "rules": { + "description": "Rules holds all the PolicyRules for this ClusterRole", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PolicyRule" + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRole", + "version": "v1" + } + ] }, "v1.ComponentStatusList": { "description": "Status of all the conditions for the component as a list of ComponentStatus objects.", @@ -55727,6 +74169,19 @@ } ] }, + "extensions.v1beta1.AllowedHostPath": { + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.", + "properties": { + "pathPrefix": { + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" + } + } + }, "v1.PodAntiAffinity": { "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.", "properties": { @@ -55758,6 +74213,40 @@ } } }, + "v1.ReplicaSetList": { + "description": "ReplicaSetList is a collection of ReplicaSets.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ReplicaSet" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ReplicaSetList", + "version": "v1" + } + ] + }, "v1.HostAlias": { "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.", "properties": { @@ -55774,6 +74263,37 @@ } } }, + "v1beta2.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "required": [ + "selector", + "template" + ], + "properties": { + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1beta2.DaemonSetUpdateStrategy" + } + } + }, "v1.Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "properties": { @@ -55874,6 +74394,14 @@ } } }, + "v1.SelfSubjectRulesReviewSpec": { + "properties": { + "namespace": { + "description": "Namespace to evaluate rules for. Required.", + "type": "string" + } + } + }, "v1.CinderVolumeSource": { "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", "required": [ @@ -55888,6 +74416,10 @@ "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "boolean" }, + "secretRef": { + "description": "Optional: points to a secret object containing parameters used to connect to OpenStack.", + "$ref": "#/definitions/v1.LocalObjectReference" + }, "volumeID": { "description": "volume id used to identify the volume in cinder More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", "type": "string" @@ -55895,13 +74427,17 @@ } }, "v1.NodeSelectorTerm": { - "description": "A null or empty node selector term matches no objects.", - "required": [ - "matchExpressions" - ], + "description": "A null or empty node selector term matches no objects. The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.", "properties": { "matchExpressions": { - "description": "Required. A list of node selector requirements. The requirements are ANDed.", + "description": "A list of node selector requirements by node's labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.NodeSelectorRequirement" + } + }, + "matchFields": { + "description": "A list of node selector requirements by node's fields.", "type": "array", "items": { "$ref": "#/definitions/v1.NodeSelectorRequirement" @@ -55909,30 +74445,32 @@ } } }, - "v1.PersistentVolumeClaimSpec": { - "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "v1beta2.StatefulSetCondition": { + "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", + "required": [ + "type", + "status" + ], "properties": { - "accessModes": { - "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", - "type": "array", - "items": { - "type": "string" - } + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" }, - "resources": { - "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", - "$ref": "#/definitions/v1.ResourceRequirements" + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" }, - "selector": { - "description": "A label query over volumes to consider for binding.", - "$ref": "#/definitions/v1.LabelSelector" + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" }, - "storageClassName": { - "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "status": { + "description": "Status of the condition, one of True, False, Unknown.", "type": "string" }, - "volumeName": { - "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": { + "description": "Type of statefulset condition.", "type": "string" } } @@ -56013,6 +74551,61 @@ } ] }, + "v1.StatefulSetUpdateStrategy": { + "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", + "properties": { + "rollingUpdate": { + "description": "RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.", + "$ref": "#/definitions/v1.RollingUpdateStatefulSetStrategy" + }, + "type": { + "description": "Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.", + "type": "string" + } + } + }, + "v1beta2.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "required": [ + "replicas" + ], + "properties": { + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.ReplicaSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" + } + } + }, "extensions.v1beta1.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ @@ -56029,7 +74622,7 @@ "type": "boolean" }, "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.", + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"no deadline\".", "type": "integer", "format": "int32" }, @@ -56039,7 +74632,7 @@ "format": "int32" }, "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.", + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. This is set to the max value of int32 (i.e. 2147483647) by default, which means \"retaining all old RelicaSets\".", "type": "integer", "format": "int32" }, @@ -56095,7 +74688,37 @@ "format": "int32" }, "protocol": { - "description": "The IP protocol for this port. Must be UDP or TCP. Default is TCP.", + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + } + }, + "v1.ConfigMapNodeConfigSource": { + "description": "ConfigMapNodeConfigSource contains the information to reference a ConfigMap as a config source for the Node.", + "required": [ + "namespace", + "name", + "kubeletConfigKey" + ], + "properties": { + "kubeletConfigKey": { + "description": "KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.", + "type": "string" + }, + "name": { + "description": "Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "namespace": { + "description": "Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.", + "type": "string" + }, + "resourceVersion": { + "description": "ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", + "type": "string" + }, + "uid": { + "description": "UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.", "type": "string" } } @@ -56194,12 +74817,17 @@ "description": "ResourceQuotaSpec defines the desired hard limits to enforce for Quota.", "properties": { "hard": { - "description": "Hard is the set of desired hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", + "description": "hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, + "scopeSelector": { + "description": "scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.", + "$ref": "#/definitions/v1.ScopeSelector" + }, "scopes": { "description": "A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.", "type": "array", @@ -56221,6 +74849,81 @@ } } }, + "v1.ResourceQuota": { + "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaSpec" + }, + "status": { + "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ResourceQuotaStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuota", + "version": "v1" + } + ] + }, + "v1.SessionAffinityConfig": { + "description": "SessionAffinityConfig represents the configurations of session affinity.", + "properties": { + "clientIP": { + "description": "clientIP contains the configurations of Client IP based session affinity.", + "$ref": "#/definitions/v1.ClientIPConfig" + } + } + }, + "v1beta1.ValidatingWebhookConfigurationList": { + "description": "ValidatingWebhookConfigurationList is a list of ValidatingWebhookConfiguration.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of ValidatingWebhookConfiguration.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.ValidatingWebhookConfiguration" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfigurationList", + "version": "v1beta1" + } + ] + }, "v1beta1.APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { @@ -56243,6 +74946,89 @@ "description": "Status contains derived information about an API server", "$ref": "#/definitions/v1beta1.APIServiceStatus" } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1beta1" + } + ] + }, + "v1beta1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "template", + "serviceName" + ], + "properties": { + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", + "type": "string" + }, + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + } + } + }, + "v1beta1.UserInfo": { + "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "properties": { + "extra": { + "description": "Any additional information provided by the authenticator.", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "groups": { + "description": "The names of groups this user is a part of.", + "type": "array", + "items": { + "type": "string" + } + }, + "uid": { + "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", + "type": "string" + }, + "username": { + "description": "The name that uniquely identifies this user among all active users.", + "type": "string" + } } }, "v1beta1.Ingress": { @@ -56280,7 +75066,6 @@ "v1beta1.PodDisruptionBudgetStatus": { "description": "PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.", "required": [ - "disruptedPods", "disruptionsAllowed", "currentHealthy", "desiredHealthy", @@ -56301,6 +75086,7 @@ "description": "DisruptedPods contains information about pods whose eviction was processed by the API server eviction subresource handler but has not yet been observed by the PodDisruptionBudget controller. A pod will be in this map from the time when the API server processed the eviction request to the time when the pod is seen by PDB controller as having been marked for deletion (or after a timeout). The key in the map is the name of the pod and the value is the time when the API server processed the eviction request. If the deletion didn't occur and a pod is still there it will be removed from the list automatically by PodDisruptionBudget controller after some time. If everything goes smooth this map should be empty for the most of the time. Large number of entries in the map may indicate problems with pod deletions.", "type": "object", "additionalProperties": { + "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", "type": "string", "format": "date-time" } @@ -56322,27 +75108,77 @@ } } }, - "v1beta1.IDRange": { - "description": "ID Range provides a min/max of an allowed range of IDs.", + "v2beta2.HorizontalPodAutoscalerList": { + "description": "HorizontalPodAutoscalerList is a list of horizontal pod autoscaler objects.", "required": [ - "min", - "max" + "items" ], "properties": { - "max": { - "description": "Max is the end of the range, inclusive.", - "type": "integer", - "format": "int64" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "min": { - "description": "Min is the start of the range, inclusive.", - "type": "integer", - "format": "int64" + "items": { + "description": "items is the list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscaler" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", + "version": "v2beta2" + } + ] + }, + "v1.APIServiceList": { + "description": "APIServiceList is a list of APIService objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1.APIService" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] }, "v1.PodAffinityTerm": { - "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key tches that of any node on which a pod of the set of pods is running", + "description": "Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key matches that of any node on which a pod of the set of pods is running", + "required": [ + "topologyKey" + ], "properties": { "labelSelector": { "description": "A label query over a set of resources, in this case pods.", @@ -56356,7 +75192,19 @@ } }, "topologyKey": { - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. For PreferredDuringScheduling pod anti-affinity, empty topologyKey is interpreted as \"all topologies\" (\"all topologies\" here means all the topologyKeys indicated by scheduler command-line argument --failure-domains); for affinity and for RequiredDuringScheduling pod anti-affinity, empty topologyKey is not allowed.", + "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.", + "type": "string" + } + } + }, + "v1.PodDNSConfigOption": { + "description": "PodDNSConfigOption defines DNS resolver options of a pod.", + "properties": { + "name": { + "description": "Required.", + "type": "string" + }, + "value": { "type": "string" } } @@ -56371,7 +75219,7 @@ } }, "v1beta2.ControllerRevision": { - "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", + "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", "required": [ "revision" ], @@ -56406,6 +75254,41 @@ } ] }, + "v1beta1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "required": [ + "template" + ], + "properties": { + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "templateGeneration": { + "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", + "type": "integer", + "format": "int64" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" + } + } + }, "v1.AzureDiskVolumeSource": { "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", "required": [ @@ -56430,7 +75313,7 @@ "type": "string" }, "kind": { - "description": "Expected values Shared: mulitple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", + "description": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared", "type": "string" }, "readOnly": { @@ -56439,39 +75322,29 @@ } } }, - "v1.ResourceQuotaList": { - "description": "ResourceQuotaList is a list of ResourceQuota items.", + "v1beta1.SubjectAccessReviewStatus": { + "description": "SubjectAccessReviewStatus", "required": [ - "items" + "allowed" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "allowed": { + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" }, - "items": { - "description": "Items is a list of ResourceQuota objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", - "type": "array", - "items": { - "$ref": "#/definitions/v1.ResourceQuota" - } + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", + "type": "boolean" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "evaluationError": { + "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", "type": "string" }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuotaList", - "version": "v1" + "reason": { + "description": "Reason is optional. It indicates why a request was allowed or denied.", + "type": "string" } - ] + } }, "v1.RoleRef": { "description": "RoleRef contains information that points to the role being used", @@ -56502,8 +75375,16 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "binaryData": { + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, "data": { - "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.", + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", "type": "object", "additionalProperties": { "type": "string" @@ -56526,40 +75407,70 @@ } ] }, - "v1beta1.IPBlock": { - "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", - "required": [ - "cidr" - ], + "extensions.v1beta1.PodSecurityPolicy": { + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container. Deprecated: use PodSecurityPolicy from policy API Group instead.", "properties": { - "cidr": { - "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "except": { - "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", - "type": "array", - "items": { - "type": "string" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicySpec" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] }, "v1beta2.RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "type": "object", "format": "int-or-string" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "object", "format": "int-or-string" } } }, + "v1.EnvVarSource": { + "description": "EnvVarSource represents a source for the value of an EnvVar.", + "properties": { + "configMapKeyRef": { + "description": "Selects a key of a ConfigMap.", + "$ref": "#/definitions/v1.ConfigMapKeySelector" + }, + "fieldRef": { + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.", + "$ref": "#/definitions/v1.ObjectFieldSelector" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", + "$ref": "#/definitions/v1.ResourceFieldSelector" + }, + "secretKeyRef": { + "description": "Selects a key of a secret in the pod's namespace", + "$ref": "#/definitions/v1.SecretKeySelector" + } + } + }, "v1.PersistentVolumeClaimList": { "description": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", "required": [ @@ -56659,6 +75570,7 @@ "description": "A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -56668,19 +75580,23 @@ }, "cinder": { "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", - "$ref": "#/definitions/v1.CinderVolumeSource" + "$ref": "#/definitions/v1.CinderPersistentVolumeSource" }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding", "$ref": "#/definitions/v1.ObjectReference" }, + "csi": { + "description": "CSI represents storage that handled by an external CSI driver (Beta feature).", + "$ref": "#/definitions/v1.CSIPersistentVolumeSource" + }, "fc": { "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", "$ref": "#/definitions/v1.FCVolumeSource" }, "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", - "$ref": "#/definitions/v1.FlexVolumeSource" + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", + "$ref": "#/definitions/v1.FlexPersistentVolumeSource" }, "flocker": { "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", @@ -56692,7 +75608,7 @@ }, "glusterfs": { "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", - "$ref": "#/definitions/v1.GlusterfsVolumeSource" + "$ref": "#/definitions/v1.GlusterfsPersistentVolumeSource" }, "hostPath": { "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath", @@ -56700,7 +75616,7 @@ }, "iscsi": { "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", - "$ref": "#/definitions/v1.ISCSIVolumeSource" + "$ref": "#/definitions/v1.ISCSIPersistentVolumeSource" }, "local": { "description": "Local represents directly-attached storage with node affinity", @@ -56717,8 +75633,12 @@ "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs", "$ref": "#/definitions/v1.NFSVolumeSource" }, + "nodeAffinity": { + "description": "NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume.", + "$ref": "#/definitions/v1.VolumeNodeAffinity" + }, "persistentVolumeReclaimPolicy": { - "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", + "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming", "type": "string" }, "photonPersistentDisk": { @@ -56735,11 +75655,11 @@ }, "rbd": { "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", - "$ref": "#/definitions/v1.RBDVolumeSource" + "$ref": "#/definitions/v1.RBDPersistentVolumeSource" }, "scaleIO": { "description": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.", - "$ref": "#/definitions/v1.ScaleIOVolumeSource" + "$ref": "#/definitions/v1.ScaleIOPersistentVolumeSource" }, "storageClassName": { "description": "Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.", @@ -56749,6 +75669,10 @@ "description": "StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md", "$ref": "#/definitions/v1.StorageOSPersistentVolumeSource" }, + "volumeMode": { + "description": "volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. This is a beta feature.", + "type": "string" + }, "vsphereVolume": { "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" @@ -56830,7 +75754,6 @@ "v1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -56869,6 +75792,7 @@ "v1beta2.StatefulSetSpec": { "description": "A StatefulSetSpec is the specification of a StatefulSet.", "required": [ + "selector", "template", "serviceName" ], @@ -56888,7 +75812,7 @@ "format": "int32" }, "selector": { - "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "$ref": "#/definitions/v1.LabelSelector" }, "serviceName": { @@ -56912,8 +75836,8 @@ } } }, - "v1.SubjectAccessReview": { - "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "v1beta1.CustomResourceDefinition": { + "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", "required": [ "spec" ], @@ -56930,44 +75854,83 @@ "$ref": "#/definitions/v1.ObjectMeta" }, "spec": { - "description": "Spec holds information about the request being evaluated", - "$ref": "#/definitions/v1.SubjectAccessReviewSpec" + "description": "Spec describes how the user wants the resources to appear", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionSpec" }, "status": { - "description": "Status is filled in by the server and indicates whether the request is allowed or not", - "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + "description": "Status indicates the actual state of the CustomResourceDefinition", + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionStatus" } }, "x-kubernetes-group-version-kind": [ { - "group": "authorization.k8s.io", - "kind": "SubjectAccessReview", - "version": "v1" + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinition", + "version": "v1beta1" } ] }, - "v1alpha1.AdmissionHookClientConfig": { - "description": "AdmissionHookClientConfig contains the information to make a TLS connection with the webhook", + "v2beta1.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one \"target\" type should be set.", "required": [ - "service", - "caBundle" + "metricName" ], "properties": { - "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate webhook's server certificate. Required", - "type": "string", - "format": "byte" + "metricName": { + "description": "metricName is the name of the metric in question.", + "type": "string" }, - "service": { - "description": "Service is a reference to the service for this webhook. If there is only one port open for the service, that port will be used. If there are multiple ports open, port 443 will be used if it is open, otherwise it is an error. Required", - "$ref": "#/definitions/v1alpha1.ServiceReference" + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "targetAverageValue": { + "description": "targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.", + "type": "string" + }, + "targetValue": { + "description": "targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.", + "type": "string" } } }, + "v1beta1.LeaseList": { + "description": "LeaseList is a list of Lease objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Lease" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "LeaseList", + "version": "v1beta1" + } + ] + }, "v1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -57093,7 +76056,7 @@ "format": "int32" }, "manualSelector": { - "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://git.k8s.io/community/contributors/design-proposals/selector-generation.md", + "description": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", "type": "boolean" }, "parallelism": { @@ -57108,6 +76071,11 @@ "template": { "description": "Describes the pod that will be created when executing a job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "ttlSecondsAfterFinished": { + "description": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes. This field is alpha-level and is only honored by servers that enable the TTLAfterFinished feature.", + "type": "integer", + "format": "int32" } } }, @@ -57145,6 +76113,34 @@ } ] }, + "v2beta2.MetricStatus": { + "description": "MetricStatus describes the last-read state of a single metric.", + "required": [ + "type" + ], + "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta2.ExternalMetricStatus" + }, + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta2.ObjectMetricStatus" + }, + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta2.PodsMetricStatus" + }, + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta2.ResourceMetricStatus" + }, + "type": { + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", + "type": "string" + } + } + }, "v1beta1.SelfSubjectAccessReviewSpec": { "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -57206,6 +76202,9 @@ }, "v1beta2.ReplicaSetSpec": { "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "required": [ + "selector" + ], "properties": { "minReadySeconds": { "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", @@ -57218,7 +76217,7 @@ "format": "int32" }, "selector": { - "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "$ref": "#/definitions/v1.LabelSelector" }, "template": { @@ -57247,6 +76246,20 @@ } } }, + "v1.APIServiceStatus": { + "description": "APIServiceStatus contains derived information about an API server", + "properties": { + "conditions": { + "description": "Current service state of apiService.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.APIServiceCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + } + } + }, "v1.PersistentVolumeClaimStatus": { "description": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "properties": { @@ -57261,6 +76274,7 @@ "description": "Represents the actual resources of the underlying volume.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -57361,6 +76375,18 @@ } } }, + "extensions.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used. Deprecated: use AllowedFlexVolume from policy API Group instead.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "driver is the name of the Flexvolume driver.", + "type": "string" + } + } + }, "v1beta1.PodDisruptionBudgetList": { "description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.", "required": [ @@ -57427,37 +76453,20 @@ } ] }, - "v1.SecurityContext": { - "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "v1.Sysctl": { + "description": "Sysctl defines a kernel parameter to be set", + "required": [ + "name", + "value" + ], "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", - "type": "boolean" - }, - "capabilities": { - "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", - "$ref": "#/definitions/v1.Capabilities" - }, - "privileged": { - "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", - "type": "boolean" - }, - "readOnlyRootFilesystem": { - "description": "Whether this container has a read-only root filesystem. Default is false.", - "type": "boolean" - }, - "runAsNonRoot": { - "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "boolean" - }, - "runAsUser": { - "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "type": "integer", - "format": "int64" + "name": { + "description": "Name of a property to set", + "type": "string" }, - "seLinuxOptions": { - "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", - "$ref": "#/definitions/v1.SELinuxOptions" + "value": { + "description": "Value of a property to set", + "type": "string" } } }, @@ -57486,20 +76495,8 @@ } } }, - "v1beta1.JSON": { - "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", - "required": [ - "Raw" - ], - "properties": { - "Raw": { - "type": "string", - "format": "byte" - } - } - }, "v1beta1.ReplicaSet": { - "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet represents the configuration of a ReplicaSet.", + "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1beta2/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -57530,6 +76527,33 @@ } ] }, + "v1alpha1.AuditSink": { + "description": "AuditSink represents a cluster level audit sink", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the audit configuration spec", + "$ref": "#/definitions/v1alpha1.AuditSinkSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSink", + "version": "v1alpha1" + } + ] + }, "v1.NodeCondition": { "description": "NodeCondition contains condition information for a node.", "required": [ @@ -57565,6 +76589,135 @@ } } }, + "extensions.v1beta1.PodSecurityPolicySpec": { + "description": "PodSecurityPolicySpec defines the policy enforced. Deprecated: use PodSecurityPolicySpec from policy API Group instead.", + "required": [ + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" + ], + "properties": { + "allowPrivilegeEscalation": { + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "type": "boolean" + }, + "allowedCapabilities": { + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedFlexVolumes": { + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.AllowedFlexVolume" + } + }, + "allowedHostPaths": { + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.AllowedHostPath" + } + }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAddCapabilities": { + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAllowPrivilegeEscalation": { + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, + "fsGroup": { + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "$ref": "#/definitions/extensions.v1beta1.FSGroupStrategyOptions" + }, + "hostIPC": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.HostPortRange" + } + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "type": "boolean" + }, + "requiredDropCapabilities": { + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/extensions.v1beta1.RunAsGroupStrategyOptions" + }, + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/extensions.v1beta1.RunAsUserStrategyOptions" + }, + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$ref": "#/definitions/extensions.v1beta1.SELinuxStrategyOptions" + }, + "supplementalGroups": { + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "$ref": "#/definitions/extensions.v1beta1.SupplementalGroupsStrategyOptions" + }, + "volumes": { + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.SubjectAccessReviewStatus": { "description": "SubjectAccessReviewStatus", "required": [ @@ -57572,7 +76725,11 @@ ], "properties": { "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "description": "Allowed is required. True if the action would be allowed, false otherwise.", + "type": "boolean" + }, + "denied": { + "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", "type": "boolean" }, "evaluationError": { @@ -57666,6 +76823,28 @@ } ] }, + "v1alpha1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1alpha1.VolumeAttachmentSource" + } + } + }, "v1.NodeSelectorRequirement": { "description": "A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", "required": [ @@ -57733,7 +76912,7 @@ "$ref": "#/definitions/v1.FCVolumeSource" }, "flexVolume": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "$ref": "#/definitions/v1.FlexVolumeSource" }, "flocker": { @@ -57745,7 +76924,7 @@ "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" }, "gitRepo": { - "description": "GitRepo represents a git repository at a particular revision.", + "description": "GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "$ref": "#/definitions/v1.GitRepoVolumeSource" }, "glusterfs": { @@ -57840,6 +77019,66 @@ } } }, + "v1beta2.DaemonSetCondition": { + "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of DaemonSet condition.", + "type": "string" + } + } + }, + "v1.ReplicaSetCondition": { + "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "The last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of replica set condition.", + "type": "string" + } + } + }, "v1.VolumeMount": { "description": "VolumeMount describes a mounting of a Volume within a container.", "required": [ @@ -57852,7 +77091,7 @@ "type": "string" }, "mountPropagation": { - "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationHostToContainer is used. This field is alpha in 1.8 and can be reworked or removed in a future release.", + "description": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.", "type": "string" }, "name": { @@ -57999,6 +77238,11 @@ "items": { "$ref": "#/definitions/v1.ContainerPort" }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", "x-kubernetes-patch-merge-key": "containerPort", "x-kubernetes-patch-strategy": "merge" }, @@ -58007,11 +77251,11 @@ "$ref": "#/definitions/v1.Probe" }, "resources": { - "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "$ref": "#/definitions/v1.ResourceRequirements" }, "securityContext": { - "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md", + "description": "Security options the pod should run with. More info: https://kubernetes.io/docs/concepts/policy/security-context/ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", "$ref": "#/definitions/v1.SecurityContext" }, "stdin": { @@ -58034,6 +77278,15 @@ "description": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", "type": "boolean" }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the container. This is a beta feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeDevice" + }, + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, "volumeMounts": { "description": "Pod volumes to mount into the container's filesystem. Cannot be updated.", "type": "array", @@ -58110,7 +77363,7 @@ ] }, "v1beta2.StatefulSet": { - "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "description": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -58215,22 +77468,39 @@ } } }, - "v1.NetworkPolicyPeer": { - "description": "NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.", + "v1beta1.EventList": { + "description": "EventList is a list of Event objects.", + "required": [ + "items" + ], "properties": { - "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", - "$ref": "#/definitions/v1.IPBlock" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", - "$ref": "#/definitions/v1.LabelSelector" + "items": { + "description": "Items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Event" + } }, - "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", - "$ref": "#/definitions/v1.LabelSelector" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "events.k8s.io", + "kind": "EventList", + "version": "v1beta1" + } + ] }, "v1beta1.CustomResourceDefinitionNames": { "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", @@ -58239,6 +77509,13 @@ "kind" ], "properties": { + "categories": { + "description": "Categories is a list of grouped resources custom resources belong to (e.g. 'all')", + "type": "array", + "items": { + "type": "string" + } + }, "kind": { "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", "type": "string" @@ -58269,7 +77546,6 @@ "required": [ "currentReplicas", "desiredReplicas", - "currentMetrics", "conditions" ], "properties": { @@ -58309,13 +77585,40 @@ } } }, - "v1.SelfSubjectRulesReviewSpec": { + "v1alpha1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "required": [ + "spec" + ], "properties": { - "namespace": { - "description": "Namespace to evaluate rules for. Required.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1alpha1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1alpha1.VolumeAttachmentStatus" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1alpha1" + } + ] }, "v1.LimitRangeList": { "description": "LimitRangeList is a list of LimitRange items.", @@ -58328,7 +77631,7 @@ "type": "string" }, "items": { - "description": "Items is a list of LimitRange objects. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_limit_range.md", + "description": "Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "array", "items": { "$ref": "#/definitions/v1.LimitRange" @@ -58351,6 +77654,36 @@ } ] }, + "v1.DaemonSetCondition": { + "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of DaemonSet condition.", + "type": "string" + } + } + }, "v1.PodAffinity": { "description": "Pod affinity is a group of inter pod affinity scheduling rules.", "properties": { @@ -58371,7 +77704,7 @@ } }, "v1beta2.DaemonSet": { - "description": "DaemonSet represents the configuration of a daemon set.", + "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -58389,18 +77722,61 @@ "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", "$ref": "#/definitions/v1beta2.DaemonSetSpec" }, - "status": { - "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1beta2.DaemonSetStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "DaemonSet", - "version": "v1beta2" + "status": { + "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta2.DaemonSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DaemonSet", + "version": "v1beta2" + } + ] + }, + "v1.SecurityContext": { + "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", + "properties": { + "allowPrivilegeEscalation": { + "description": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN", + "type": "boolean" + }, + "capabilities": { + "description": "The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime.", + "$ref": "#/definitions/v1.Capabilities" + }, + "privileged": { + "description": "Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false.", + "type": "boolean" + }, + "procMount": { + "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled.", + "type": "string" + }, + "readOnlyRootFilesystem": { + "description": "Whether this container has a read-only root filesystem. Default is false.", + "type": "boolean" + }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "runAsNonRoot": { + "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "boolean" + }, + "runAsUser": { + "description": "The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "type": "integer", + "format": "int64" + }, + "seLinuxOptions": { + "description": "The SELinux context to be applied to the container. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", + "$ref": "#/definitions/v1.SELinuxOptions" } - ] + } }, "v1.NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", @@ -58473,7 +77849,7 @@ "$ref": "#/definitions/v1.ConfigMapEnvSource" }, "prefix": { - "description": "An optional identifer to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", + "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.", "type": "string" }, "secretRef": { @@ -58482,52 +77858,6 @@ } } }, - "v1beta1.StatefulSetSpec": { - "description": "A StatefulSetSpec is the specification of a StatefulSet.", - "required": [ - "template", - "serviceName" - ], - "properties": { - "podManagementPolicy": { - "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", - "type": "string" - }, - "replicas": { - "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "serviceName": { - "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", - "type": "string" - }, - "template": { - "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "updateStrategy": { - "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", - "$ref": "#/definitions/v1beta1.StatefulSetUpdateStrategy" - }, - "volumeClaimTemplates": { - "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PersistentVolumeClaim" - } - } - } - }, "v1.Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", "properties": { @@ -58560,36 +77890,36 @@ } ] }, - "v1beta1.CertificateSigningRequestList": { - "required": [ - "items" - ], + "v1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", + "type": "integer", + "format": "int32" }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.CertificateSigningRequest" - } + "lastObservedTime": { + "description": "Time of the last occurrence observed", + "type": "string", + "format": "date-time" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "state": { + "description": "State of this Series: Ongoing or Finished", "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "certificates.k8s.io", - "kind": "CertificateSigningRequestList", - "version": "v1beta1" + } + }, + "v1.TopologySelectorTerm": { + "description": "A topology selector term represents the result of label queries. A null or empty topology selector term matches no objects. The requirements of them are ANDed. It provides a subset of functionality as NodeSelectorTerm. This is an alpha feature and may change in the future.", + "properties": { + "matchLabelExpressions": { + "description": "A list of topology selector requirements by labels.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorLabelRequirement" + } } - ] + } }, "v1.ObjectFieldSelector": { "description": "ObjectFieldSelector selects an APIVersioned field of an object.", @@ -58657,58 +77987,49 @@ } } }, - "v1.AWSElasticBlockStoreVolumeSource": { - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "v1.RBDPersistentVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "required": [ - "volumeID" + "monitors", + "image" ], "properties": { "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", "type": "string" }, - "partition": { - "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", - "type": "integer", - "format": "int32" - }, - "readOnly": { - "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", - "type": "boolean" - }, - "volumeID": { - "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "image": { + "description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" - } - } - }, - "v1beta1.PodSecurityPolicy": { - "description": "Pod Security Policy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + }, + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "monitors": { + "description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" }, - "spec": { - "description": "spec defines the policy enforced.", - "$ref": "#/definitions/v1beta1.PodSecurityPolicySpec" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "PodSecurityPolicy", - "version": "v1beta1" + "secretRef": { + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/v1.SecretReference" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" } - ] + } }, "v1beta1.NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", @@ -58758,18 +78079,40 @@ } } }, + "v2beta2.CrossVersionObjectReference": { + "description": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds\"", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, "v1beta1.NetworkPolicyPeer": { + "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPeer is deprecated by networking/v1/NetworkPolicyPeer.", "properties": { "ipBlock": { - "description": "IPBlock defines policy on a particular IPBlock", + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", "$ref": "#/definitions/v1beta1.IPBlock" }, "namespaceSelector": { - "description": "Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.", + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", "$ref": "#/definitions/v1.LabelSelector" }, "podSelector": { - "description": "This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.", + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", "$ref": "#/definitions/v1.LabelSelector" } } @@ -58804,6 +78147,15 @@ } } }, + "v1alpha1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, "v1alpha1.PodPresetList": { "description": "PodPresetList is a list of PodPreset objects.", "required": [ @@ -58838,37 +78190,21 @@ } ] }, - "v1.ResourceQuota": { - "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", + "extensions.v1beta1.SELinuxStrategyOptions": { + "description": "SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.", + "required": [ + "rule" + ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "rule": { + "description": "rule is the strategy that will dictate the allowable labels that may be set.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "spec": { - "description": "Spec defines the desired quota. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaSpec" - }, - "status": { - "description": "Status defines the actual enforced quota and its current usage. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", - "$ref": "#/definitions/v1.ResourceQuotaStatus" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "ResourceQuota", - "version": "v1" + "seLinuxOptions": { + "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/v1.SELinuxOptions" } - ] + } }, "v1.LimitRangeItem": { "description": "LimitRangeItem defines a min/max usage limit for any resource that matches on kind.", @@ -58877,6 +78213,7 @@ "description": "Default resource requirement limit value by resource name if resource limit is omitted.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -58884,6 +78221,7 @@ "description": "DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -58891,6 +78229,7 @@ "description": "Max usage constraints on this kind by resource name.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -58898,6 +78237,7 @@ "description": "MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -58905,6 +78245,7 @@ "description": "Min usage constraints on this kind by resource name.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -58958,6 +78299,32 @@ } } }, + "v1.LabelSelectorRequirement": { + "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.", + "required": [ + "key", + "operator" + ], + "properties": { + "key": { + "description": "key is the label key that the selector applies to.", + "type": "string", + "x-kubernetes-patch-merge-key": "key", + "x-kubernetes-patch-strategy": "merge" + }, + "operator": { + "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.", + "type": "string" + }, + "values": { + "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.FCVolumeSource": { "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", "properties": { @@ -59012,11 +78379,33 @@ } } }, + "v1.ResourceRequirements": { + "description": "ResourceRequirements describes the compute resource requirements.", + "properties": { + "limits": { + "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + } + }, + "requests": { + "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "object", + "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", + "type": "string" + } + } + } + }, "v1beta1.CustomResourceDefinitionStatus": { "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition", "required": [ "conditions", - "acceptedNames" + "acceptedNames", + "storedVersions" ], "properties": { "acceptedNames": { @@ -59029,6 +78418,13 @@ "items": { "$ref": "#/definitions/v1beta1.CustomResourceDefinitionCondition" } + }, + "storedVersions": { + "description": "StoredVersions are all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so the migration controller can first finish a migration to another version (i.e. that no old objects are left in the storage), and then remove the rest of the versions from this list. None of the versions in this list can be removed from the spec.Versions field.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -59038,6 +78434,10 @@ "type" ], "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta1.ExternalMetricSource" + }, "object": { "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", "$ref": "#/definitions/v2beta1.ObjectMetricSource" @@ -59051,8 +78451,63 @@ "$ref": "#/definitions/v2beta1.ResourceMetricSource" }, "type": { - "description": "type is the type of metric source. It should match one of the fields below.", + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", + "type": "string" + } + } + }, + "v1.StatefulSetStatus": { + "description": "StatefulSetStatus represents the current state of a StatefulSet.", + "required": [ + "replicas" + ], + "properties": { + "collisionCount": { + "description": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a statefulset's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.StatefulSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentReplicas": { + "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", + "type": "integer", + "format": "int32" + }, + "currentRevision": { + "description": "currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).", + "type": "string" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "readyReplicas is the number of Pods created by the StatefulSet controller that have a Ready Condition.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "replicas is the number of Pods created by the StatefulSet controller.", + "type": "integer", + "format": "int32" + }, + "updateRevision": { + "description": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", "type": "string" + }, + "updatedReplicas": { + "description": "updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.", + "type": "integer", + "format": "int32" } } }, @@ -59079,6 +78534,52 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1beta1" + } + ] + }, + "v1alpha1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1alpha1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1alpha1.VolumeError" + } + } + }, + "v1.LoadBalancerStatus": { + "description": "LoadBalancerStatus represents the status of a load-balancer.", + "properties": { + "ingress": { + "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LoadBalancerIngress" + } + } } }, "v1.ContainerStateRunning": { @@ -59115,25 +78616,6 @@ } } }, - "v1beta1.HostPortRange": { - "description": "Host Port Range defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", - "required": [ - "min", - "max" - ], - "properties": { - "max": { - "description": "max is the end of the range, inclusive.", - "type": "integer", - "format": "int32" - }, - "min": { - "description": "min is the start of the range, inclusive.", - "type": "integer", - "format": "int32" - } - } - }, "v1.HorizontalPodAutoscalerSpec": { "description": "specification of a horizontal pod autoscaler.", "required": [ @@ -59162,6 +78644,48 @@ } } }, + "v2beta1.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "name is the name of the resource in question.", + "type": "string" + }, + "targetAverageUtilization": { + "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "targetAverageValue": { + "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.", + "type": "string" + } + } + }, + "v1.NodeConfigStatus": { + "description": "NodeConfigStatus describes the status of the config assigned by Node.Spec.ConfigSource.", + "properties": { + "active": { + "description": "Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "assigned": { + "description": "Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.", + "$ref": "#/definitions/v1.NodeConfigSource" + }, + "error": { + "description": "Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.", + "type": "string" + }, + "lastKnownGood": { + "description": "LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.", + "$ref": "#/definitions/v1.NodeConfigSource" + } + } + }, "v1alpha1.PriorityClassList": { "description": "PriorityClassList is a collection of priority classes.", "required": [ @@ -59184,7 +78708,7 @@ "type": "string" }, "metadata": { - "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ListMeta" } }, @@ -59200,11 +78724,21 @@ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "required": [ "group", - "version", "names", "scope" ], "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Optional, the global columns for all versions. Top-level and per-version columns are mutually exclusive.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + } + }, + "conversion": { + "description": "`conversion` defines conversion settings for the CRD.", + "$ref": "#/definitions/v1beta1.CustomResourceConversion" + }, "group": { "description": "Group is the group this resource belongs in", "type": "string" @@ -59217,13 +78751,24 @@ "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced", "type": "string" }, + "subresources": { + "description": "Subresources describes the subresources for CustomResource Optional, the global subresources for all versions. Top-level and per-version subresources are mutually exclusive.", + "$ref": "#/definitions/v1beta1.CustomResourceSubresources" + }, "validation": { - "description": "Validation describes the validation methods for CustomResources This field is alpha-level and should only be sent to servers that enable the CustomResourceValidation feature.", + "description": "Validation describes the validation methods for CustomResources Optional, the global validation schema for all versions. Top-level and per-version schemas are mutually exclusive.", "$ref": "#/definitions/v1beta1.CustomResourceValidation" }, "version": { - "description": "Version is the version this resource belongs in", + "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`.", "type": "string" + }, + "versions": { + "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + } } } }, @@ -59240,6 +78785,40 @@ } } }, + "v1.ResourceQuotaList": { + "description": "ResourceQuotaList is a list of ResourceQuota items.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ResourceQuota objects. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ResourceQuota" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "ResourceQuotaList", + "version": "v1" + } + ] + }, "v1.RoleBindingList": { "description": "RoleBindingList is a collection of RoleBindings", "required": [ @@ -59274,6 +78853,35 @@ } ] }, + "v1.APIServiceCondition": { + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "Human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "Unique, one-word, CamelCase reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status is the status of the condition. Can be True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type is the type of the condition.", + "type": "string" + } + } + }, "v1.SecretEnvSource": { "description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.", "properties": { @@ -59285,7 +78893,40 @@ "description": "Specify whether the Secret must be defined", "type": "boolean" } - } + } + }, + "v1beta1.ValidatingWebhookConfiguration": { + "description": "ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Webhook" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "ValidatingWebhookConfiguration", + "version": "v1beta1" + } + ] }, "v1.NodeSpec": { "description": "NodeSpec describes the attributes that a node is created with.", @@ -59295,7 +78936,7 @@ "$ref": "#/definitions/v1.NodeConfigSource" }, "externalID": { - "description": "External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.", + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", "type": "string" }, "podCIDR": { @@ -59333,6 +78974,38 @@ "secret": { "description": "information about the secret data to project", "$ref": "#/definitions/v1.SecretProjection" + }, + "serviceAccountToken": { + "description": "information about the serviceAccountToken data to project", + "$ref": "#/definitions/v1.ServiceAccountTokenProjection" + } + } + }, + "v1alpha1.Policy": { + "description": "Policy defines the configuration of how audit events are logged", + "required": [ + "level" + ], + "properties": { + "level": { + "description": "The Level that all requests are recorded at. available options: None, Metadata, Request, RequestResponse required", + "type": "string" + }, + "stages": { + "description": "Stages is a list of stages for which events are created.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.VolumeNodeAffinity": { + "description": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.", + "properties": { + "required": { + "description": "Required specifies hard node constraints that must be met.", + "$ref": "#/definitions/v1.NodeSelector" } } }, @@ -59350,6 +79023,15 @@ "type": "integer", "format": "int32" }, + "conditions": { + "description": "Represents the latest available observations of a DaemonSet's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.DaemonSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", "type": "integer", @@ -59425,21 +79107,80 @@ } } }, - "v1beta1.RunAsUserStrategyOptions": { - "description": "Run A sUser Strategy Options defines the strategy type and any options used to create the strategy.", + "v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles", "required": [ - "rule" + "items" ], "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of uids that may be used.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of Roles", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.IDRange" + "$ref": "#/definitions/v1alpha1.Role" } }, - "rule": { - "description": "Rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" + } + ] + }, + "v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "required": [ + "monitors", + "image" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", + "type": "string" + }, + "image": { + "description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "type": "string" } } @@ -59466,14 +79207,34 @@ } } }, + "policy.v1beta1.FSGroupStrategyOptions": { + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", + "type": "string" + } + } + }, "v1.LocalVolumeSource": { - "description": "Local represents directly-attached storage with node affinity", + "description": "Local represents directly-attached storage with node affinity (Beta feature)", "required": [ "path" ], "properties": { + "fsType": { + "description": "Filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a fileystem if unspecified.", + "type": "string" + }, "path": { - "description": "The full path to the volume on the node For alpha, this path must be a directory Once block as a source is supported, then this path can point to a block device", + "description": "The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).", "type": "string" } } @@ -59511,7 +79272,7 @@ ], "properties": { "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.", + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", "type": "string" }, "failedJobsHistoryLimit": { @@ -59551,23 +79312,71 @@ } } }, - "v1.PersistentVolumeStatus": { - "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "v2beta2.HorizontalPodAutoscalerCondition": { + "description": "HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.", + "required": [ + "type", + "status" + ], "properties": { + "lastTransitionTime": { + "description": "lastTransitionTime is the last time the condition transitioned from one status to another", + "type": "string", + "format": "date-time" + }, "message": { - "description": "A human-readable message indicating details about why the volume is in this state.", + "description": "message is a human-readable explanation containing details about the transition", "type": "string" }, - "phase": { - "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", + "reason": { + "description": "reason is the reason for the condition's last transition.", "type": "string" }, - "reason": { - "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", + "status": { + "description": "status is the status of the condition (True, False, Unknown)", + "type": "string" + }, + "type": { + "description": "type describes the current condition", "type": "string" } } }, + "v1.VolumeAttachment": { + "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired attach/detach volume behavior. Populated by the Kubernetes system.", + "$ref": "#/definitions/v1.VolumeAttachmentSpec" + }, + "status": { + "description": "Status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1.VolumeAttachmentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachment", + "version": "v1" + } + ] + }, "v1.ContainerPort": { "description": "ContainerPort represents a network port in a single container.", "required": [ @@ -59593,11 +79402,76 @@ "type": "string" }, "protocol": { - "description": "Protocol for port. Must be UDP or TCP. Defaults to \"TCP\".", + "description": "Protocol for port. Must be UDP, TCP, or SCTP. Defaults to \"TCP\".", "type": "string" } } }, + "v1.DaemonSetStatus": { + "description": "DaemonSetStatus represents the current status of a daemon set.", + "required": [ + "currentNumberScheduled", + "numberMisscheduled", + "desiredNumberScheduled", + "numberReady" + ], + "properties": { + "collisionCount": { + "description": "Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a DaemonSet's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.DaemonSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "currentNumberScheduled": { + "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "desiredNumberScheduled": { + "description": "The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberAvailable": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "numberMisscheduled": { + "description": "The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", + "type": "integer", + "format": "int32" + }, + "numberReady": { + "description": "The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", + "type": "integer", + "format": "int32" + }, + "numberUnavailable": { + "description": "The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)", + "type": "integer", + "format": "int32" + }, + "observedGeneration": { + "description": "The most recent generation observed by the daemon set controller.", + "type": "integer", + "format": "int64" + }, + "updatedNumberScheduled": { + "description": "The total number of nodes that are running updated daemon pod", + "type": "integer", + "format": "int32" + } + } + }, "v1beta1.HTTPIngressRuleValue": { "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", "required": [ @@ -59614,6 +79488,7 @@ } }, "v1beta1.NetworkPolicySpec": { + "description": "DEPRECATED 1.9 - This group version of NetworkPolicySpec is deprecated by networking/v1/NetworkPolicySpec.", "required": [ "podSelector" ], @@ -59645,70 +79520,16 @@ } } }, - "v1beta2.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "required": [ - "template" - ], + "v1.ClientIPConfig": { + "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", "properties": { - "minReadySeconds": { - "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "timeoutSeconds": { + "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", "type": "integer", "format": "int32" - }, - "selector": { - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "template": { - "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "updateStrategy": { - "description": "An update strategy to replace existing DaemonSet pods with new pods.", - "$ref": "#/definitions/v1beta2.DaemonSetUpdateStrategy" } } }, - "v1alpha1.ExternalAdmissionHookConfigurationList": { - "description": "ExternalAdmissionHookConfigurationList is a list of ExternalAdmissionHookConfiguration.", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of ExternalAdmissionHookConfiguration.", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHookConfiguration" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfigurationList", - "version": "v1alpha1" - } - ] - }, "v1.UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { @@ -59739,51 +79560,65 @@ } } }, - "v1.ResourceRequirements": { - "description": "ResourceRequirements describes the compute resource requirements.", + "v2beta2.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metric", + "current" + ], "properties": { - "limits": { - "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", - "additionalProperties": { - "type": "string" - } + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" }, - "requests": { - "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "object", - "additionalProperties": { - "type": "string" - } + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" } } }, - "v1beta1.UserInfo": { - "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", + "v1alpha1.AuditSinkList": { + "description": "AuditSinkList is a list of AuditSink items.", + "required": [ + "items" + ], "properties": { - "extra": { - "description": "Any additional information provided by the authenticator.", - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "groups": { - "description": "The names of groups this user is a part of.", + "items": { + "description": "List of audit configurations.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1alpha1.AuditSink" } }, - "uid": { - "description": "A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, - "username": { - "description": "The name that uniquely identifies this user among all active users.", + "metadata": { + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "auditregistration.k8s.io", + "kind": "AuditSinkList", + "version": "v1alpha1" + } + ] + }, + "v1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", "type": "string" } } @@ -59900,6 +79735,40 @@ } ] }, + "v1beta1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, + "v2beta2.MetricTarget": { + "description": "MetricTarget defines the target value, average value, or average utilization of a specific metric", + "required": [ + "type" + ], + "properties": { + "averageUtilization": { + "description": "averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "type": "string" + }, + "type": { + "description": "type represents whether the metric type is Utilization, Value, or AverageValue", + "type": "string" + }, + "value": { + "description": "value is the target value of the metric (as a quantity).", + "type": "string" + } + } + }, "v1beta1.ExternalDocumentation": { "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", "properties": { @@ -59911,6 +79780,38 @@ } } }, + "v1.Deployment": { + "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the desired behavior of the Deployment.", + "$ref": "#/definitions/v1.DeploymentSpec" + }, + "status": { + "description": "Most recently observed status of the Deployment.", + "$ref": "#/definitions/v1.DeploymentStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "Deployment", + "version": "v1" + } + ] + }, "v1beta1.DaemonSetStatus": { "description": "DaemonSetStatus represents the current status of a daemon set.", "required": [ @@ -59925,6 +79826,15 @@ "type": "integer", "format": "int32" }, + "conditions": { + "description": "Represents the latest available observations of a DaemonSet's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.DaemonSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, "currentNumberScheduled": { "description": "The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/", "type": "integer", @@ -60034,18 +79944,6 @@ } ] }, - "v1.LoadBalancerStatus": { - "description": "LoadBalancerStatus represents the status of a load-balancer.", - "properties": { - "ingress": { - "description": "Ingress is a list containing ingress points for the load-balancer. Traffic intended for the service should be sent to these ingress points.", - "type": "array", - "items": { - "$ref": "#/definitions/v1.LoadBalancerIngress" - } - } - } - }, "v1.Initializer": { "description": "Initializer is information about an initializer that has not yet completed.", "required": [ @@ -60092,6 +79990,108 @@ } } }, + "policy.v1beta1.HostPortRange": { + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" + } + } + }, + "v2beta2.PodsMetricSource": { + "description": "PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "required": [ + "metric", + "target" + ], + "properties": { + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" + }, + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, + "v1.DeploymentStatus": { + "description": "DeploymentStatus is the most recently observed status of the Deployment.", + "properties": { + "availableReplicas": { + "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.", + "type": "integer", + "format": "int32" + }, + "collisionCount": { + "description": "Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.", + "type": "integer", + "format": "int32" + }, + "conditions": { + "description": "Represents the latest available observations of a deployment's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.DeploymentCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "The generation observed by the deployment controller.", + "type": "integer", + "format": "int64" + }, + "readyReplicas": { + "description": "Total number of ready pods targeted by this deployment.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).", + "type": "integer", + "format": "int32" + }, + "unavailableReplicas": { + "description": "Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.", + "type": "integer", + "format": "int32" + }, + "updatedReplicas": { + "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.", + "type": "integer", + "format": "int32" + } + } + }, + "v1.PersistentVolumeStatus": { + "description": "PersistentVolumeStatus is the current status of a persistent volume.", + "properties": { + "message": { + "description": "A human-readable message indicating details about why the volume is in this state.", + "type": "string" + }, + "phase": { + "description": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase", + "type": "string" + }, + "reason": { + "description": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", + "type": "string" + } + } + }, "v1.SELinuxOptions": { "description": "SELinuxOptions are the labels to be applied to the container", "properties": { @@ -60139,7 +80139,7 @@ ], "properties": { "fsType": { - "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\".", "type": "string" }, "gateway": { @@ -60147,7 +80147,7 @@ "type": "string" }, "protectionDomain": { - "description": "The name of the Protection Domain for the configured storage (defaults to \"default\").", + "description": "The name of the ScaleIO Protection Domain for the configured storage.", "type": "string" }, "readOnly": { @@ -60163,11 +80163,11 @@ "type": "boolean" }, "storageMode": { - "description": "Indicates whether the storage for a volume should be thick or thin (defaults to \"thin\").", + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", "type": "string" }, "storagePool": { - "description": "The Storage Pool associated with the protection domain (defaults to \"default\").", + "description": "The ScaleIO Storage Pool associated with the protection domain.", "type": "string" }, "system": { @@ -60180,6 +80180,25 @@ } } }, + "extensions.v1beta1.RunAsUserStrategyOptions": { + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsUserStrategyOptions from policy API Group instead.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "type": "string" + } + } + }, "v1beta1.CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { @@ -60232,20 +80251,38 @@ } } }, - "v1.TCPSocketAction": { - "description": "TCPSocketAction describes an action based on opening a socket", + "v1beta1.CustomResourceColumnDefinition": { + "description": "CustomResourceColumnDefinition specifies a column for server side printing.", "required": [ - "port" + "name", + "type", + "JSONPath" ], "properties": { - "host": { - "description": "Optional: Host name to connect to, defaults to the pod IP.", + "JSONPath": { + "description": "JSONPath is a simple JSON path, i.e. with array notation.", "type": "string" }, - "port": { - "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", - "type": "object", - "format": "int-or-string" + "description": { + "description": "description is a human readable description of this column.", + "type": "string" + }, + "format": { + "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" + }, + "name": { + "description": "name is a human readable name for the column.", + "type": "string" + }, + "priority": { + "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority.", + "type": "integer", + "format": "int32" + }, + "type": { + "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", + "type": "string" } } }, @@ -60274,6 +80311,94 @@ } } }, + "v1.Event": { + "description": "Event is a report of an event somewhere in the cluster.", + "required": [ + "metadata", + "involvedObject" + ], + "properties": { + "action": { + "description": "What action was taken/failed regarding to the Regarding object.", + "type": "string" + }, + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "count": { + "description": "The number of times this event has occurred.", + "type": "integer", + "format": "int32" + }, + "eventTime": { + "description": "Time when this Event was first observed.", + "type": "string", + "format": "date-time" + }, + "firstTimestamp": { + "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", + "type": "string", + "format": "date-time" + }, + "involvedObject": { + "description": "The object that this event is about.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "lastTimestamp": { + "description": "The time at which the most recent occurrence of this event was recorded.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human-readable description of the status of this operation.", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "reason": { + "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", + "type": "string" + }, + "related": { + "description": "Optional secondary object for more complex actions.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "reportingComponent": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "description": "Data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/v1.EventSeries" + }, + "source": { + "description": "The component reporting this event. Should be a short machine understandable string.", + "$ref": "#/definitions/v1.EventSource" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future", + "type": "string" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Event", + "version": "v1" + } + ] + }, "v1beta1.IngressRule": { "description": "IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.", "properties": { @@ -60351,6 +80476,27 @@ } } }, + "v1beta1.CustomResourceSubresourceScale": { + "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", + "required": [ + "specReplicasPath", + "statusReplicasPath" + ], + "properties": { + "labelSelectorPath": { + "description": "LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string.", + "type": "string" + }, + "specReplicasPath": { + "description": "SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET.", + "type": "string" + }, + "statusReplicasPath": { + "description": "StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0.", + "type": "string" + } + } + }, "version.Info": { "description": "Info contains versioning information. how we'll want to distribute that information.", "required": [ @@ -60483,25 +80629,11 @@ "v1.NodeConfigSource": { "description": "NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil.", "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "configMapRef": { - "$ref": "#/definitions/v1.ObjectReference" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeConfigSource", - "version": "v1" + "configMap": { + "description": "ConfigMap is a reference to a Node's ConfigMap", + "$ref": "#/definitions/v1.ConfigMapNodeConfigSource" } - ] + } }, "v1beta1.LocalSubjectAccessReview": { "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", @@ -60565,7 +80697,7 @@ } }, "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "description": "Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups. '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.", "type": "array", "items": { "type": "string" @@ -60580,6 +80712,19 @@ } } }, + "v1.DeploymentStrategy": { + "description": "DeploymentStrategy describes how to replace existing pods with new ones.", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", + "$ref": "#/definitions/v1.RollingUpdateDeployment" + }, + "type": { + "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.", + "type": "string" + } + } + }, "v2beta1.ResourceMetricStatus": { "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", "required": [ @@ -60602,115 +80747,89 @@ } } }, - "v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "v1.TCPSocketAction": { + "description": "TCPSocketAction describes an action based on opening a socket", "required": [ - "items" + "port" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of Roles", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.Role" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "host": { + "description": "Optional: Host name to connect to, defaults to the pod IP.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1alpha1" - } - ] - }, - "v1.Lifecycle": { - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "properties": { - "postStart": { - "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", - "$ref": "#/definitions/v1.Handler" - }, - "preStop": { - "description": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", - "$ref": "#/definitions/v1.Handler" + "port": { + "description": "Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.", + "type": "object", + "format": "int-or-string" } } }, - "v1.Event": { - "description": "Event is a report of an event somewhere in the cluster.", + "v1.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "required": [ - "metadata", - "involvedObject" + "selector" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "count": { - "description": "The number of times this event has occurred.", + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "type": "integer", "format": "int32" }, - "firstTimestamp": { - "description": "The time at which the event was first recorded. (Time of server receipt is in TypeMeta.)", - "type": "string", - "format": "date-time" - }, - "involvedObject": { - "description": "The object that this event is about.", - "$ref": "#/definitions/v1.ObjectReference" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" }, - "lastTimestamp": { - "description": "The time at which the most recent occurrence of this event was recorded.", - "type": "string", - "format": "date-time" + "selector": { + "description": "Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" }, - "message": { - "description": "A human-readable description of the status of this operation.", - "type": "string" + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, + "v2beta2.MetricSpec": { + "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).", + "required": [ + "type" + ], + "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta2.ExternalMetricSource" }, - "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" + "object": { + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", + "$ref": "#/definitions/v2beta2.ObjectMetricSource" }, - "reason": { - "description": "This should be a short, machine understandable string that gives the reason for the transition into the object's current status.", - "type": "string" + "pods": { + "description": "pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.", + "$ref": "#/definitions/v2beta2.PodsMetricSource" }, - "source": { - "description": "The component reporting this event. Should be a short machine understandable string.", - "$ref": "#/definitions/v1.EventSource" + "resource": { + "description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "$ref": "#/definitions/v2beta2.ResourceMetricSource" }, "type": { - "description": "Type of this event (Normal, Warning), new types could be added in the future", + "description": "type is the type of metric source. It should be one of \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.", "type": "string" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Event", - "version": "v1" + } + }, + "v1.Lifecycle": { + "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", + "properties": { + "postStart": { + "description": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/v1.Handler" + }, + "preStop": { + "description": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. Regardless of the outcome of the handler, the container is eventually terminated. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks", + "$ref": "#/definitions/v1.Handler" } - ] + } }, "v1.Scale": { "description": "Scale represents a scaling request for a resource.", @@ -60744,6 +80863,34 @@ } ] }, + "v1beta1.Lease": { + "description": "Lease defines a lease concept.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1beta1.LeaseSpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "coordination.k8s.io", + "kind": "Lease", + "version": "v1beta1" + } + ] + }, "v1.NFSVolumeSource": { "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -60789,13 +80936,38 @@ { "group": "admission.k8s.io", "kind": "WatchEvent", - "version": "v1alpha1" + "version": "v1beta1" }, { "group": "admissionregistration.k8s.io", "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "admissionregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "WatchEvent", + "version": "v1" + }, { "group": "apps", "kind": "WatchEvent", @@ -60806,6 +80978,11 @@ "kind": "WatchEvent", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "WatchEvent", @@ -60836,6 +81013,11 @@ "kind": "WatchEvent", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "WatchEvent", + "version": "v2beta2" + }, { "group": "batch", "kind": "WatchEvent", @@ -60857,12 +81039,17 @@ "version": "v1beta1" }, { - "group": "extensions", + "group": "coordination.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, + { + "group": "events.k8s.io", "kind": "WatchEvent", "version": "v1beta1" }, { - "group": "federation", + "group": "extensions", "kind": "WatchEvent", "version": "v1beta1" }, @@ -60901,6 +81088,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "WatchEvent", @@ -60911,6 +81103,11 @@ "kind": "WatchEvent", "version": "v1" }, + { + "group": "storage.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "storage.k8s.io", "kind": "WatchEvent", @@ -61018,6 +81215,60 @@ } ] }, + "admissionregistration.v1beta1.WebhookClientConfig": { + "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook", + "properties": { + "caBundle": { + "description": "`caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "service": { + "description": "`service` is a reference to the service for this webhook. Either `service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`.\n\nPort 443 will be used if it is open, otherwise it is an error.", + "$ref": "#/definitions/admissionregistration.v1beta1.ServiceReference" + }, + "url": { + "description": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.", + "type": "string" + } + } + }, + "v1.RollingUpdateDeployment": { + "description": "Spec to control the desired behavior of rolling update.", + "properties": { + "maxSurge": { + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.", + "type": "object", + "format": "int-or-string" + }, + "maxUnavailable": { + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "type": "object", + "format": "int-or-string" + } + } + }, + "v1.TypedLocalObjectReference": { + "description": "TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace.", + "required": [ + "kind", + "name" + ], + "properties": { + "apiGroup": { + "description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.", + "type": "string" + }, + "kind": { + "description": "Kind is the type of resource being referenced", + "type": "string" + }, + "name": { + "description": "Name is the name of resource being referenced", + "type": "string" + } + } + }, "v1.ReplicationController": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { @@ -61056,6 +81307,10 @@ "type" ], "properties": { + "external": { + "description": "external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "$ref": "#/definitions/v2beta1.ExternalMetricStatus" + }, "object": { "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).", "$ref": "#/definitions/v2beta1.ObjectMetricStatus" @@ -61069,36 +81324,81 @@ "$ref": "#/definitions/v2beta1.ResourceMetricStatus" }, "type": { - "description": "type is the type of metric source. It will match one of the fields below.", + "description": "type is the type of metric source. It will be one of \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.", "type": "string" } } }, - "v1beta1.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "v2beta2.ExternalMetricSource": { + "description": "ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).", + "required": [ + "metric", + "target" + ], "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", - "format": "int32" - }, - "replicas": { - "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", - "format": "int32" + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" }, - "selector": { - "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" + } + } + }, + "v2beta2.PodsMetricStatus": { + "description": "PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).", + "required": [ + "metric", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" }, - "template": { - "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" + "metric": { + "description": "metric identifies the target metric by name and selector", + "$ref": "#/definitions/v2beta2.MetricIdentifier" } } }, + "v1beta1.PriorityClassList": { + "description": "PriorityClassList is a collection of priority classes.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of PriorityClasses", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.PriorityClass" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClassList", + "version": "v1beta1" + } + ] + }, "v1beta1.NetworkPolicyIngressRule": { - "description": "This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", + "description": "DEPRECATED 1.9 - This group version of NetworkPolicyIngressRule is deprecated by networking/v1/NetworkPolicyIngressRule. This NetworkPolicyIngressRule matches traffic if and only if the traffic matches both ports AND from.", "properties": { "from": { "description": "List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least on item, this rule allows traffic only if the traffic matches at least one item in the from list.", @@ -61116,6 +81416,135 @@ } } }, + "policy.v1beta1.PodSecurityPolicySpec": { + "description": "PodSecurityPolicySpec defines the policy enforced.", + "required": [ + "seLinux", + "runAsUser", + "supplementalGroups", + "fsGroup" + ], + "properties": { + "allowPrivilegeEscalation": { + "description": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", + "type": "boolean" + }, + "allowedCapabilities": { + "description": "allowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both allowedCapabilities and requiredDropCapabilities.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedFlexVolumes": { + "description": "allowedFlexVolumes is a whitelist of allowed Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.AllowedFlexVolume" + } + }, + "allowedHostPaths": { + "description": "allowedHostPaths is a white list of allowed host paths. Empty indicates that all host paths may be used.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.AllowedHostPath" + } + }, + "allowedProcMountTypes": { + "description": "AllowedProcMountTypes is a whitelist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", + "type": "array", + "items": { + "type": "string" + } + }, + "allowedUnsafeSysctls": { + "description": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAddCapabilities": { + "description": "defaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capability in both defaultAddCapabilities and requiredDropCapabilities. Capabilities added here are implicitly allowed, and need not be included in the allowedCapabilities list.", + "type": "array", + "items": { + "type": "string" + } + }, + "defaultAllowPrivilegeEscalation": { + "description": "defaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", + "type": "boolean" + }, + "forbiddenSysctls": { + "description": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", + "type": "array", + "items": { + "type": "string" + } + }, + "fsGroup": { + "description": "fsGroup is the strategy that will dictate what fs group is used by the SecurityContext.", + "$ref": "#/definitions/policy.v1beta1.FSGroupStrategyOptions" + }, + "hostIPC": { + "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", + "type": "boolean" + }, + "hostNetwork": { + "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", + "type": "boolean" + }, + "hostPID": { + "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", + "type": "boolean" + }, + "hostPorts": { + "description": "hostPorts determines which host port ranges are allowed to be exposed.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.HostPortRange" + } + }, + "privileged": { + "description": "privileged determines if a pod can request to be run as privileged.", + "type": "boolean" + }, + "readOnlyRootFilesystem": { + "description": "readOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", + "type": "boolean" + }, + "requiredDropCapabilities": { + "description": "requiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", + "type": "array", + "items": { + "type": "string" + } + }, + "runAsGroup": { + "description": "RunAsGroup is the strategy that will dictate the allowable RunAsGroup values that may be set. If this field is omitted, the pod's RunAsGroup can take any value. This field requires the RunAsGroup feature gate to be enabled.", + "$ref": "#/definitions/policy.v1beta1.RunAsGroupStrategyOptions" + }, + "runAsUser": { + "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", + "$ref": "#/definitions/policy.v1beta1.RunAsUserStrategyOptions" + }, + "seLinux": { + "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", + "$ref": "#/definitions/policy.v1beta1.SELinuxStrategyOptions" + }, + "supplementalGroups": { + "description": "supplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", + "$ref": "#/definitions/policy.v1beta1.SupplementalGroupsStrategyOptions" + }, + "volumes": { + "description": "volumes is a white list of allowed volume plugins. Empty indicates that no volumes may be used. To allow all volumes you may use '*'.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1beta1.ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ @@ -61137,7 +81566,7 @@ } }, "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.", + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", "type": "array", "items": { "type": "string" @@ -61152,40 +81581,56 @@ } } }, - "v1beta1.SubjectRulesReviewStatus": { - "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", + "v1alpha1.Webhook": { + "description": "Webhook holds the configuration of the webhook", "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" + "clientConfig" ], "properties": { - "evaluationError": { - "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", - "type": "string" - }, - "incomplete": { - "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", - "type": "boolean" + "clientConfig": { + "description": "ClientConfig holds the connection parameters for the webhook required", + "$ref": "#/definitions/v1alpha1.WebhookClientConfig" }, - "nonResourceRules": { - "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.NonResourceRule" - } + "throttle": { + "description": "Throttle holds the options for throttling the webhook", + "$ref": "#/definitions/v1alpha1.WebhookThrottleConfig" + } + } + }, + "extensions.v1beta1.HostPortRange": { + "description": "HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined. Deprecated: use HostPortRange from policy API Group instead.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int32" }, - "resourceRules": { - "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.ResourceRule" - } + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int32" + } + } + }, + "runtime.RawExtension": { + "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "required": [ + "Raw" + ], + "properties": { + "Raw": { + "description": "Raw is the underlying serialization of this object.", + "type": "string", + "format": "byte" } } }, "v1.FlexVolumeSource": { - "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", "required": [ "driver" ], @@ -61216,7 +81661,7 @@ } }, "v1beta2.Deployment": { - "description": "Deployment enables declarative updates for Pods and ReplicaSets.", + "description": "DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -61254,6 +81699,13 @@ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "dryRun": { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "type": "array", + "items": { + "type": "string" + } + }, "gracePeriodSeconds": { "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.", "type": "integer", @@ -61272,7 +81724,7 @@ "$ref": "#/definitions/v1.Preconditions" }, "propagationPolicy": { - "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.", + "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.", "type": "string" } }, @@ -61285,13 +81737,38 @@ { "group": "admission.k8s.io", "kind": "DeleteOptions", - "version": "v1alpha1" + "version": "v1beta1" }, { "group": "admissionregistration.k8s.io", "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "admissionregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiextensions.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1" + }, + { + "group": "apiregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "apps", + "kind": "DeleteOptions", + "version": "v1" + }, { "group": "apps", "kind": "DeleteOptions", @@ -61302,6 +81779,11 @@ "kind": "DeleteOptions", "version": "v1beta2" }, + { + "group": "auditregistration.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "authentication.k8s.io", "kind": "DeleteOptions", @@ -61332,6 +81814,11 @@ "kind": "DeleteOptions", "version": "v2beta1" }, + { + "group": "autoscaling", + "kind": "DeleteOptions", + "version": "v2beta2" + }, { "group": "batch", "kind": "DeleteOptions", @@ -61353,12 +81840,17 @@ "version": "v1beta1" }, { - "group": "extensions", + "group": "coordination.k8s.io", "kind": "DeleteOptions", "version": "v1beta1" }, { - "group": "federation", + "group": "events.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, + { + "group": "extensions", "kind": "DeleteOptions", "version": "v1beta1" }, @@ -61397,6 +81889,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "scheduling.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "settings.k8s.io", "kind": "DeleteOptions", @@ -61407,6 +81904,11 @@ "kind": "DeleteOptions", "version": "v1" }, + { + "group": "storage.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "storage.k8s.io", "kind": "DeleteOptions", @@ -61448,7 +81950,7 @@ } }, "externalName": { - "description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid DNS name and requires Type to be ExternalName.", + "description": "externalName is the external reference that kubedns or equivalent will return as a CNAME record for this service. No proxying will be involved. Must be a valid RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires Type to be ExternalName.", "type": "string" }, "externalTrafficPolicy": { @@ -61481,7 +81983,7 @@ "x-kubernetes-patch-strategy": "merge" }, "publishNotReadyAddresses": { - "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery. This field will replace the service.alpha.kubernetes.io/tolerate-unready-endpoints when that annotation is deprecated and all clients have been converted to use this field.", + "description": "publishNotReadyAddresses, when set to true, indicates that DNS implementations must publish the notReadyAddresses of subsets for the Endpoints associated with the Service. The default value is false. The primary use case for setting this field is to use a StatefulSet's Headless Service to propagate SRV records for its Pods without respect to their readiness for purpose of peer discovery.", "type": "boolean" }, "selector": { @@ -61509,50 +82011,24 @@ "description": "NamespaceStatus is information about the current status of a Namespace.", "properties": { "phase": { - "description": "Phase is the current lifecycle phase of the namespace. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#phases", + "description": "Phase is the current lifecycle phase of the namespace. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", "type": "string" } } }, - "v1beta2.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "v2beta2.MetricIdentifier": { + "description": "MetricIdentifier defines the name and optionally selector for a metric", "required": [ - "replicas" + "name" ], "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "type": "integer", - "format": "int32" - }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta2.ReplicaSetCondition" - }, - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "type": "integer", - "format": "int32" - }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "type": "integer", - "format": "int64" - }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "type": "integer", - "format": "int32" + "name": { + "description": "name is the name of the given metric", + "type": "string" }, - "replicas": { - "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", - "type": "integer", - "format": "int32" + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -61610,6 +82086,13 @@ "v1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -61646,30 +82129,54 @@ } } }, - "v1.EnvVarSource": { - "description": "EnvVarSource represents a source for the value of an EnvVar.", + "v1beta1.ClusterRoleBinding": { + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", + "required": [ + "roleRef" + ], "properties": { - "configMapKeyRef": { - "description": "Selects a key of a ConfigMap.", - "$ref": "#/definitions/v1.ConfigMapKeySelector" + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "fieldRef": { - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP.", - "$ref": "#/definitions/v1.ObjectFieldSelector" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "resourceFieldRef": { - "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.", - "$ref": "#/definitions/v1.ResourceFieldSelector" + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ObjectMeta" }, - "secretKeyRef": { - "description": "Selects a key of a secret in the pod's namespace", - "$ref": "#/definitions/v1.SecretKeySelector" + "roleRef": { + "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", + "$ref": "#/definitions/v1beta1.RoleRef" + }, + "subjects": { + "description": "Subjects holds references to the objects the role applies to.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Subject" + } } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBinding", + "version": "v1beta1" + } + ] }, "v1beta1.TokenReviewStatus": { "description": "TokenReviewStatus is the result of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is \"true\", the token is valid against the audience of the Kubernetes API server.", + "type": "array", + "items": { + "type": "string" + } + }, "authenticated": { "description": "Authenticated indicates that the token was associated with a known user.", "type": "boolean" @@ -61723,7 +82230,7 @@ "format": "int64" }, "deletionTimestamp": { - "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "type": "string", "format": "date-time" }, @@ -61818,6 +82325,110 @@ } ] }, + "v1.ISCSIVolumeSource": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + } + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "CHAP Secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "targetPortal": { + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, + "v1beta1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.VolumeAttachment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1beta1" + } + ] + }, + "v1beta1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "properties": { + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelector" + } + } + } + }, "v1alpha1.Initializer": { "description": "Initializer describes the name and the failure policy of an initializer, and what resources it applies to.", "required": [ @@ -61869,11 +82480,83 @@ } ] }, + "v1.ControllerRevision": { + "description": "ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", + "required": [ + "revision" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "data": { + "description": "Data is the serialized representation of the state.", + "$ref": "#/definitions/runtime.RawExtension" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "revision": { + "description": "Revision indicates the revision of the state represented by Data.", + "type": "integer", + "format": "int64" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevision", + "version": "v1" + } + ] + }, + "v1beta1.Webhook": { + "description": "Webhook describes an admission webhook and the resources and operations it applies to.", + "required": [ + "name", + "clientConfig" + ], + "properties": { + "clientConfig": { + "description": "ClientConfig defines how to communicate with the hook. Required", + "$ref": "#/definitions/admissionregistration.v1beta1.WebhookClientConfig" + }, + "failurePolicy": { + "description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.", + "type": "string" + }, + "name": { + "description": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.", + "type": "string" + }, + "namespaceSelector": { + "description": "NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the webhook on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "rules": { + "description": "Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.RuleWithOperations" + } + }, + "sideEffects": { + "description": "SideEffects states whether this webhookk has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.", + "type": "string" + } + } + }, "v1.ListMeta": { "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.", "properties": { "continue": { - "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", + "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.", "type": "string" }, "resourceVersion": { @@ -61886,6 +82569,19 @@ } } }, + "policy.v1beta1.AllowedHostPath": { + "description": "AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", + "properties": { + "pathPrefix": { + "description": "pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", + "type": "string" + }, + "readOnly": { + "description": "when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.", + "type": "boolean" + } + } + }, "v2beta1.HorizontalPodAutoscaler": { "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", "properties": { @@ -61977,15 +82673,34 @@ } } }, - "v1.ExecAction": { - "description": "ExecAction describes a \"run in container\" action.", + "v1.NetworkPolicyPeer": { + "description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed", "properties": { - "command": { - "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", - "type": "array", - "items": { - "type": "string" - } + "ipBlock": { + "description": "IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.", + "$ref": "#/definitions/v1.IPBlock" + }, + "namespaceSelector": { + "description": "Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.\n\nIf PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "podSelector": { + "description": "This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.\n\nIf NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.", + "$ref": "#/definitions/v1.LabelSelector" + } + } + }, + "v1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "properties": { + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "type": "string", + "format": "date-time" } } }, @@ -62141,6 +82856,10 @@ "metricName": { "description": "metricName is the name of the metric in question", "type": "string" + }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" } } }, @@ -62158,6 +82877,7 @@ } }, "v1beta1.NetworkPolicyPort": { + "description": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", "properties": { "port": { "description": "If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", @@ -62165,7 +82885,7 @@ "format": "int-or-string" }, "protocol": { - "description": "Optional. The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } @@ -62178,10 +82898,18 @@ "targetValue" ], "properties": { + "averageValue": { + "description": "averageValue is the target value of the average of the metric across all relevant pods (as a quantity)", + "type": "string" + }, "metricName": { "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" @@ -62192,36 +82920,22 @@ } } }, - "v1beta1.ResourceAttributes": { - "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "v1beta1.IPBlock": { + "description": "DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. \"192.168.1.1/24\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.", + "required": [ + "cidr" + ], "properties": { - "group": { - "description": "Group is the API Group of the Resource. \"*\" means all.", - "type": "string" - }, - "name": { - "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", - "type": "string" - }, - "namespace": { - "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", - "type": "string" - }, - "resource": { - "description": "Resource is one of the existing resource types. \"*\" means all.", - "type": "string" - }, - "subresource": { - "description": "Subresource is one of the existing resource types. \"\" means none.", - "type": "string" - }, - "verb": { - "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "cidr": { + "description": "CIDR is a string representing the IP Block Valid examples are \"192.168.1.1/24\"", "type": "string" }, - "version": { - "description": "Version is the API Version of the Resource. \"*\" means all.", - "type": "string" + "except": { + "description": "Except is a slice of CIDRs that should not be included within an IP Block Valid examples are \"192.168.1.1/24\" Except values will be rejected if they are outside the CIDR range", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -62333,88 +83047,85 @@ } } }, - "v1.ServerAddressByClientCIDR": { - "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", - "required": [ - "clientCIDR", - "serverAddress" - ], - "properties": { - "clientCIDR": { - "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", - "type": "string" - }, - "serverAddress": { - "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", - "type": "string" - } - } - }, - "v1.ISCSIVolumeSource": { - "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "v1beta1.EventSeries": { + "description": "EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.", "required": [ - "targetPortal", - "iqn", - "lun" + "count", + "lastObservedTime", + "state" ], "properties": { - "chapAuthDiscovery": { - "description": "whether support iSCSI Discovery CHAP authentication", - "type": "boolean" - }, - "chapAuthSession": { - "description": "whether support iSCSI Session CHAP authentication", - "type": "boolean" - }, - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", - "type": "string" - }, - "initiatorName": { - "description": "Custom iSCSI initiator name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", - "type": "string" - }, - "iqn": { - "description": "Target iSCSI Qualified Name.", - "type": "string" - }, - "iscsiInterface": { - "description": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", - "type": "string" - }, - "lun": { - "description": "iSCSI target lun number.", + "count": { + "description": "Number of occurrences in this series up to the last heartbeat time", "type": "integer", "format": "int32" }, - "portals": { - "description": "iSCSI target portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", - "type": "array", - "items": { - "type": "string" - } - }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", - "type": "boolean" + "lastObservedTime": { + "description": "Time when last Event from the series was seen before last heartbeat.", + "type": "string", + "format": "date-time" }, - "secretRef": { - "description": "CHAP secret for iSCSI target and initiator authentication", - "$ref": "#/definitions/v1.LocalObjectReference" + "state": { + "description": "Information whether this series is ongoing or finished.", + "type": "string" + } + } + }, + "v1.ServerAddressByClientCIDR": { + "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.", + "required": [ + "clientCIDR", + "serverAddress" + ], + "properties": { + "clientCIDR": { + "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.", + "type": "string" }, - "targetPortal": { - "description": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "serverAddress": { + "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.", "type": "string" } } }, - "v1beta1.CustomResourceDefinition": { - "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.", + "v1beta1.Event": { + "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", + "required": [ + "eventTime" + ], "properties": { + "action": { + "description": "What action was taken/failed regarding to the regarding object.", + "type": "string" + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "deprecatedCount": { + "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "type": "integer", + "format": "int32" + }, + "deprecatedFirstTimestamp": { + "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "type": "string", + "format": "date-time" + }, + "deprecatedLastTimestamp": { + "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "type": "string", + "format": "date-time" + }, + "deprecatedSource": { + "description": "Deprecated field assuring backward compatibility with core.v1 Event type", + "$ref": "#/definitions/v1.EventSource" + }, + "eventTime": { + "description": "Required. Time when this Event was first observed.", + "type": "string", + "format": "date-time" + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" @@ -62422,15 +83133,46 @@ "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, - "spec": { - "description": "Spec describes how the user wants the resources to appear", - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionSpec" + "note": { + "description": "Optional. A human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.", + "type": "string" }, - "status": { - "description": "Status indicates the actual state of the CustomResourceDefinition", - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionStatus" + "reason": { + "description": "Why the action was taken.", + "type": "string" + }, + "regarding": { + "description": "The object this Event is about. In most cases it's an Object reporting controller implements. E.g. ReplicaSetController implements ReplicaSets and this event is emitted because it acts on some changes in a ReplicaSet object.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "related": { + "description": "Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.", + "$ref": "#/definitions/v1.ObjectReference" + }, + "reportingController": { + "description": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.", + "type": "string" + }, + "reportingInstance": { + "description": "ID of the controller instance, e.g. `kubelet-xyzf`.", + "type": "string" + }, + "series": { + "description": "Data about the Event series this event represents or nil if it's a singleton Event.", + "$ref": "#/definitions/v1beta1.EventSeries" + }, + "type": { + "description": "Type of this event (Normal, Warning), new types could be added in the future.", + "type": "string" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "events.k8s.io", + "kind": "Event", + "version": "v1beta1" + } + ] }, "v1.HorizontalPodAutoscaler": { "description": "configuration of a horizontal pod autoscaler.", @@ -62498,6 +83240,18 @@ } ] }, + "v1alpha1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", + "properties": { + "clusterRoleSelectors": { + "description": "ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules. If any of the selectors match, then the ClusterRole's permissions will be added", + "type": "array", + "items": { + "$ref": "#/definitions/v1.LabelSelector" + } + } + } + }, "v1beta1.RoleRef": { "description": "RoleRef contains information that points to the role being used", "required": [ @@ -62561,8 +83315,7 @@ "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.", "required": [ "name", - "versions", - "serverAddressByClientCIDRs" + "versions" ], "properties": { "apiVersion": { @@ -62604,6 +83357,25 @@ } ] }, + "v1beta1.PodDisruptionBudgetSpec": { + "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "properties": { + "maxUnavailable": { + "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", + "type": "object", + "format": "int-or-string" + }, + "minAvailable": { + "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", + "type": "object", + "format": "int-or-string" + }, + "selector": { + "description": "Label query over pods whose evictions are managed by the disruption budget.", + "$ref": "#/definitions/v1.LabelSelector" + } + } + }, "v1.Role": { "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", "required": [ @@ -62642,9 +83414,10 @@ "description": "ResourceQuotaStatus defines the enforced hard limits and observed use.", "properties": { "hard": { - "description": "Hard is the set of enforced hard limits for each named resource. More info: https://git.k8s.io/community/contributors/design-proposals/admission_control_resource_quota.md", + "description": "Hard is the set of enforced hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } }, @@ -62652,6 +83425,7 @@ "description": "Used is the current observed total usage of the resource in the namespace.", "type": "object", "additionalProperties": { + "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and Int64() accessors.\n\nThe serialization format is:\n\n ::= \n (Note that may be empty, from the \"\" case in .)\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n ::= \"e\" | \"E\" \n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.", "type": "string" } } @@ -62691,10 +83465,58 @@ } ] }, + "policy.v1beta1.IDRange": { + "description": "IDRange provides a min/max of an allowed range of IDs.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" + } + } + }, + "v2beta2.HorizontalPodAutoscalerSpec": { + "description": "HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.", + "required": [ + "scaleTargetRef", + "maxReplicas" + ], + "properties": { + "maxReplicas": { + "description": "maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.", + "type": "integer", + "format": "int32" + }, + "metrics": { + "description": "metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.MetricSpec" + } + }, + "minReplicas": { + "description": "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod.", + "type": "integer", + "format": "int32" + }, + "scaleTargetRef": { + "description": "scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.", + "$ref": "#/definitions/v2beta2.CrossVersionObjectReference" + } + } + }, "v1alpha1.ClusterRoleBinding": { "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -62730,34 +83552,73 @@ } ] }, - "v1.LocalObjectReference": { - "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "v1alpha1.PolicyRule": { + "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "required": [ + "verbs" + ], "properties": { - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", - "type": "string" + "apiGroups": { + "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "nonResourceURLs": { + "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", + "type": "array", + "items": { + "type": "string" + } + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", + "type": "array", + "items": { + "type": "string" + } + }, + "verbs": { + "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", + "type": "array", + "items": { + "type": "string" + } } } }, - "runtime.RawExtension": { - "description": "RawExtension is used to hold extensions in external versions.\n\nTo use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.\n\n// Internal package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.Object `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// External package: type MyAPIObject struct {\n\truntime.TypeMeta `json:\",inline\"`\n\tMyPlugin runtime.RawExtension `json:\"myPlugin\"`\n} type PluginA struct {\n\tAOption string `json:\"aOption\"`\n}\n\n// On the wire, the JSON will look something like this: {\n\t\"kind\":\"MyAPIObject\",\n\t\"apiVersion\":\"v1\",\n\t\"myPlugin\": {\n\t\t\"kind\":\"PluginA\",\n\t\t\"aOption\":\"foo\",\n\t},\n}\n\nSo what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)", + "policy.v1beta1.AllowedFlexVolume": { + "description": "AllowedFlexVolume represents a single Flexvolume that is allowed to be used.", "required": [ - "Raw" + "driver" ], "properties": { - "Raw": { - "description": "Raw is the underlying serialization of this object.", - "type": "string", - "format": "byte" + "driver": { + "description": "driver is the name of the Flexvolume driver.", + "type": "string" } } }, - "v1beta1.ClusterRoleBinding": { - "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject.", - "required": [ - "subjects", - "roleRef" - ], + "v1beta2.RollingUpdateStatefulSetStrategy": { + "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", + "properties": { + "partition": { + "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", + "type": "integer", + "format": "int32" + } + } + }, + "v1.APIService": { + "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -62768,39 +83629,25 @@ "type": "string" }, "metadata": { - "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" }, - "roleRef": { - "description": "RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.", - "$ref": "#/definitions/v1beta1.RoleRef" + "spec": { + "description": "Spec contains information for locating and communicating with a server", + "$ref": "#/definitions/v1.APIServiceSpec" }, - "subjects": { - "description": "Subjects holds references to the objects the role applies to.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.Subject" - } + "status": { + "description": "Status contains derived information about an API server", + "$ref": "#/definitions/v1.APIServiceStatus" } }, "x-kubernetes-group-version-kind": [ { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBinding", - "version": "v1beta1" + "group": "apiregistration.k8s.io", + "kind": "APIService", + "version": "v1" } ] }, - "v1beta2.RollingUpdateStatefulSetStrategy": { - "description": "RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.", - "properties": { - "partition": { - "description": "Partition indicates the ordinal at which the StatefulSet should be partitioned. Default value is 0.", - "type": "integer", - "format": "int32" - } - } - }, "v1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -62839,6 +83686,37 @@ } } }, + "v1.FlexPersistentVolumeSource": { + "description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/v1.SecretReference" + } + } + }, "v1.ServiceList": { "description": "ServiceList holds a list of services.", "required": [ @@ -62965,6 +83843,40 @@ } ] }, + "v1.ControllerRevisionList": { + "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of ControllerRevisions", + "type": "array", + "items": { + "$ref": "#/definitions/v1.ControllerRevision" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevisionList", + "version": "v1" + } + ] + }, "v1.LimitRange": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { @@ -62993,21 +83905,37 @@ } ] }, - "v1beta1.SupplementalGroupsStrategyOptions": { - "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.", + "v1.StatefulSetList": { + "description": "StatefulSetList is a collection of StatefulSets.", + "required": [ + "items" + ], "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { "type": "array", "items": { - "$ref": "#/definitions/v1beta1.IDRange" + "$ref": "#/definitions/v1.StatefulSet" } }, - "rule": { - "description": "Rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "StatefulSetList", + "version": "v1" + } + ] }, "v1beta1.ControllerRevision": { "description": "DEPRECATED - This group version of ControllerRevision is deprecated by apps/v1beta2/ControllerRevision. See the release notes for more information. ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.", @@ -63049,7 +83977,7 @@ "description": "NamespaceSpec describes the attributes on a Namespace.", "properties": { "finalizers": { - "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://git.k8s.io/community/contributors/design-proposals/namespaces.md#finalizers", + "description": "Finalizers is an opaque list of values that must be empty to permanently remove object from storage. More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/", "type": "array", "items": { "type": "string" @@ -63057,6 +83985,23 @@ } } }, + "v2beta2.ResourceMetricStatus": { + "description": "ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source.", + "required": [ + "name", + "current" + ], + "properties": { + "current": { + "description": "current contains the current value for the given metric", + "$ref": "#/definitions/v2beta2.MetricValueStatus" + }, + "name": { + "description": "Name is the name of the resource in question.", + "type": "string" + } + } + }, "v1.ServiceAccountList": { "description": "ServiceAccountList is a list of ServiceAccount objects", "required": [ @@ -63091,38 +84036,91 @@ } ] }, - "v1.CephFSVolumeSource": { - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "v1.DeploymentSpec": { + "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ - "monitors" + "selector", + "template" ], "properties": { - "monitors": { - "description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "type": "array", - "items": { - "type": "string" - } - }, - "path": { - "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", - "type": "string" + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" }, - "readOnly": { - "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "paused": { + "description": "Indicates that the deployment is paused.", "type": "boolean" }, - "secretFile": { - "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "progressDeadlineSeconds": { + "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", + "type": "integer", + "format": "int32" + }, + "replicas": { + "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "strategy": { + "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", + "$ref": "#/definitions/v1.DeploymentStrategy" + }, + "template": { + "description": "Template describes the pods that will be created.", + "$ref": "#/definitions/v1.PodTemplateSpec" + } + } + }, + "policy.v1beta1.PodSecurityPolicy": { + "description": "PodSecurityPolicy governs the ability to make requests that affect the Security Context that will be applied to a pod and container.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "secretRef": { - "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", - "$ref": "#/definitions/v1.LocalObjectReference" + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "user": { - "description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the policy enforced.", + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicySpec" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodSecurityPolicy", + "version": "v1beta1" + } + ] + }, + "v1alpha1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", + "properties": { + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "type": "string", + "format": "date-time" } } }, @@ -63136,6 +84134,15 @@ } } }, + "v1.VolumeAttachmentSource": { + "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.", + "properties": { + "persistentVolumeName": { + "description": "Name of the persistent volume to attach.", + "type": "string" + } + } + }, "v1beta2.StatefulSetUpdateStrategy": { "description": "StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.", "properties": { @@ -63149,6 +84156,42 @@ } } }, + "v1.PersistentVolumeClaimSpec": { + "description": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", + "properties": { + "accessModes": { + "description": "AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1", + "type": "array", + "items": { + "type": "string" + } + }, + "dataSource": { + "description": "This field requires the VolumeSnapshotDataSource alpha feature gate to be enabled and currently VolumeSnapshot is the only supported data source. If the provisioner can support VolumeSnapshot data source, it will create a new volume and data will be restored to the volume at the same time. If the provisioner does not support VolumeSnapshot data source, volume will not be created and the failure will be reported as an event. In the future, we plan to support more data source types and the behavior of the provisioner may change.", + "$ref": "#/definitions/v1.TypedLocalObjectReference" + }, + "resources": { + "description": "Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources", + "$ref": "#/definitions/v1.ResourceRequirements" + }, + "selector": { + "description": "A label query over volumes to consider for binding.", + "$ref": "#/definitions/v1.LabelSelector" + }, + "storageClassName": { + "description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1", + "type": "string" + }, + "volumeMode": { + "description": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is a beta feature.", + "type": "string" + }, + "volumeName": { + "description": "VolumeName is the binding reference to the PersistentVolume backing this claim.", + "type": "string" + } + } + }, "v1beta1.CronJobList": { "description": "CronJobList is a collection of cron jobs.", "required": [ @@ -63217,29 +84260,6 @@ } ] }, - "v1beta1.IngressSpec": { - "description": "IngressSpec describes the Ingress the user wishes to exist.", - "properties": { - "backend": { - "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", - "$ref": "#/definitions/v1beta1.IngressBackend" - }, - "rules": { - "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressRule" - } - }, - "tls": { - "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IngressTLS" - } - } - } - }, "v1.APIVersions": { "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.", "required": [ @@ -63310,6 +84330,40 @@ } ] }, + "policy.v1beta1.PodSecurityPolicyList": { + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.PodSecurityPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "policy", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" + } + ] + }, "v1.TokenReview": { "description": "TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.", "required": [ @@ -63369,46 +84423,37 @@ } } }, - "v1alpha1.PolicyRule": { - "description": "PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.", + "v1.LocalObjectReference": { + "description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", + "properties": { + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + } + } + }, + "v1.GlusterfsPersistentVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "required": [ - "verbs" + "endpoints", + "path" ], "properties": { - "apiGroups": { - "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.", - "type": "array", - "items": { - "type": "string" - } - }, - "nonResourceURLs": { - "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path This name is intentionally different than the internal type so that the DefaultConvert works nicely and because the ordering may be different. Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding. Rules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.", - "type": "array", - "items": { - "type": "string" - } + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.", - "type": "array", - "items": { - "type": "string" - } + "endpointsNamespace": { + "description": "EndpointsNamespace is the namespace that contains Glusterfs endpoint. If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" }, - "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources.", - "type": "array", - "items": { - "type": "string" - } + "path": { + "description": "Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" }, - "verbs": { - "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.", - "type": "array", - "items": { - "type": "string" - } + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" } } }, @@ -63497,35 +84542,6 @@ } ] }, - "v1beta1.APIServiceCondition": { - "required": [ - "type", - "status" - ], - "properties": { - "lastTransitionTime": { - "description": "Last time the condition transitioned from one status to another.", - "type": "string", - "format": "date-time" - }, - "message": { - "description": "Human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "Unique, one-word, CamelCase reason for the condition's last transition.", - "type": "string" - }, - "status": { - "description": "Status is the status of the condition. Can be True, False, Unknown.", - "type": "string" - }, - "type": { - "description": "Type is the type of the condition.", - "type": "string" - } - } - }, "extensions.v1beta1.DeploymentRollback": { "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", "required": [ @@ -63565,46 +84581,8 @@ } ] }, - "v1beta1.DaemonSetSpec": { - "description": "DaemonSetSpec is the specification of a daemon set.", - "required": [ - "template" - ], - "properties": { - "minReadySeconds": { - "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", - "type": "integer", - "format": "int32" - }, - "revisionHistoryLimit": { - "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", - "type": "integer", - "format": "int32" - }, - "selector": { - "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", - "$ref": "#/definitions/v1.LabelSelector" - }, - "template": { - "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", - "$ref": "#/definitions/v1.PodTemplateSpec" - }, - "templateGeneration": { - "description": "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.", - "type": "integer", - "format": "int64" - }, - "updateStrategy": { - "description": "An update strategy to replace existing DaemonSet pods with new pods.", - "$ref": "#/definitions/v1beta1.DaemonSetUpdateStrategy" - } - } - }, "v1.Endpoints": { "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", - "required": [ - "subsets" - ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -63634,15 +84612,6 @@ } ] }, - "v1.SessionAffinityConfig": { - "description": "SessionAffinityConfig represents the configurations of session affinity.", - "properties": { - "clientIP": { - "description": "clientIP contains the configurations of Client IP based session affinity.", - "$ref": "#/definitions/v1.ClientIPConfig" - } - } - }, "v1.PortworxVolumeSource": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "required": [ @@ -63697,6 +84666,18 @@ } ] }, + "v1.PodReadinessGate": { + "description": "PodReadinessGate contains the reference to a pod condition", + "required": [ + "conditionType" + ], + "properties": { + "conditionType": { + "description": "ConditionType refers to a condition in the pod's condition list with matching type.", + "type": "string" + } + } + }, "v1.APIResourceList": { "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", "required": [ @@ -63732,6 +84713,25 @@ } ] }, + "extensions.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use RunAsGroupStrategyOptions from policy API Group instead.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", + "type": "string" + } + } + }, "v1.PodTemplateList": { "description": "PodTemplateList is a list of PodTemplates.", "required": [ @@ -63766,17 +84766,8 @@ } ] }, - "v1beta1.AllowedHostPath": { - "description": "defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.", - "properties": { - "pathPrefix": { - "description": "is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path.\n\nExamples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`", - "type": "string" - } - } - }, "v1.OwnerReference": { - "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", + "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", "required": [ "apiVersion", "kind", @@ -63845,7 +84836,7 @@ ] }, "v1.GitRepoVolumeSource": { - "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.", "required": [ "repository" ], @@ -63864,6 +84855,27 @@ } } }, + "v1.ServiceAccountTokenProjection": { + "description": "ServiceAccountTokenProjection represents a projected service account token volume. This projection can be used to insert a service account token into the pods runtime filesystem for use against APIs (Kubernetes API Server or otherwise).", + "required": [ + "path" + ], + "properties": { + "audience": { + "description": "Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.", + "type": "string" + }, + "expirationSeconds": { + "description": "ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.", + "type": "integer", + "format": "int64" + }, + "path": { + "description": "Path is the path relative to the mount point of the file to project the token into.", + "type": "string" + } + } + }, "v1.EnvVar": { "description": "EnvVar represents an environment variable present in a Container.", "required": [ @@ -63935,6 +84947,25 @@ } } }, + "policy.v1beta1.RunAsUserStrategyOptions": { + "description": "RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.", + "required": [ + "rule" + ], + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsUser values that may be set.", + "type": "string" + } + } + }, "extensions.v1beta1.DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", "properties": { @@ -63980,33 +85011,76 @@ } } }, - "v1beta1.JSONSchemaPropsOrBool": { - "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "v1beta1.CronJobSpec": { + "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", "required": [ - "Allows", - "Schema" + "schedule", + "jobTemplate" ], "properties": { - "Allows": { - "type": "boolean" + "concurrencyPolicy": { + "description": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", + "type": "string" }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" + "failedJobsHistoryLimit": { + "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", + "type": "integer", + "format": "int32" + }, + "jobTemplate": { + "description": "Specifies the job that will be created when executing a CronJob.", + "$ref": "#/definitions/v1beta1.JobTemplateSpec" + }, + "schedule": { + "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", + "type": "string" + }, + "startingDeadlineSeconds": { + "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", + "type": "integer", + "format": "int64" + }, + "successfulJobsHistoryLimit": { + "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", + "type": "integer", + "format": "int32" + }, + "suspend": { + "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", + "type": "boolean" } } }, - "v1beta1.ServiceReference": { - "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "v1beta1.CertificateSigningRequestList": { + "required": [ + "items" + ], "properties": { - "name": { - "description": "Name is the name of the service", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "namespace": { - "description": "Namespace is the namespace of the service", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CertificateSigningRequest" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "certificates.k8s.io", + "kind": "CertificateSigningRequestList", + "version": "v1beta1" + } + ] }, "v1beta1.SelfSubjectAccessReview": { "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", @@ -64042,6 +85116,25 @@ } ] }, + "extensions.v1beta1.IDRange": { + "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", + "required": [ + "min", + "max" + ], + "properties": { + "max": { + "description": "max is the end of the range, inclusive.", + "type": "integer", + "format": "int64" + }, + "min": { + "description": "min is the start of the range, inclusive.", + "type": "integer", + "format": "int64" + } + } + }, "v1beta1.DaemonSetList": { "description": "DaemonSetList is a collection of daemon sets.", "required": [ @@ -64076,6 +85169,38 @@ } ] }, + "v2beta2.HorizontalPodAutoscaler": { + "description": "HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.", + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerSpec" + }, + "status": { + "description": "status is the current information about the autoscaler.", + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "HorizontalPodAutoscaler", + "version": "v2beta2" + } + ] + }, "v1beta1.StatefulSetStatus": { "description": "StatefulSetStatus represents the current state of a StatefulSet.", "required": [ @@ -64087,6 +85212,15 @@ "type": "integer", "format": "int32" }, + "conditions": { + "description": "Represents the latest available observations of a statefulset's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.StatefulSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", "type": "integer", @@ -64123,7 +85257,7 @@ } }, "v1beta1.NetworkPolicyEgressRule": { - "description": "NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", + "description": "DEPRECATED 1.9 - This group version of NetworkPolicyEgressRule is deprecated by networking/v1/NetworkPolicyEgressRule. NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8", "properties": { "ports": { "description": "List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.", @@ -64141,6 +85275,19 @@ } } }, + "v1beta1.CustomResourceSubresources": { + "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", + "properties": { + "scale": { + "description": "Scale denotes the scale subresource for CustomResources", + "$ref": "#/definitions/v1beta1.CustomResourceSubresourceScale" + }, + "status": { + "description": "Status denotes the status subresource for CustomResources", + "type": "object" + } + } + }, "v2beta1.ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "required": [ @@ -64149,6 +85296,10 @@ "currentValue" ], "properties": { + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "type": "string" + }, "currentValue": { "description": "currentValue is the current value of the metric (as a quantity).", "type": "string" @@ -64157,76 +85308,97 @@ "description": "metricName is the name of the metric in question.", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "target": { "description": "target is the described Kubernetes object.", "$ref": "#/definitions/v2beta1.CrossVersionObjectReference" } } }, - "v1.Binding": { - "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", + "v1.HorizontalPodAutoscalerList": { + "description": "list of horizontal pod autoscaler objects.", "required": [ - "target" + "items" ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "list of horizontal pod autoscaler objects.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + } + }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "target": { - "description": "The target object that you want to bind to the standard object.", - "$ref": "#/definitions/v1.ObjectReference" + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" } }, "x-kubernetes-group-version-kind": [ { - "group": "", - "kind": "Binding", + "group": "autoscaling", + "kind": "HorizontalPodAutoscalerList", "version": "v1" } ] }, - "v1alpha1.ExternalAdmissionHookConfiguration": { - "description": "ExternalAdmissionHookConfiguration describes the configuration of initializers.", + "v1.Binding": { + "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.", + "required": [ + "target" + ], "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "externalAdmissionHooks": { - "description": "ExternalAdmissionHooks is a list of external admission webhooks and the affected resources and operations.", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.ExternalAdmissionHook" - }, - "x-kubernetes-patch-merge-key": "name", - "x-kubernetes-patch-strategy": "merge" - }, "kind": { "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" + }, + "target": { + "description": "The target object that you want to bind to the standard object.", + "$ref": "#/definitions/v1.ObjectReference" } }, "x-kubernetes-group-version-kind": [ { - "group": "admissionregistration.k8s.io", - "kind": "ExternalAdmissionHookConfiguration", - "version": "v1alpha1" + "group": "", + "kind": "Binding", + "version": "v1" } ] }, + "v1beta1.CustomResourceConversion": { + "description": "CustomResourceConversion describes how to convert different versions of a CR.", + "required": [ + "strategy" + ], + "properties": { + "strategy": { + "description": "`strategy` specifies the conversion strategy. Allowed values are: - `None`: The converter only change the apiVersion and would not touch any other field in the CR. - `Webhook`: API Server will call to an external webhook to do the conversion. Additional information is needed for this option.", + "type": "string" + }, + "webhookClientConfig": { + "description": "`webhookClientConfig` is the instructions for how to call the webhook if strategy is `Webhook`. This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/apiextensions.v1beta1.WebhookClientConfig" + } + } + }, "v1beta2.DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ @@ -64262,39 +85434,22 @@ } } }, - "v1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "v2beta2.ResourceMetricSource": { + "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", "required": [ - "rules" + "name", + "target" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "name": { + "description": "name is the name of the resource in question.", "type": "string" }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ObjectMeta" - }, - "rules": { - "description": "Rules holds all the PolicyRules for this ClusterRole", - "type": "array", - "items": { - "$ref": "#/definitions/v1.PolicyRule" - } - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRole", - "version": "v1" + "target": { + "description": "target specifies the target value for the given metric", + "$ref": "#/definitions/v2beta2.MetricTarget" } - ] + } }, "v1.VsphereVirtualDiskVolumeSource": { "description": "Represents a vSphere volume resource.", @@ -64376,28 +85531,57 @@ "format": "int-or-string" }, "protocol": { - "description": "The protocol (TCP or UDP) which traffic must match. If not specified, this field defaults to TCP.", + "description": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "type": "string" } } }, - "v1beta1.SubjectAccessReviewStatus": { - "description": "SubjectAccessReviewStatus", + "v1.DeploymentList": { + "description": "DeploymentList is a list of Deployments.", "required": [ - "allowed" + "items" ], "properties": { - "allowed": { - "description": "Allowed is required. True if the action would be allowed, false otherwise.", - "type": "boolean" - }, - "evaluationError": { - "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" }, - "reason": { - "description": "Reason is optional. It indicates why a request was allowed or denied.", + "items": { + "description": "Items is the list of Deployments.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Deployment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "description": "Standard list metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DeploymentList", + "version": "v1" + } + ] + }, + "v1alpha1.WebhookThrottleConfig": { + "description": "WebhookThrottleConfig holds the configuration for throttling events", + "properties": { + "burst": { + "description": "ThrottleBurst is the maximum number of events sent at the same moment default 15 QPS", + "type": "integer", + "format": "int64" + }, + "qps": { + "description": "ThrottleQPS maximum number of batches per second default 10 QPS", + "type": "integer", + "format": "int64" } } }, @@ -64425,7 +85609,6 @@ "v1beta1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -64461,6 +85644,33 @@ } ] }, + "v1beta1.VolumeAttachmentStatus": { + "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.", + "required": [ + "attached" + ], + "properties": { + "attachError": { + "description": "The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeError" + }, + "attached": { + "description": "Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "boolean" + }, + "attachmentMetadata": { + "description": "Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "detachError": { + "description": "The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.", + "$ref": "#/definitions/v1beta1.VolumeError" + } + } + }, "v1.ContainerStateTerminated": { "description": "ContainerStateTerminated is a terminated state of a container.", "required": [ @@ -64501,22 +85711,6 @@ } } }, - "v1beta1.IngressTLS": { - "description": "IngressTLS describes the transport layer security associated with an Ingress.", - "properties": { - "hosts": { - "description": "Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.", - "type": "array", - "items": { - "type": "string" - } - }, - "secretName": { - "description": "SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL routing based on SNI hostname alone. If the SNI host in a listener conflicts with the \"Host\" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.", - "type": "string" - } - } - }, "v1beta1.StorageClass": { "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.", "required": [ @@ -64527,6 +85721,13 @@ "description": "AllowVolumeExpansion shows whether the storage class allow volume expand", "type": "boolean" }, + "allowedTopologies": { + "description": "Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.TopologySelectorTerm" + } + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -64560,6 +85761,10 @@ "reclaimPolicy": { "description": "Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.", "type": "string" + }, + "volumeBindingMode": { + "description": "VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.", + "type": "string" } }, "x-kubernetes-group-version-kind": [ @@ -64571,7 +85776,7 @@ ] }, "v1.PodStatus": { - "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", + "description": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system, especially if the node that hosts the pod cannot contact the control plane.", "properties": { "conditions": { "description": "Current service state of pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", @@ -64604,8 +85809,12 @@ "description": "A human readable message indicating details about why the pod is in this condition.", "type": "string" }, + "nominatedNodeName": { + "description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.", + "type": "string" + }, "phase": { - "description": "Current condition of the pod. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", + "description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase", "type": "string" }, "podIP": { @@ -64613,7 +85822,7 @@ "type": "string" }, "qosClass": { - "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md", + "description": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", "type": "string" }, "reason": { @@ -64638,6 +85847,15 @@ "type": "integer", "format": "int32" }, + "conditions": { + "description": "Represents the latest available observations of a statefulset's current state.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta2.StatefulSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, "currentReplicas": { "description": "currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.", "type": "integer", @@ -64673,22 +85891,26 @@ } } }, - "v1beta1.PodDisruptionBudgetSpec": { - "description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", + "v1beta1.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "properties": { - "maxUnavailable": { - "description": "An eviction is allowed if at most \"maxUnavailable\" pods selected by \"selector\" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with \"minAvailable\".", - "type": "object", - "format": "int-or-string" + "minReadySeconds": { + "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", + "type": "integer", + "format": "int32" }, - "minAvailable": { - "description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".", - "type": "object", - "format": "int-or-string" + "replicas": { + "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" }, "selector": { - "description": "Label query over pods whose evictions are managed by the disruption budget.", + "description": "Selector is a label query over pods that should match the replica count. If the selector is empty, it is defaulted to the labels present on the pod template. Label keys and values that must match in order to be controlled by this replica set. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" } } }, @@ -64824,32 +86046,6 @@ } ] }, - "v1.ClientIPConfig": { - "description": "ClientIPConfig represents the configurations of Client IP based session affinity.", - "properties": { - "timeoutSeconds": { - "description": "timeoutSeconds specifies the seconds of ClientIP type session sticky time. The value must be >0 && <=86400(for 1 day) if ServiceAffinity == \"ClientIP\". Default value is 10800(for 3 hours).", - "type": "integer", - "format": "int32" - } - } - }, - "v1beta1.SELinuxStrategyOptions": { - "description": "SELinux Strategy Options defines the strategy type and any options used to create the strategy.", - "required": [ - "rule" - ], - "properties": { - "rule": { - "description": "type is the strategy that will dictate the allowable labels that may be set.", - "type": "string" - }, - "seLinuxOptions": { - "description": "seLinuxOptions required to run as; required for MustRunAs More info: https://git.k8s.io/community/contributors/design-proposals/security_context.md", - "$ref": "#/definitions/v1.SELinuxOptions" - } - } - }, "v1alpha1.ClusterRoleList": { "description": "ClusterRoleList is a collection of ClusterRoles", "required": [ @@ -64884,6 +86080,38 @@ } ] }, + "v1.ReplicaSet": { + "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ReplicaSetSpec" + }, + "status": { + "description": "Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.ReplicaSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ReplicaSet", + "version": "v1" + } + ] + }, "v1.NonResourceAttributes": { "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", "properties": { @@ -64897,43 +86125,40 @@ } } }, - "v1beta1.CronJobSpec": { - "description": "CronJobSpec describes how the job execution will look like and when it will actually run.", + "v1.TopologySelectorLabelRequirement": { + "description": "A topology selector requirement is a selector that matches given label. This is an alpha feature and may change in the future.", "required": [ - "schedule", - "jobTemplate" + "key", + "values" ], "properties": { - "concurrencyPolicy": { - "description": "Specifies how to treat concurrent executions of a Job. Defaults to Allow.", - "type": "string" - }, - "failedJobsHistoryLimit": { - "description": "The number of failed finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" - }, - "jobTemplate": { - "description": "Specifies the job that will be created when executing a CronJob.", - "$ref": "#/definitions/v1beta1.JobTemplateSpec" - }, - "schedule": { - "description": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "type": "string" - }, - "startingDeadlineSeconds": { - "description": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", - "type": "integer", - "format": "int64" + "key": { + "description": "The label key that the selector applies to.", + "type": "string" }, - "successfulJobsHistoryLimit": { - "description": "The number of successful finished jobs to retain. This is a pointer to distinguish between explicit zero and not specified. Defaults to 3.", - "type": "integer", - "format": "int32" + "values": { + "description": "An array of string values. One value must match the label to be selected. Each entry in Values is ORed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1alpha1.AuditSinkSpec": { + "description": "AuditSinkSpec holds the spec for the audit sink", + "required": [ + "policy", + "webhook" + ], + "properties": { + "policy": { + "description": "Policy defines the policy for selecting which events should be sent to the webhook required", + "$ref": "#/definitions/v1alpha1.Policy" }, - "suspend": { - "description": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", - "type": "boolean" + "webhook": { + "description": "Webhook to send events required", + "$ref": "#/definitions/v1alpha1.Webhook" } } }, @@ -64962,11 +86187,15 @@ ], "properties": { "name": { - "description": "Name is the name of the service Required", + "description": "`name` is the name of the service. Required", "type": "string" }, "namespace": { - "description": "Namespace is the namespace of the service Required", + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", "type": "string" } } @@ -65037,6 +86266,19 @@ } ] }, + "v1.DaemonSetUpdateStrategy": { + "description": "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.", + "properties": { + "rollingUpdate": { + "description": "Rolling update config params. Present only if type = \"RollingUpdate\".", + "$ref": "#/definitions/v1.RollingUpdateDaemonSet" + }, + "type": { + "description": "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.", + "type": "string" + } + } + }, "extensions.v1beta1.DeploymentStatus": { "description": "DeploymentStatus is the most recently observed status of the Deployment.", "properties": { @@ -65086,6 +86328,39 @@ } } }, + "v1beta1.MutatingWebhookConfiguration": { + "description": "MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "webhooks": { + "description": "Webhooks is a list of webhooks and the affected resources and operations.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.Webhook" + }, + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfiguration", + "version": "v1beta1" + } + ] + }, "v1.ResourceRule": { "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", "required": [ @@ -65107,7 +86382,7 @@ } }, "resources": { - "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources. \"*\" means all.", + "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", "type": "array", "items": { "type": "string" @@ -65147,40 +86422,6 @@ } } }, - "v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", - "required": [ - "items" - ], - "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is a list of ClusterRoleBindings", - "type": "array", - "items": { - "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" - } - }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "description": "Standard object's metadata.", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "ClusterRoleBindingList", - "version": "v1alpha1" - } - ] - }, "v1.ContainerImage": { "description": "Describe a container image", "required": [ @@ -65188,7 +86429,7 @@ ], "properties": { "names": { - "description": "Names by which this image is known. e.g. [\"gcr.io/google_containers/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", + "description": "Names by which this image is known. e.g. [\"k8s.gcr.io/hyperkube:v1.0.7\", \"dockerhub.io/google_containers/hyperkube:v1.0.7\"]", "type": "array", "items": { "type": "string" @@ -65263,59 +86504,21 @@ } } }, - "v1.NodeSystemInfo": { - "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "policy.v1beta1.RunAsGroupStrategyOptions": { + "description": "RunAsGroupStrategyOptions defines the strategy type and any options used to create the strategy.", "required": [ - "machineID", - "systemUUID", - "bootID", - "kernelVersion", - "osImage", - "containerRuntimeVersion", - "kubeletVersion", - "kubeProxyVersion", - "operatingSystem", - "architecture" + "rule" ], "properties": { - "architecture": { - "description": "The Architecture reported by the node", - "type": "string" - }, - "bootID": { - "description": "Boot ID reported by the node.", - "type": "string" - }, - "containerRuntimeVersion": { - "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", - "type": "string" - }, - "kernelVersion": { - "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", - "type": "string" - }, - "kubeProxyVersion": { - "description": "KubeProxy Version reported by the node.", - "type": "string" - }, - "kubeletVersion": { - "description": "Kubelet Version reported by the node.", - "type": "string" - }, - "machineID": { - "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", - "type": "string" - }, - "operatingSystem": { - "description": "The Operating System reported by the node", - "type": "string" - }, - "osImage": { - "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", - "type": "string" + "ranges": { + "description": "ranges are the allowed ranges of gids that may be used. If you would like to force a single gid then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/policy.v1beta1.IDRange" + } }, - "systemUUID": { - "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", + "rule": { + "description": "rule is the strategy that will dictate the allowable RunAsGroup values that may be set.", "type": "string" } } @@ -65354,6 +86557,65 @@ } ] }, + "v1beta1.RuleWithOperations": { + "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", + "properties": { + "apiGroups": { + "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", + "type": "array", + "items": { + "type": "string" + } + }, + "apiVersions": { + "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "type": "array", + "items": { + "type": "string" + } + }, + "operations": { + "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.", + "type": "array", + "items": { + "type": "string" + } + }, + "resources": { + "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", + "properties": { + "nameservers": { + "description": "A list of DNS name server IP addresses. This will be appended to the base nameservers generated from DNSPolicy. Duplicated nameservers will be removed.", + "type": "array", + "items": { + "type": "string" + } + }, + "options": { + "description": "A list of DNS resolver options. This will be merged with the base options generated from DNSPolicy. Duplicated entries will be removed. Resolution options given in Options will override those that appear in the base DNSPolicy.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodDNSConfigOption" + } + }, + "searches": { + "description": "A list of DNS search domains for host-name lookup. This will be appended to the base search paths generated from DNSPolicy. Duplicated search paths will be removed.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, "v1.PodCondition": { "description": "PodCondition contains details for the current condition of this pod.", "required": [ @@ -65384,7 +86646,7 @@ "type": "string" }, "type": { - "description": "Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", + "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions", "type": "string" } } @@ -65508,39 +86770,153 @@ } ] }, - "v1.HorizontalPodAutoscalerList": { - "description": "list of horizontal pod autoscaler objects.", + "v1.StatefulSetCondition": { + "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "required": [ - "items" + "type", + "status" ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of statefulset condition.", + "type": "string" + } + } + }, + "v1.ObjectReference": { + "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", "properties": { "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "description": "API version of the referent.", "type": "string" }, - "items": { - "description": "list of horizontal pod autoscaler objects.", + "fieldPath": { + "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "type": "string" + }, + "kind": { + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "type": "string" + }, + "namespace": { + "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "type": "string" + }, + "resourceVersion": { + "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", + "type": "string" + }, + "uid": { + "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "type": "string" + } + } + }, + "v1.CSIPersistentVolumeSource": { + "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)", + "required": [ + "driver", + "volumeHandle" + ], + "properties": { + "controllerPublishSecretRef": { + "description": "ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, + "driver": { + "description": "Driver is the name of the driver to use for this volume. Required.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\".", + "type": "string" + }, + "nodePublishSecretRef": { + "description": "NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, + "nodeStageSecretRef": { + "description": "NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed.", + "$ref": "#/definitions/v1.SecretReference" + }, + "readOnly": { + "description": "Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write).", + "type": "boolean" + }, + "volumeAttributes": { + "description": "Attributes of the volume to publish.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "volumeHandle": { + "description": "VolumeHandle is the unique volume name returned by the CSI volume plugin\u2019s CreateVolume to refer to the volume on all subsequent calls. Required.", + "type": "string" + } + } + }, + "extensions.v1beta1.FSGroupStrategyOptions": { + "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use FSGroupStrategyOptions from policy API Group instead.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.", "type": "array", "items": { - "$ref": "#/definitions/v1.HorizontalPodAutoscaler" + "$ref": "#/definitions/extensions.v1beta1.IDRange" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "rule": { + "description": "rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", "type": "string" - }, - "metadata": { - "description": "Standard list metadata.", - "$ref": "#/definitions/v1.ListMeta" } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "autoscaling", - "kind": "HorizontalPodAutoscalerList", - "version": "v1" + } + }, + "v2beta1.ExternalMetricStatus": { + "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", + "required": [ + "metricName", + "currentValue" + ], + "properties": { + "currentAverageValue": { + "description": "currentAverageValue is the current value of metric averaged over autoscaled pods.", + "type": "string" + }, + "currentValue": { + "description": "currentValue is the current value of the metric (as a quantity)", + "type": "string" + }, + "metricName": { + "description": "metricName is the name of a metric used for autoscaling in metric system.", + "type": "string" + }, + "metricSelector": { + "description": "metricSelector is used to identify a specific time series within a given metric.", + "$ref": "#/definitions/v1.LabelSelector" } - ] + } }, "v1beta1.CertificateSigningRequestSpec": { "description": "This information is immutable after the request is created. Only the Request and Usages fields can be set on creation, other fields are derived by Kubernetes and cannot be modified by users.", @@ -65587,16 +86963,81 @@ } } }, + "v1.CephFSVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "v1beta1.DaemonSetCondition": { + "description": "DaemonSetCondition describes the state of a DaemonSet at a certain point.", + "required": [ + "type", + "status" + ], + "properties": { + "lastTransitionTime": { + "description": "Last time the condition transitioned from one status to another.", + "type": "string", + "format": "date-time" + }, + "message": { + "description": "A human readable message indicating details about the transition.", + "type": "string" + }, + "reason": { + "description": "The reason for the condition's last transition.", + "type": "string" + }, + "status": { + "description": "Status of the condition, one of True, False, Unknown.", + "type": "string" + }, + "type": { + "description": "Type of DaemonSet condition.", + "type": "string" + } + } + }, "apps.v1beta1.RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { "maxSurge": { - "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new RC can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new RC can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", + "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is atmost 130% of desired pods.", "type": "object", "format": "int-or-string" }, "maxUnavailable": { - "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old RC can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old RC can be scaled down further, followed by scaling up the new RC, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", + "description": "The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.", "type": "object", "format": "int-or-string" } @@ -65618,39 +87059,49 @@ } } }, - "v1beta1.PodSecurityPolicyList": { - "description": "Pod Security Policy List is a list of PodSecurityPolicy objects.", + "v2beta2.HorizontalPodAutoscalerStatus": { + "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "required": [ - "items" + "currentReplicas", + "desiredReplicas", + "conditions" ], "properties": { - "apiVersion": { - "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", - "type": "string" + "conditions": { + "description": "conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.", + "type": "array", + "items": { + "$ref": "#/definitions/v2beta2.HorizontalPodAutoscalerCondition" + } }, - "items": { - "description": "Items is a list of schema objects.", + "currentMetrics": { + "description": "currentMetrics is the last read state of the metrics used by this autoscaler.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.PodSecurityPolicy" + "$ref": "#/definitions/v2beta2.MetricStatus" } }, - "kind": { - "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", - "type": "string" + "currentReplicas": { + "description": "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.", + "type": "integer", + "format": "int32" }, - "metadata": { - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", - "$ref": "#/definitions/v1.ListMeta" - } - }, - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "PodSecurityPolicyList", - "version": "v1beta1" + "desiredReplicas": { + "description": "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.", + "type": "integer", + "format": "int32" + }, + "lastScaleTime": { + "description": "lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.", + "type": "string", + "format": "date-time" + }, + "observedGeneration": { + "description": "observedGeneration is the most recent generation observed by this autoscaler.", + "type": "integer", + "format": "int64" } - ] + } }, "v1alpha1.PodPreset": { "description": "PodPreset is a policy resource that defines additional runtime requirements for a Pod.", @@ -65703,6 +87154,90 @@ } } }, + "v1.Preconditions": { + "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", + "properties": { + "uid": { + "description": "Specifies the target UID.", + "type": "string" + } + } + }, + "v1.APIServiceSpec": { + "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", + "required": [ + "service", + "groupPriorityMinimum", + "versionPriority" + ], + "properties": { + "caBundle": { + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", + "type": "string", + "format": "byte" + }, + "group": { + "description": "Group is the API group name this server hosts", + "type": "string" + }, + "groupPriorityMinimum": { + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "type": "integer", + "format": "int32" + }, + "insecureSkipTLSVerify": { + "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.", + "type": "boolean" + }, + "service": { + "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", + "$ref": "#/definitions/v1.ServiceReference" + }, + "version": { + "description": "Version is the API version this server hosts. For example, \"v1\"", + "type": "string" + }, + "versionPriority": { + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", + "type": "integer", + "format": "int32" + } + } + }, + "v1.SubjectAccessReview": { + "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds information about the request being evaluated", + "$ref": "#/definitions/v1.SubjectAccessReviewSpec" + }, + "status": { + "description": "Status is filled in by the server and indicates whether the request is allowed or not", + "$ref": "#/definitions/v1.SubjectAccessReviewStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SubjectAccessReview", + "version": "v1" + } + ] + }, "v1beta1.CustomResourceDefinitionList": { "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "required": [ @@ -65727,7 +87262,14 @@ "metadata": { "$ref": "#/definitions/v1.ListMeta" } - } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1beta1" + } + ] }, "v1.Toleration": { "description": "The pod this Toleration is attached to tolerates any taint that matches the triple using the matching operator .", @@ -65789,6 +87331,28 @@ } } }, + "v1.VolumeAttachmentSpec": { + "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.", + "required": [ + "attacher", + "source", + "nodeName" + ], + "properties": { + "attacher": { + "description": "Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().", + "type": "string" + }, + "nodeName": { + "description": "The node that the volume should be attached to.", + "type": "string" + }, + "source": { + "description": "Source represents the volume that should be attached.", + "$ref": "#/definitions/v1.VolumeAttachmentSource" + } + } + }, "v1beta1.StorageClassList": { "description": "StorageClassList is a collection of storage classes.", "required": [ @@ -65824,7 +87388,7 @@ ] }, "v1beta2.ReplicaSet": { - "description": "ReplicaSet represents the configuration of a ReplicaSet.", + "description": "DEPRECATED - This group version of ReplicaSet is deprecated by apps/v1/ReplicaSet. See the release notes for more information. ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -65870,6 +87434,37 @@ } } }, + "v2beta2.MetricValueStatus": { + "description": "MetricValueStatus holds the current value for a metric", + "properties": { + "averageUtilization": { + "description": "currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "type": "integer", + "format": "int32" + }, + "averageValue": { + "description": "averageValue is the current value of the average of the metric across all relevant pods (as a quantity)", + "type": "string" + }, + "value": { + "description": "value is the current value of the metric (as a quantity).", + "type": "string" + } + } + }, + "apiregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string" + } + } + }, "v1.AzureFileVolumeSource": { "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", "required": [ @@ -65904,6 +87499,27 @@ } } }, + "admissionregistration.v1beta1.ServiceReference": { + "description": "ServiceReference holds a reference to Service.legacy.k8s.io", + "required": [ + "namespace", + "name" + ], + "properties": { + "name": { + "description": "`name` is the name of the service. Required", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of the service. Required", + "type": "string" + }, + "path": { + "description": "`path` is an optional URL path which will be sent in any request to this service.", + "type": "string" + } + } + }, "v1.PodSpec": { "description": "PodSpec is a description of a pod.", "required": [ @@ -65932,10 +87548,18 @@ "x-kubernetes-patch-merge-key": "name", "x-kubernetes-patch-strategy": "merge" }, + "dnsConfig": { + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", + "$ref": "#/definitions/v1.PodDNSConfig" + }, "dnsPolicy": { - "description": "Set DNS policy for containers within the pod. One of 'ClusterFirstWithHostNet', 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\". To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.", "type": "string" }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links.", + "type": "boolean" + }, "hostAliases": { "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", "type": "array", @@ -65996,13 +87620,24 @@ "format": "int32" }, "priorityClassName": { - "description": "If specified, indicates the pod's priority. \"SYSTEM\" is a special keyword which indicates the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", "type": "string" }, + "readinessGates": { + "description": "If specified, all readiness gates will be evaluated for pod readiness. A pod is ready when all its containers are ready AND all conditions specified in the readiness gates have status equal to \"True\" More info: https://github.com/kubernetes/community/blob/master/keps/sig-network/0007-pod-ready%2B%2B.md", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PodReadinessGate" + } + }, "restartPolicy": { "description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "type": "string" }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://github.com/kubernetes/community/blob/master/keps/sig-node/0014-runtime-class.md This is an alpha feature and may change in the future.", + "type": "string" + }, "schedulerName": { "description": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.", "type": "string" @@ -66019,6 +87654,10 @@ "description": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/", "type": "string" }, + "shareProcessNamespace": { + "description": "Share a single process namespace between all of the containers in a pod. When this is set containers will be able to view and signal processes from other containers in the same pod, and the first process in each container will not be assigned PID 1. HostPID and ShareProcessNamespace cannot both be set. Optional: Default to false. This field is beta-level and may be disabled with the PodShareProcessNamespace feature.", + "type": "boolean" + }, "subdomain": { "description": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", "type": "string" @@ -66046,6 +87685,55 @@ } } }, + "v1.HTTPHeader": { + "description": "HTTPHeader describes a custom header to be used in HTTP probes", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "The header field name", + "type": "string" + }, + "value": { + "description": "The header field value", + "type": "string" + } + } + }, + "v1.DaemonSet": { + "description": "DaemonSet represents the configuration of a daemon set.", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.DaemonSetSpec" + }, + "status": { + "description": "The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status", + "$ref": "#/definitions/v1.DaemonSetStatus" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DaemonSet", + "version": "v1" + } + ] + }, "v1beta2.ReplicaSetList": { "description": "ReplicaSetList is a collection of ReplicaSets.", "required": [ @@ -66080,17 +87768,32 @@ } ] }, + "extensions.v1beta1.SupplementalGroupsStrategyOptions": { + "description": "SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.", + "properties": { + "ranges": { + "description": "ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.IDRange" + } + }, + "rule": { + "description": "rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.", + "type": "string" + } + } + }, "v1beta1.APIServiceSpec": { "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.", "required": [ "service", - "caBundle", "groupPriorityMinimum", "versionPriority" ], "properties": { "caBundle": { - "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.", + "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.", "type": "string", "format": "byte" }, @@ -66099,7 +87802,7 @@ "type": "string" }, "groupPriorityMinimum": { - "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is prefered by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", + "description": "GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s", "type": "integer", "format": "int32" }, @@ -66109,79 +87812,161 @@ }, "service": { "description": "Service is a reference to the service for this API server. It must communicate on port 443 If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled.", - "$ref": "#/definitions/v1beta1.ServiceReference" + "$ref": "#/definitions/apiregistration.v1beta1.ServiceReference" }, "version": { "description": "Version is the API version this server hosts. For example, \"v1\"", "type": "string" }, "versionPriority": { - "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) Since it's inside of a group, the number can be small, probably in the 10s.", + "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.", "type": "integer", "format": "int32" } } }, - "v1.TokenReviewSpec": { - "description": "TokenReviewSpec is a description of the token authentication request.", + "v1beta1.VolumeError": { + "description": "VolumeError captures an error encountered during a volume operation.", "properties": { - "token": { - "description": "Token is the opaque bearer token.", + "message": { + "description": "String detailing the error encountered during Attach or Detach operation. This string maybe logged, so it should not contain sensitive information.", "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "type": "string", + "format": "date-time" } } }, - "v1.ObjectReference": { - "description": "ObjectReference contains enough information to let you inspect or modify the referred object.", + "v1.NodeSystemInfo": { + "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", + "required": [ + "machineID", + "systemUUID", + "bootID", + "kernelVersion", + "osImage", + "containerRuntimeVersion", + "kubeletVersion", + "kubeProxyVersion", + "operatingSystem", + "architecture" + ], "properties": { - "apiVersion": { - "description": "API version of the referent.", + "architecture": { + "description": "The Architecture reported by the node", "type": "string" }, - "fieldPath": { - "description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", + "bootID": { + "description": "Boot ID reported by the node.", "type": "string" }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "containerRuntimeVersion": { + "description": "ContainerRuntime Version reported by the node through runtime remote API (e.g. docker://1.5.0).", "type": "string" }, - "name": { - "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", + "kernelVersion": { + "description": "Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).", "type": "string" }, - "namespace": { - "description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", + "kubeProxyVersion": { + "description": "KubeProxy Version reported by the node.", "type": "string" }, - "resourceVersion": { - "description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency", + "kubeletVersion": { + "description": "Kubelet Version reported by the node.", "type": "string" }, - "uid": { - "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", + "machineID": { + "description": "MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html", + "type": "string" + }, + "operatingSystem": { + "description": "The Operating System reported by the node", + "type": "string" + }, + "osImage": { + "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", + "type": "string" + }, + "systemUUID": { + "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-US/Red_Hat_Subscription_Management/1/html/RHSM/getting-system-uuid.html", "type": "string" } } }, - "v2beta1.ResourceMetricSource": { - "description": "ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.", + "v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", "required": [ - "name" + "volumeID" ], "properties": { - "name": { - "description": "name is the name of the resource in question.", + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", "type": "string" }, - "targetAverageUtilization": { - "description": "targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.", + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", "type": "integer", "format": "int32" }, - "targetAverageValue": { - "description": "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.", + "readOnly": { + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore", + "type": "string" + } + } + }, + "v1beta1.CustomResourceDefinitionVersion": { + "description": "CustomResourceDefinitionVersion describes a version for CRD.", + "required": [ + "name", + "served", + "storage" + ], + "properties": { + "additionalPrinterColumns": { + "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. Top-level and per-version columns are mutually exclusive. Per-version columns must not all be set to identical values (top-level columns should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature. NOTE: CRDs created prior to 1.13 populated the top-level additionalPrinterColumns field by default. To apply an update that changes to per-version additionalPrinterColumns, the top-level additionalPrinterColumns field must be explicitly set to null", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + } + }, + "name": { + "description": "Name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc.", "type": "string" + }, + "schema": { + "description": "Schema describes the schema for CustomResource used in validation, pruning, and defaulting. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/v1beta1.CustomResourceValidation" + }, + "served": { + "description": "Served is a flag enabling/disabling this version from being served via REST APIs", + "type": "boolean" + }, + "storage": { + "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version.", + "type": "boolean" + }, + "subresources": { + "description": "Subresources describes the subresources for CustomResource Top-level and per-version subresources are mutually exclusive. Per-version subresources must not all be set to identical values (top-level subresources should be used instead) This field is alpha-level and is only honored by servers that enable the CustomResourceWebhookConversion feature.", + "$ref": "#/definitions/v1beta1.CustomResourceSubresources" + } + } + }, + "v1.ExecAction": { + "description": "ExecAction describes a \"run in container\" action.", + "properties": { + "command": { + "description": "Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.", + "type": "array", + "items": { + "type": "string" + } } } }, @@ -66231,69 +88016,53 @@ } } }, - "apps.v1beta1.DeploymentSpec": { - "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", + "v1.ScaleIOPersistentVolumeSource": { + "description": "ScaleIOPersistentVolumeSource represents a persistent ScaleIO volume", "required": [ - "template" + "gateway", + "system", + "secretRef" ], "properties": { - "minReadySeconds": { - "description": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", - "type": "integer", - "format": "int32" + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Default is \"xfs\"", + "type": "string" }, - "paused": { - "description": "Indicates that the deployment is paused.", - "type": "boolean" + "gateway": { + "description": "The host address of the ScaleIO API Gateway.", + "type": "string" }, - "progressDeadlineSeconds": { - "description": "The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.", - "type": "integer", - "format": "int32" + "protectionDomain": { + "description": "The name of the ScaleIO Protection Domain for the configured storage.", + "type": "string" }, - "replicas": { - "description": "Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.", - "type": "integer", - "format": "int32" + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" }, - "revisionHistoryLimit": { - "description": "The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 2.", - "type": "integer", - "format": "int32" + "secretRef": { + "description": "SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.", + "$ref": "#/definitions/v1.SecretReference" }, - "rollbackTo": { - "description": "DEPRECATED. The config this deployment is rolling back to. Will be cleared after rollback is done.", - "$ref": "#/definitions/apps.v1beta1.RollbackConfig" + "sslEnabled": { + "description": "Flag to enable/disable SSL communication with Gateway, default false", + "type": "boolean" }, - "selector": { - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", - "$ref": "#/definitions/v1.LabelSelector" + "storageMode": { + "description": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.", + "type": "string" }, - "strategy": { - "description": "The deployment strategy to use to replace existing pods with new ones.", - "$ref": "#/definitions/apps.v1beta1.DeploymentStrategy" + "storagePool": { + "description": "The ScaleIO Storage Pool associated with the protection domain.", + "type": "string" }, - "template": { - "description": "Template describes the pods that will be created.", - "$ref": "#/definitions/v1.PodTemplateSpec" - } - } - }, - "v1beta1.JSONSchemaPropsOrStringArray": { - "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", - "required": [ - "Schema", - "Property" - ], - "properties": { - "Property": { - "type": "array", - "items": { - "type": "string" - } + "system": { + "description": "The name of the storage system as configured in ScaleIO.", + "type": "string" }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" + "volumeName": { + "description": "The name of a volume already created in the ScaleIO system that is associated with this volume source.", + "type": "string" } } }, @@ -66352,100 +88121,70 @@ } ] }, - "v1beta1.PodSecurityPolicySpec": { - "description": "Pod Security Policy Spec defines the policy enforced.", + "v1.DaemonSetList": { + "description": "DaemonSetList is a collection of daemon sets.", "required": [ - "seLinux", - "runAsUser", - "supplementalGroups", - "fsGroup" + "items" ], "properties": { - "allowPrivilegeEscalation": { - "description": "AllowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", - "type": "boolean" - }, - "allowedCapabilities": { - "description": "AllowedCapabilities is a list of capabilities that can be requested to add to the container. Capabilities in this field may be added at the pod author's discretion. You must not list a capability in both AllowedCapabilities and RequiredDropCapabilities.", - "type": "array", - "items": { - "type": "string" - } - }, - "allowedHostPaths": { - "description": "is a white list of allowed host paths. Empty indicates that all host paths may be used.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.AllowedHostPath" - } + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" }, - "defaultAddCapabilities": { - "description": "DefaultAddCapabilities is the default set of capabilities that will be added to the container unless the pod spec specifically drops the capability. You may not list a capabiility in both DefaultAddCapabilities and RequiredDropCapabilities.", + "items": { + "description": "A list of daemon sets.", "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/v1.DaemonSet" } }, - "defaultAllowPrivilegeEscalation": { - "description": "DefaultAllowPrivilegeEscalation controls the default setting for whether a process can gain more privileges than its parent process.", - "type": "boolean" - }, - "fsGroup": { - "description": "FSGroup is the strategy that will dictate what fs group is used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.FSGroupStrategyOptions" - }, - "hostIPC": { - "description": "hostIPC determines if the policy allows the use of HostIPC in the pod spec.", - "type": "boolean" - }, - "hostNetwork": { - "description": "hostNetwork determines if the policy allows the use of HostNetwork in the pod spec.", - "type": "boolean" - }, - "hostPID": { - "description": "hostPID determines if the policy allows the use of HostPID in the pod spec.", - "type": "boolean" - }, - "hostPorts": { - "description": "hostPorts determines which host port ranges are allowed to be exposed.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.HostPortRange" - } + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" }, - "privileged": { - "description": "privileged determines if a pod can request to be run as privileged.", - "type": "boolean" + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "DaemonSetList", + "version": "v1" + } + ] + }, + "v1beta1.ResourceAttributes": { + "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", + "properties": { + "group": { + "description": "Group is the API Group of the Resource. \"*\" means all.", + "type": "string" }, - "readOnlyRootFilesystem": { - "description": "ReadOnlyRootFilesystem when set to true will force containers to run with a read only root file system. If the container specifically requests to run with a non-read only root file system the PSP should deny the pod. If set to false the container may run with a read only root file system if it wishes but it will not be forced to.", - "type": "boolean" + "name": { + "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", + "type": "string" }, - "requiredDropCapabilities": { - "description": "RequiredDropCapabilities are the capabilities that will be dropped from the container. These are required to be dropped and cannot be added.", - "type": "array", - "items": { - "type": "string" - } + "namespace": { + "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", + "type": "string" }, - "runAsUser": { - "description": "runAsUser is the strategy that will dictate the allowable RunAsUser values that may be set.", - "$ref": "#/definitions/v1beta1.RunAsUserStrategyOptions" + "resource": { + "description": "Resource is one of the existing resource types. \"*\" means all.", + "type": "string" }, - "seLinux": { - "description": "seLinux is the strategy that will dictate the allowable labels that may be set.", - "$ref": "#/definitions/v1beta1.SELinuxStrategyOptions" + "subresource": { + "description": "Subresource is one of the existing resource types. \"\" means none.", + "type": "string" }, - "supplementalGroups": { - "description": "SupplementalGroups is the strategy that will dictate what supplemental groups are used by the SecurityContext.", - "$ref": "#/definitions/v1beta1.SupplementalGroupsStrategyOptions" + "verb": { + "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "type": "string" }, - "volumes": { - "description": "volumes is a white list of allowed volume plugins. Empty indicates that all plugins may be used.", - "type": "array", - "items": { - "type": "string" - } + "version": { + "description": "Version is the API Version of the Resource. \"*\" means all.", + "type": "string" } } }, @@ -66455,6 +88194,10 @@ "rules" ], "properties": { + "aggregationRule": { + "description": "AggregationRule is an optional field that describes how to build the Rules for this ClusterRole. If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be stomped by the controller.", + "$ref": "#/definitions/v1alpha1.AggregationRule" + }, "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", "type": "string" @@ -66483,63 +88226,45 @@ } ] }, - "v1.RBDVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "v1.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "required": [ - "monitors", - "image" + "replicas" ], "properties": { - "fsType": { - "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd", - "type": "string" - }, - "image": { - "description": "The rados image name. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "string" - }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", + "type": "integer", + "format": "int32" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", "type": "array", "items": { - "type": "string" - } - }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "$ref": "#/definitions/v1.ReplicaSetCondition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "type": "integer", + "format": "int32" }, - "secretRef": { - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "$ref": "#/definitions/v1.LocalObjectReference" + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "type": "integer", + "format": "int64" }, - "user": { - "description": "The rados user name. Default is admin. More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "type": "string" - } - } - }, - "v1beta1.FSGroupStrategyOptions": { - "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", - "properties": { - "ranges": { - "description": "Ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end.", - "type": "array", - "items": { - "$ref": "#/definitions/v1beta1.IDRange" - } + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "type": "integer", + "format": "int32" }, - "rule": { - "description": "Rule is the strategy that will dictate what FSGroup is used in the SecurityContext.", - "type": "string" + "replicas": { + "description": "Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller", + "type": "integer", + "format": "int32" } } }, @@ -66570,6 +88295,7 @@ "v1beta2.DeploymentSpec": { "description": "DeploymentSpec is the specification of the desired behavior of the Deployment.", "required": [ + "selector", "template" ], "properties": { @@ -66598,11 +88324,12 @@ "format": "int32" }, "selector": { - "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment.", + "description": "Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.", "$ref": "#/definitions/v1.LabelSelector" }, "strategy": { "description": "The deployment strategy to use to replace existing pods with new ones.", + "x-kubernetes-patch-strategy": "retainKeys", "$ref": "#/definitions/v1beta2.DeploymentStrategy" }, "template": { @@ -66612,7 +88339,7 @@ } }, "v1beta1.NetworkPolicy": { - "description": "NetworkPolicy describes what network traffic is allowed for a set of Pods", + "description": "DEPRECATED 1.9 - This group version of NetworkPolicy is deprecated by networking/v1/NetworkPolicy. NetworkPolicy describes what network traffic is allowed for a set of Pods", "properties": { "apiVersion": { "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", @@ -66705,6 +88432,16 @@ } ] }, + "v1.RollingUpdateDaemonSet": { + "description": "Spec to control the desired behavior of daemon set rolling update.", + "properties": { + "maxUnavailable": { + "description": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", + "type": "object", + "format": "int-or-string" + } + } + }, "v1.GlusterfsVolumeSource": { "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -66736,10 +88473,12 @@ "type": "string" }, "additionalItems": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrBool" + "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.", + "type": "object" }, "allOf": { "type": "array", @@ -66754,7 +88493,8 @@ } }, "default": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "definitions": { "type": "object", @@ -66765,7 +88505,8 @@ "dependencies": { "type": "object", "additionalProperties": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrStringArray" + "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", + "type": "object" } }, "description": { @@ -66774,11 +88515,13 @@ "enum": { "type": "array", "items": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" } }, "example": { - "$ref": "#/definitions/v1beta1.JSON" + "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.", + "type": "object" }, "exclusiveMaximum": { "type": "boolean" @@ -66796,7 +88539,8 @@ "type": "string" }, "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaPropsOrArray" + "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", + "type": "object" }, "maxItems": { "type": "integer", @@ -66875,6 +88619,141 @@ } } }, + "extensions.v1beta1.PodSecurityPolicyList": { + "description": "PodSecurityPolicyList is a list of PodSecurityPolicy objects. Deprecated: use PodSecurityPolicyList from policy API Group instead.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is a list of schema objects.", + "type": "array", + "items": { + "$ref": "#/definitions/extensions.v1beta1.PodSecurityPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "PodSecurityPolicyList", + "version": "v1beta1" + } + ] + }, + "v1.DaemonSetSpec": { + "description": "DaemonSetSpec is the specification of a daemon set.", + "required": [ + "selector", + "template" + ], + "properties": { + "minReadySeconds": { + "description": "The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "template": { + "description": "An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "An update strategy to replace existing DaemonSet pods with new pods.", + "$ref": "#/definitions/v1.DaemonSetUpdateStrategy" + } + } + }, + "v1.StatefulSetSpec": { + "description": "A StatefulSetSpec is the specification of a StatefulSet.", + "required": [ + "selector", + "template", + "serviceName" + ], + "properties": { + "podManagementPolicy": { + "description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", + "type": "string" + }, + "replicas": { + "description": "replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.", + "type": "integer", + "format": "int32" + }, + "revisionHistoryLimit": { + "description": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", + "type": "integer", + "format": "int32" + }, + "selector": { + "description": "selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", + "$ref": "#/definitions/v1.LabelSelector" + }, + "serviceName": { + "description": "serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.", + "type": "string" + }, + "template": { + "description": "template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.", + "$ref": "#/definitions/v1.PodTemplateSpec" + }, + "updateStrategy": { + "description": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", + "$ref": "#/definitions/v1.StatefulSetUpdateStrategy" + }, + "volumeClaimTemplates": { + "description": "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.PersistentVolumeClaim" + } + } + } + }, + "v1beta1.IngressSpec": { + "description": "IngressSpec describes the Ingress the user wishes to exist.", + "properties": { + "backend": { + "description": "A default backend capable of servicing requests that don't match any rule. At least one of 'backend' or 'rules' must be specified. This field is optional to allow the loadbalancer controller or defaulting logic to specify a global default.", + "$ref": "#/definitions/v1beta1.IngressBackend" + }, + "rules": { + "description": "A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressRule" + } + }, + "tls": { + "description": "TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.IngressTLS" + } + } + } + }, "v1.ContainerStatus": { "description": "ContainerStatus contains details for the current status of this container.", "required": [ @@ -66920,21 +88799,15 @@ } } }, - "v1beta1.JSONSchemaPropsOrArray": { - "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.", - "required": [ - "Schema", - "JSONSchemas" - ], + "v1.ScopeSelector": { + "description": "A scope selector represents the AND of the selectors represented by the scoped-resource selector requirements.", "properties": { - "JSONSchemas": { + "matchExpressions": { + "description": "A list of scope selector requirements by scope of the resources.", "type": "array", "items": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" + "$ref": "#/definitions/v1.ScopedResourceSelectorRequirement" } - }, - "Schema": { - "$ref": "#/definitions/v1beta1.JSONSchemaProps" } } }, @@ -66982,23 +88855,6 @@ } ] }, - "v1.HTTPHeader": { - "description": "HTTPHeader describes a custom header to be used in HTTP probes", - "required": [ - "name", - "value" - ], - "properties": { - "name": { - "description": "The header field name", - "type": "string" - }, - "value": { - "description": "The header field value", - "type": "string" - } - } - }, "v1alpha1.InitializerConfigurationList": { "description": "InitializerConfigurationList is a list of InitializerConfiguration.", "required": [ @@ -67094,7 +88950,6 @@ "v1alpha1.RoleBinding": { "description": "RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace. It adds who information via Subjects and namespace information by which namespace it exists in. RoleBindings in a given namespace only have effect in that namespace.", "required": [ - "subjects", "roleRef" ], "properties": { @@ -67156,6 +89011,40 @@ } } }, + "v1beta1.MutatingWebhookConfigurationList": { + "description": "MutatingWebhookConfigurationList is a list of MutatingWebhookConfiguration.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of MutatingWebhookConfiguration.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.MutatingWebhookConfiguration" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "admissionregistration.k8s.io", + "kind": "MutatingWebhookConfigurationList", + "version": "v1beta1" + } + ] + }, "v1beta1.IngressStatus": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { @@ -67182,6 +89071,23 @@ } } }, + "v1.VolumeDevice": { + "description": "volumeDevice describes a mapping of a raw block device within a container.", + "required": [ + "name", + "devicePath" + ], + "properties": { + "devicePath": { + "description": "devicePath is the path inside of the container that the device will be mapped to.", + "type": "string" + }, + "name": { + "description": "name must match the name of a persistentVolumeClaim in the pod", + "type": "string" + } + } + }, "v1.QuobyteVolumeSource": { "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", "required": [ @@ -67239,44 +89145,18 @@ } } }, - "v1alpha1.RuleWithOperations": { - "description": "RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.", + "v1.TokenReviewSpec": { + "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { - "apiGroups": { - "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.", - "type": "array", - "items": { - "type": "string" - } - }, - "apiVersions": { - "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.", + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", "type": "array", "items": { "type": "string" } }, - "operations": { - "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.", - "type": "array", - "items": { - "type": "string" - } - }, - "resources": { - "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "v1.Preconditions": { - "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.", - "properties": { - "uid": { - "description": "Specifies the target UID.", + "token": { + "description": "Token is the opaque bearer token.", "type": "string" } } @@ -67292,12 +89172,108 @@ "description": "metricName is the name of the metric in question", "type": "string" }, + "selector": { + "description": "selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.", + "$ref": "#/definitions/v1.LabelSelector" + }, "targetAverageValue": { "description": "targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)", "type": "string" } } }, + "v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of VolumeAttachments", + "type": "array", + "items": { + "$ref": "#/definitions/v1.VolumeAttachment" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] + }, + "v1.ISCSIPersistentVolumeSource": { + "description": "ISCSIPersistentVolumeSource represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "chapAuthDiscovery": { + "description": "whether support iSCSI Discovery CHAP authentication", + "type": "boolean" + }, + "chapAuthSession": { + "description": "whether support iSCSI Session CHAP authentication", + "type": "boolean" + }, + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi", + "type": "string" + }, + "initiatorName": { + "description": "Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface : will be created for the connection.", + "type": "string" + }, + "iqn": { + "description": "Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).", + "type": "string" + }, + "lun": { + "description": "iSCSI Target Lun number.", + "type": "integer", + "format": "int32" + }, + "portals": { + "description": "iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "array", + "items": { + "type": "string" + } + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "description": "CHAP Secret for iSCSI target and initiator authentication", + "$ref": "#/definitions/v1.SecretReference" + }, + "targetPortal": { + "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, "v1.ReplicationControllerSpec": { "description": "ReplicationControllerSpec is the specification of a replication controller.", "properties": { @@ -67384,6 +89360,13 @@ "v1beta1.TokenReviewSpec": { "description": "TokenReviewSpec is a description of the token authentication request.", "properties": { + "audiences": { + "description": "Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.", + "type": "array", + "items": { + "type": "string" + } + }, "token": { "description": "Token is the opaque bearer token.", "type": "string" @@ -67398,6 +89381,11 @@ "type": "integer", "format": "int64" }, + "runAsGroup": { + "description": "The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container.", + "type": "integer", + "format": "int64" + }, "runAsNonRoot": { "description": "Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.", "type": "boolean" @@ -67418,6 +89406,13 @@ "type": "integer", "format": "int64" } + }, + "sysctls": { + "description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.Sysctl" + } } } }, @@ -67465,6 +89460,40 @@ } } }, + "v1alpha1.ClusterRoleBindingList": { + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of ClusterRoleBindings", + "type": "array", + "items": { + "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata.", + "$ref": "#/definitions/v1.ListMeta" + } + }, + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "ClusterRoleBindingList", + "version": "v1alpha1" + } + ] + }, "extensions.v1beta1.DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "required": [ diff --git a/settings b/settings index aa075049..4098aad4 100644 --- a/settings +++ b/settings @@ -15,11 +15,11 @@ # limitations under the License. # Kubernetes branch to get the OpenAPI spec from. -export KUBERNETES_BRANCH="release-1.8" +export KUBERNETES_BRANCH="release-1.13" # client version for packaging and releasing. It can # be different than SPEC_VERSION. -export CLIENT_VERSION="1.0.0-alpha1" +export CLIENT_VERSION="1.0.0-alpha2" # Name of the release package export PACKAGE_NAME="kubernetes" From 564a371427f154aebab8ab95c711c9fa7fcbb960 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 14 Feb 2019 20:36:27 -0800 Subject: [PATCH 13/48] Add a simple example. --- README.md | 15 +++++++++++++++ examples/simple/simple.rb | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 examples/simple/simple.rb diff --git a/README.md b/README.md index b1ce141d..c591e086 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,21 @@ Ruby client for the [kubernetes](http://kubernetes.io/) API. +## Usage +```ruby +require 'kubernetes' +require 'pp' + +kube_config = Kubernetes::KubeConfig.new("#{ENV['HOME']}/.kube/config") +config = Kubernetes::Configuration.new() + +kube_config.configure(config) + +client = Kubernetes::CoreV1Api.new(Kubernetes::ApiClient.new(config)) + +pp client.list_namespaced_pod('default') +``` + ## Contribute Please see [CONTRIBUTING.md](CONTRIBUTING.md) for instructions on how to contribute. diff --git a/examples/simple/simple.rb b/examples/simple/simple.rb new file mode 100644 index 00000000..931a5f14 --- /dev/null +++ b/examples/simple/simple.rb @@ -0,0 +1,12 @@ +require 'kubernetes' +require 'pp' + +kube_config = Kubernetes::KubeConfig.new("#{ENV['HOME']}/.kube/config") +config = Kubernetes::Configuration.new() + +kube_config.configure(config) + +client = Kubernetes::CoreV1Api.new(Kubernetes::ApiClient.new(config)) + +pp client.list_namespaced_pod('default') + From c3237d7b54b014d51ed503326c8091199d921cb8 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 14 Feb 2019 21:58:20 -0800 Subject: [PATCH 14/48] Fix up creation. Add a resource create example. --- examples/namespace/namespace.rb | 20 ++++++++++++++++++++ kubernetes/.swagger-codegen-ignore | 5 +++++ kubernetes/lib/kubernetes/api_client.rb | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 examples/namespace/namespace.rb diff --git a/examples/namespace/namespace.rb b/examples/namespace/namespace.rb new file mode 100644 index 00000000..56b6f4dc --- /dev/null +++ b/examples/namespace/namespace.rb @@ -0,0 +1,20 @@ + +require 'kubernetes' +require 'pp' +kube_config = Kubernetes::KubeConfig.new("#{ENV['HOME']}/.kube/config") +config = Kubernetes::Configuration.new() +kube_config.configure(config) +client = Kubernetes::CoreV1Api.new(Kubernetes::ApiClient.new(config)) + +name = 'temp' + +namespace = Kubernetes::V1Namespace.new({ + kind: 'Namespace', + metadata: { + name: name, + }, +}) + +pp client.create_namespace(namespace) +pp client.list_namespace +pp client.delete_namespace(name) diff --git a/kubernetes/.swagger-codegen-ignore b/kubernetes/.swagger-codegen-ignore index c5fa491b..b40252a0 100644 --- a/kubernetes/.swagger-codegen-ignore +++ b/kubernetes/.swagger-codegen-ignore @@ -21,3 +21,8 @@ #docs/*.md # Then explicitly reverse the ignore rule for a single file: #!docs/README.md + +# Hand coded stuff +lib/kubernetes/config/* +# This isn't great, but the generated client doesn't quite work. +lib/kubernetes/api_client.rb diff --git a/kubernetes/lib/kubernetes/api_client.rb b/kubernetes/lib/kubernetes/api_client.rb index b3aaa38d..d2be0224 100644 --- a/kubernetes/lib/kubernetes/api_client.rb +++ b/kubernetes/lib/kubernetes/api_client.rb @@ -335,7 +335,7 @@ def select_header_accept(accepts) # @return [String] the Content-Type header (e.g. application/json) def select_header_content_type(content_types) # use application/json by default - return 'application/json' if content_types.nil? || content_types.empty? + return 'application/json' if content_types.nil? || content_types.empty? || content_types.first == '*/*' # use JSON when present, otherwise use the first one json_content_type = content_types.find { |s| json_mime?(s) } return json_content_type || content_types.first From 22bdc9a215ab31578ae0a47c90e8511be8386dcc Mon Sep 17 00:00:00 2001 From: David Rubin Date: Fri, 15 Feb 2019 12:37:26 +0100 Subject: [PATCH 15/48] Add drubin to reviewers list --- OWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/OWNERS b/OWNERS index 672d618a..2fc8e615 100644 --- a/OWNERS +++ b/OWNERS @@ -5,3 +5,4 @@ approvers: reviewers: - brendandburns - mbohlool +- drubin From 08a06d6f6e515136b6ac1504434ccf5e0516c1d0 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 19 Feb 2019 02:36:42 -0800 Subject: [PATCH 16/48] Fix unit tests. --- kubernetes/spec/config/incluster_config_spec.rb | 11 ++++++----- kubernetes/spec/config/kube_config_spec.rb | 15 ++++++++------- .../spec/fixtures/config/kube_config_hash.rb | 1 + kubernetes/spec/helpers/file_fixtures.rb | 2 ++ kubernetes/spec/utils_spec.rb | 15 ++++++++------- 5 files changed, 25 insertions(+), 19 deletions(-) diff --git a/kubernetes/spec/config/incluster_config_spec.rb b/kubernetes/spec/config/incluster_config_spec.rb index 709dee81..15c2cdbf 100644 --- a/kubernetes/spec/config/incluster_config_spec.rb +++ b/kubernetes/spec/config/incluster_config_spec.rb @@ -14,6 +14,7 @@ require 'spec_helper' require 'config/matchers' +require 'helpers/file_fixtures' require 'kubernetes/config/incluster_config' @@ -27,8 +28,8 @@ Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', }) - c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) end end @@ -36,7 +37,7 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'localhost:443' - c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = 'Bearer token1' end actual = Kubernetes::Configuration.new @@ -53,8 +54,8 @@ Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', }) - c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) end end diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 0f6b49ba..d6ce8373 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -16,12 +16,13 @@ require 'spec_helper' require 'config/matchers' require 'fixtures/config/kube_config_hash' +require 'helpers/file_fixtures' require 'kubernetes/config/kube_config' describe Kubernetes::KubeConfig do - let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } context '#configure' do context 'if non user context is given' do @@ -42,9 +43,9 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s - c.cert_file = file_fixture('certs/client.crt').to_s - c.key_file = file_fixture('certs/client.key').to_s + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s + c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s end actual = Kubernetes::Configuration.new @@ -58,7 +59,7 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = "Bearer #{TEST_DATA_BASE64}" end actual = Kubernetes::Configuration.new @@ -71,7 +72,7 @@ context '#config' do context 'if config hash is not given when it is initialized' do - let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/empty').to_s) } + let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/empty').to_s) } it 'should load config' do expect(kube_config.config).to eq({}) end @@ -79,7 +80,7 @@ context 'if config hash is given when it is initialized' do let(:given_hash) { {given: 'hash'} } - let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/empty').to_s, given_hash) } + let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/empty').to_s, given_hash) } it 'should not load config' do expect(kube_config.config).to eq(given_hash) diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb index 1ea4fbe4..5e032e9e 100644 --- a/kubernetes/spec/fixtures/config/kube_config_hash.rb +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -13,6 +13,7 @@ # limitations under the License. require 'base64' +require 'helpers/file_fixtures' TEST_TOKEN_FILE = Kubernetes::Testing.file_fixture('tokens/token') diff --git a/kubernetes/spec/helpers/file_fixtures.rb b/kubernetes/spec/helpers/file_fixtures.rb index a7baa920..65350df5 100644 --- a/kubernetes/spec/helpers/file_fixtures.rb +++ b/kubernetes/spec/helpers/file_fixtures.rb @@ -11,6 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and +require 'pathname' + module Kubernetes module Testing module FileFixtures diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb index ae95e3a7..112aabc3 100644 --- a/kubernetes/spec/utils_spec.rb +++ b/kubernetes/spec/utils_spec.rb @@ -15,6 +15,7 @@ require 'spec_helper' require 'config/matchers' require 'fixtures/config/kube_config_hash' +require 'helpers/file_fixtures' require 'kubernetes/utils' @@ -28,8 +29,8 @@ Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', }) - c.instance_variable_set(:@ca_cert, file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, file_fixture('tokens/token').to_s) + c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) + c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) end end @@ -38,7 +39,7 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'localhost:443' - c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = 'Bearer token1' end actual = Kubernetes::Configuration.new @@ -49,7 +50,7 @@ end describe '.load_kube_config' do - let(:kube_config) { Kubernetes::KubeConfig.new(file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } it 'should configure client configuration from kube_config' do kubeconfig_path = 'kubeconfig/path' @@ -57,9 +58,9 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = file_fixture('certs/ca.crt').to_s - c.cert_file = file_fixture('certs/client.crt').to_s - c.key_file = file_fixture('certs/client.key').to_s + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s + c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s end actual = Kubernetes::Configuration.new From 889a8c18346c1dd9a847084a82bab60f97bc3819 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 14 Feb 2019 21:29:40 -0800 Subject: [PATCH 17/48] Fix insecure TLS handling for certs where the host doesn't match the cert. --- kubernetes/lib/kubernetes/config/kube_config.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/lib/kubernetes/config/kube_config.rb b/kubernetes/lib/kubernetes/config/kube_config.rb index 7ba73627..acd8fcb8 100644 --- a/kubernetes/lib/kubernetes/config/kube_config.rb +++ b/kubernetes/lib/kubernetes/config/kube_config.rb @@ -73,7 +73,10 @@ def configure(configuration, context_name=nil) c.base_path = server.path if server.scheme == 'https' - c.verify_ssl = cluster['verify_ssl'] + if ! cluster['verify-ssl'] + c.verify_ssl = false + c.verify_ssl_host = false + end c.ssl_ca_cert = cluster['certificate-authority'] c.cert_file = user['client-certificate'] c.key_file = user['client-key'] From 581e0ab52b4254aace9b8ba445d4fa8cad9b69dc Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 19 Feb 2019 03:19:14 -0800 Subject: [PATCH 18/48] Add a unit test. --- .../lib/kubernetes/config/kube_config.rb | 6 ++--- kubernetes/spec/config/kube_config_spec.rb | 23 ++++++++++++++++++- .../spec/fixtures/config/kube_config_hash.rb | 10 +++++++- 3 files changed, 33 insertions(+), 6 deletions(-) diff --git a/kubernetes/lib/kubernetes/config/kube_config.rb b/kubernetes/lib/kubernetes/config/kube_config.rb index acd8fcb8..6c107e5a 100644 --- a/kubernetes/lib/kubernetes/config/kube_config.rb +++ b/kubernetes/lib/kubernetes/config/kube_config.rb @@ -73,10 +73,8 @@ def configure(configuration, context_name=nil) c.base_path = server.path if server.scheme == 'https' - if ! cluster['verify-ssl'] - c.verify_ssl = false - c.verify_ssl_host = false - end + c.verify_ssl = cluster['verify-ssl'] + c.verify_ssl_host = cluster['verify-ssl'] c.ssl_ca_cert = cluster['certificate-authority'] c.cert_file = user['client-certificate'] c.key_file = user['client-key'] diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index d6ce8373..7d6a26bb 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -46,6 +46,7 @@ c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s + c.verify_ssl = true end actual = Kubernetes::Configuration.new @@ -54,6 +55,26 @@ end end + context 'if ssl no-verify context is given' do + it 'should configure ssl configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'https' + c.host = 'test-host:443' + c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s + c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s + c.verify_ssl = false + c.verify_ssl_host = false + end + actual = Kubernetes::Configuration.new + + kube_config.configure(actual, 'context_insecure') + expect(actual).to be_same_configuration_as(expected) + expect(actual.verify_ssl_host).to be_falsey + expect(actual.verify_ssl).to be_falsey + end + end + context 'if simple token context is given' do it 'should configure ssl configuration' do expected = Kubernetes::Configuration.new do |c| @@ -175,7 +196,7 @@ context '#list_context_names' do it 'should list context names' do - expect(kube_config.list_context_names.sort).to eq(["default", "no_user", "context_ssl", "context_token"].sort) + expect(kube_config.list_context_names.sort).to eq(["default", "no_user", "context_ssl", "context_insecure", "context_token"].sort) end end diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb index 5e032e9e..0671755c 100644 --- a/kubernetes/spec/fixtures/config/kube_config_hash.rb +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -55,6 +55,13 @@ 'user' => 'user_cert_file', } } +TEST_CONTEXT_INSECURE = { + 'name' => 'context_insecure', + 'context' => { + 'cluster' => 'ssl-data-insecure', + 'user' => 'user_cert_file', + } +} TEST_CONTEXT_TOKEN = { 'name' => 'context_token', 'context' => { @@ -87,7 +94,7 @@ 'name' => 'ssl-data-insecure', 'cluster' => { 'server' => TEST_SSL_HOST, - 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, + 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, 'insecure-skip-tls-verify' => true, }, } @@ -144,6 +151,7 @@ TEST_CONTEXT_NO_USER, TEST_CONTEXT_SSL, TEST_CONTEXT_TOKEN, + TEST_CONTEXT_INSECURE, ], 'clusters' => [ TEST_CLUSTER_DEFAULT, From a0559b217328b5ab0f79d9ff192cac1978423c20 Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Tue, 26 Feb 2019 22:05:05 +0900 Subject: [PATCH 19/48] Delete auto-generated test codes ref https://github.com/kubernetes-client/gen/pull/104 --- .../api/admissionregistration_api_spec.rb | 46 - ...admissionregistration_v1alpha1_api_spec.rb | 164 - .../admissionregistration_v1beta1_api_spec.rb | 282 -- kubernetes/spec/api/apiextensions_api_spec.rb | 46 - .../api/apiextensions_v1beta1_api_spec.rb | 207 - .../spec/api/apiregistration_api_spec.rb | 46 - .../spec/api/apiregistration_v1_api_spec.rb | 207 - .../api/apiregistration_v1beta1_api_spec.rb | 207 - kubernetes/spec/api/apis_api_spec.rb | 46 - kubernetes/spec/api/apps_api_spec.rb | 46 - kubernetes/spec/api/apps_v1_api_spec.rb | 1093 ------ kubernetes/spec/api/apps_v1beta1_api_spec.rb | 682 ---- kubernetes/spec/api/apps_v1beta2_api_spec.rb | 1093 ------ .../spec/api/auditregistration_api_spec.rb | 46 - .../auditregistration_v1alpha1_api_spec.rb | 164 - .../spec/api/authentication_api_spec.rb | 46 - .../spec/api/authentication_v1_api_spec.rb | 61 - .../api/authentication_v1beta1_api_spec.rb | 61 - kubernetes/spec/api/authorization_api_spec.rb | 46 - .../spec/api/authorization_v1_api_spec.rb | 107 - .../api/authorization_v1beta1_api_spec.rb | 107 - kubernetes/spec/api/autoscaling_api_spec.rb | 46 - .../spec/api/autoscaling_v1_api_spec.rb | 237 -- .../spec/api/autoscaling_v2beta1_api_spec.rb | 237 -- .../spec/api/autoscaling_v2beta2_api_spec.rb | 237 -- kubernetes/spec/api/batch_api_spec.rb | 46 - kubernetes/spec/api/batch_v1_api_spec.rb | 237 -- kubernetes/spec/api/batch_v1beta1_api_spec.rb | 237 -- .../spec/api/batch_v2alpha1_api_spec.rb | 237 -- kubernetes/spec/api/certificates_api_spec.rb | 46 - .../spec/api/certificates_v1beta1_api_spec.rb | 222 -- kubernetes/spec/api/coordination_api_spec.rb | 46 - .../spec/api/coordination_v1beta1_api_spec.rb | 191 - kubernetes/spec/api/core_api_spec.rb | 46 - kubernetes/spec/api/core_v1_api_spec.rb | 3320 ----------------- .../spec/api/custom_objects_api_spec.rb | 437 --- kubernetes/spec/api/events_api_spec.rb | 46 - .../spec/api/events_v1beta1_api_spec.rb | 191 - kubernetes/spec/api/extensions_api_spec.rb | 46 - .../spec/api/extensions_v1beta1_api_spec.rb | 1228 ------ kubernetes/spec/api/logs_api_spec.rb | 58 - kubernetes/spec/api/networking_api_spec.rb | 46 - kubernetes/spec/api/networking_v1_api_spec.rb | 191 - kubernetes/spec/api/policy_api_spec.rb | 46 - .../spec/api/policy_v1beta1_api_spec.rb | 355 -- .../spec/api/rbac_authorization_api_spec.rb | 46 - .../api/rbac_authorization_v1_api_spec.rb | 564 --- .../rbac_authorization_v1alpha1_api_spec.rb | 564 --- .../rbac_authorization_v1beta1_api_spec.rb | 564 --- kubernetes/spec/api/scheduling_api_spec.rb | 46 - .../spec/api/scheduling_v1alpha1_api_spec.rb | 164 - .../spec/api/scheduling_v1beta1_api_spec.rb | 164 - kubernetes/spec/api/settings_api_spec.rb | 46 - .../spec/api/settings_v1alpha1_api_spec.rb | 191 - kubernetes/spec/api/storage_api_spec.rb | 46 - kubernetes/spec/api/storage_v1_api_spec.rb | 325 -- .../spec/api/storage_v1alpha1_api_spec.rb | 164 - .../spec/api/storage_v1beta1_api_spec.rb | 282 -- kubernetes/spec/api/version_api_spec.rb | 46 - kubernetes/spec/api_client_spec.rb | 226 -- kubernetes/spec/configuration_spec.rb | 42 - ...stration_v1beta1_service_reference_spec.rb | 54 - ...tion_v1beta1_webhook_client_config_spec.rb | 54 - ...tensions_v1beta1_service_reference_spec.rb | 54 - ...ions_v1beta1_webhook_client_config_spec.rb | 54 - ...stration_v1beta1_service_reference_spec.rb | 48 - .../apps_v1beta1_deployment_condition_spec.rb | 72 - .../apps_v1beta1_deployment_list_spec.rb | 60 - .../apps_v1beta1_deployment_rollback_spec.rb | 66 - .../models/apps_v1beta1_deployment_spec.rb | 66 - .../apps_v1beta1_deployment_spec_spec.rb | 90 - .../apps_v1beta1_deployment_status_spec.rb | 84 - .../apps_v1beta1_deployment_strategy_spec.rb | 48 - .../apps_v1beta1_rollback_config_spec.rb | 42 - ..._v1beta1_rolling_update_deployment_spec.rb | 48 - .../spec/models/apps_v1beta1_scale_spec.rb | 66 - .../models/apps_v1beta1_scale_spec_spec.rb | 42 - .../models/apps_v1beta1_scale_status_spec.rb | 54 - ...nsions_v1beta1_allowed_flex_volume_spec.rb | 42 - ...tensions_v1beta1_allowed_host_path_spec.rb | 48 - ...sions_v1beta1_deployment_condition_spec.rb | 72 - ...extensions_v1beta1_deployment_list_spec.rb | 60 - ...nsions_v1beta1_deployment_rollback_spec.rb | 66 - .../extensions_v1beta1_deployment_spec.rb | 66 - ...extensions_v1beta1_deployment_spec_spec.rb | 90 - ...tensions_v1beta1_deployment_status_spec.rb | 84 - ...nsions_v1beta1_deployment_strategy_spec.rb | 48 - ..._v1beta1_fs_group_strategy_options_spec.rb | 48 - ...extensions_v1beta1_host_port_range_spec.rb | 48 - .../extensions_v1beta1_id_range_spec.rb | 48 - ...s_v1beta1_pod_security_policy_list_spec.rb | 60 - ...nsions_v1beta1_pod_security_policy_spec.rb | 60 - ...s_v1beta1_pod_security_policy_spec_spec.rb | 168 - ...extensions_v1beta1_rollback_config_spec.rb | 42 - ..._v1beta1_rolling_update_deployment_spec.rb | 48 - ...eta1_run_as_group_strategy_options_spec.rb | 48 - ...beta1_run_as_user_strategy_options_spec.rb | 48 - .../models/extensions_v1beta1_scale_spec.rb | 66 - .../extensions_v1beta1_scale_spec_spec.rb | 42 - .../extensions_v1beta1_scale_status_spec.rb | 54 - ..._v1beta1_se_linux_strategy_options_spec.rb | 48 - ...pplemental_groups_strategy_options_spec.rb | 48 - ...policy_v1beta1_allowed_flex_volume_spec.rb | 42 - .../policy_v1beta1_allowed_host_path_spec.rb | 48 - ..._v1beta1_fs_group_strategy_options_spec.rb | 48 - .../policy_v1beta1_host_port_range_spec.rb | 48 - .../models/policy_v1beta1_id_range_spec.rb | 48 - ...y_v1beta1_pod_security_policy_list_spec.rb | 60 - ...policy_v1beta1_pod_security_policy_spec.rb | 60 - ...y_v1beta1_pod_security_policy_spec_spec.rb | 168 - ...eta1_run_as_group_strategy_options_spec.rb | 48 - ...beta1_run_as_user_strategy_options_spec.rb | 48 - ..._v1beta1_se_linux_strategy_options_spec.rb | 48 - ...pplemental_groups_strategy_options_spec.rb | 48 - .../spec/models/runtime_raw_extension_spec.rb | 42 - kubernetes/spec/models/v1_affinity_spec.rb | 54 - .../spec/models/v1_aggregation_rule_spec.rb | 42 - .../spec/models/v1_api_group_list_spec.rb | 54 - kubernetes/spec/models/v1_api_group_spec.rb | 72 - .../spec/models/v1_api_resource_list_spec.rb | 60 - .../spec/models/v1_api_resource_spec.rb | 90 - .../models/v1_api_service_condition_spec.rb | 66 - .../spec/models/v1_api_service_list_spec.rb | 60 - kubernetes/spec/models/v1_api_service_spec.rb | 66 - .../spec/models/v1_api_service_spec_spec.rb | 78 - .../spec/models/v1_api_service_status_spec.rb | 42 - .../spec/models/v1_api_versions_spec.rb | 60 - .../spec/models/v1_attached_volume_spec.rb | 48 - ..._elastic_block_store_volume_source_spec.rb | 60 - .../v1_azure_disk_volume_source_spec.rb | 72 - ...zure_file_persistent_volume_source_spec.rb | 60 - .../v1_azure_file_volume_source_spec.rb | 54 - kubernetes/spec/models/v1_binding_spec.rb | 60 - .../spec/models/v1_capabilities_spec.rb | 48 - ...1_ceph_fs_persistent_volume_source_spec.rb | 72 - .../models/v1_ceph_fs_volume_source_spec.rb | 72 - ...v1_cinder_persistent_volume_source_spec.rb | 60 - .../models/v1_cinder_volume_source_spec.rb | 60 - .../spec/models/v1_client_ip_config_spec.rb | 42 - .../v1_cluster_role_binding_list_spec.rb | 60 - .../models/v1_cluster_role_binding_spec.rb | 66 - .../spec/models/v1_cluster_role_list_spec.rb | 60 - .../spec/models/v1_cluster_role_spec.rb | 66 - .../models/v1_component_condition_spec.rb | 60 - .../models/v1_component_status_list_spec.rb | 60 - .../spec/models/v1_component_status_spec.rb | 60 - .../models/v1_config_map_env_source_spec.rb | 48 - .../models/v1_config_map_key_selector_spec.rb | 54 - .../spec/models/v1_config_map_list_spec.rb | 60 - .../v1_config_map_node_config_source_spec.rb | 66 - .../models/v1_config_map_projection_spec.rb | 54 - kubernetes/spec/models/v1_config_map_spec.rb | 66 - .../v1_config_map_volume_source_spec.rb | 60 - .../spec/models/v1_container_image_spec.rb | 48 - .../spec/models/v1_container_port_spec.rb | 66 - kubernetes/spec/models/v1_container_spec.rb | 162 - .../models/v1_container_state_running_spec.rb | 42 - .../spec/models/v1_container_state_spec.rb | 54 - .../v1_container_state_terminated_spec.rb | 78 - .../models/v1_container_state_waiting_spec.rb | 48 - .../spec/models/v1_container_status_spec.rb | 84 - .../v1_controller_revision_list_spec.rb | 60 - .../models/v1_controller_revision_spec.rb | 66 - .../v1_cross_version_object_reference_spec.rb | 54 - .../v1_csi_persistent_volume_source_spec.rb | 84 - .../spec/models/v1_daemon_endpoint_spec.rb | 42 - .../models/v1_daemon_set_condition_spec.rb | 66 - .../spec/models/v1_daemon_set_list_spec.rb | 60 - kubernetes/spec/models/v1_daemon_set_spec.rb | 66 - .../spec/models/v1_daemon_set_spec_spec.rb | 66 - .../spec/models/v1_daemon_set_status_spec.rb | 96 - .../v1_daemon_set_update_strategy_spec.rb | 48 - .../spec/models/v1_delete_options_spec.rb | 78 - .../models/v1_deployment_condition_spec.rb | 72 - .../spec/models/v1_deployment_list_spec.rb | 60 - kubernetes/spec/models/v1_deployment_spec.rb | 66 - .../spec/models/v1_deployment_spec_spec.rb | 84 - .../spec/models/v1_deployment_status_spec.rb | 84 - .../models/v1_deployment_strategy_spec.rb | 48 - .../models/v1_downward_api_projection_spec.rb | 42 - .../v1_downward_api_volume_file_spec.rb | 60 - .../v1_downward_api_volume_source_spec.rb | 48 - .../models/v1_empty_dir_volume_source_spec.rb | 48 - .../spec/models/v1_endpoint_address_spec.rb | 60 - .../spec/models/v1_endpoint_port_spec.rb | 54 - .../spec/models/v1_endpoint_subset_spec.rb | 54 - .../spec/models/v1_endpoints_list_spec.rb | 60 - kubernetes/spec/models/v1_endpoints_spec.rb | 60 - .../spec/models/v1_env_from_source_spec.rb | 54 - .../spec/models/v1_env_var_source_spec.rb | 60 - kubernetes/spec/models/v1_env_var_spec.rb | 54 - kubernetes/spec/models/v1_event_list_spec.rb | 60 - .../spec/models/v1_event_series_spec.rb | 54 - .../spec/models/v1_event_source_spec.rb | 48 - kubernetes/spec/models/v1_event_spec.rb | 138 - kubernetes/spec/models/v1_exec_action_spec.rb | 42 - .../spec/models/v1_fc_volume_source_spec.rb | 66 - .../v1_flex_persistent_volume_source_spec.rb | 66 - .../spec/models/v1_flex_volume_source_spec.rb | 66 - .../models/v1_flocker_volume_source_spec.rb | 48 - ..._gce_persistent_disk_volume_source_spec.rb | 60 - .../models/v1_git_repo_volume_source_spec.rb | 54 - ...glusterfs_persistent_volume_source_spec.rb | 60 - .../models/v1_glusterfs_volume_source_spec.rb | 54 - .../v1_group_version_for_discovery_spec.rb | 48 - kubernetes/spec/models/v1_handler_spec.rb | 54 - .../v1_horizontal_pod_autoscaler_list_spec.rb | 60 - .../v1_horizontal_pod_autoscaler_spec.rb | 66 - .../v1_horizontal_pod_autoscaler_spec_spec.rb | 60 - ...1_horizontal_pod_autoscaler_status_spec.rb | 66 - kubernetes/spec/models/v1_host_alias_spec.rb | 48 - .../models/v1_host_path_volume_source_spec.rb | 48 - .../spec/models/v1_http_get_action_spec.rb | 66 - kubernetes/spec/models/v1_http_header_spec.rb | 48 - kubernetes/spec/models/v1_initializer_spec.rb | 42 - .../spec/models/v1_initializers_spec.rb | 48 - kubernetes/spec/models/v1_ip_block_spec.rb | 48 - .../v1_iscsi_persistent_volume_source_spec.rb | 102 - .../models/v1_iscsi_volume_source_spec.rb | 102 - .../spec/models/v1_job_condition_spec.rb | 72 - kubernetes/spec/models/v1_job_list_spec.rb | 60 - kubernetes/spec/models/v1_job_spec.rb | 66 - kubernetes/spec/models/v1_job_spec_spec.rb | 84 - kubernetes/spec/models/v1_job_status_spec.rb | 72 - kubernetes/spec/models/v1_key_to_path_spec.rb | 54 - .../v1_label_selector_requirement_spec.rb | 54 - .../spec/models/v1_label_selector_spec.rb | 48 - kubernetes/spec/models/v1_lifecycle_spec.rb | 48 - .../spec/models/v1_limit_range_item_spec.rb | 72 - .../spec/models/v1_limit_range_list_spec.rb | 60 - kubernetes/spec/models/v1_limit_range_spec.rb | 60 - .../spec/models/v1_limit_range_spec_spec.rb | 42 - kubernetes/spec/models/v1_list_meta_spec.rb | 54 - .../models/v1_load_balancer_ingress_spec.rb | 48 - .../models/v1_load_balancer_status_spec.rb | 42 - .../models/v1_local_object_reference_spec.rb | 42 - .../v1_local_subject_access_review_spec.rb | 66 - .../models/v1_local_volume_source_spec.rb | 48 - .../spec/models/v1_namespace_list_spec.rb | 60 - kubernetes/spec/models/v1_namespace_spec.rb | 66 - .../spec/models/v1_namespace_spec_spec.rb | 42 - .../spec/models/v1_namespace_status_spec.rb | 42 - .../v1_network_policy_egress_rule_spec.rb | 48 - .../v1_network_policy_ingress_rule_spec.rb | 48 - .../models/v1_network_policy_list_spec.rb | 60 - .../models/v1_network_policy_peer_spec.rb | 54 - .../models/v1_network_policy_port_spec.rb | 48 - .../spec/models/v1_network_policy_spec.rb | 60 - .../models/v1_network_policy_spec_spec.rb | 60 - .../spec/models/v1_nfs_volume_source_spec.rb | 54 - .../spec/models/v1_node_address_spec.rb | 48 - .../spec/models/v1_node_affinity_spec.rb | 48 - .../spec/models/v1_node_condition_spec.rb | 72 - .../spec/models/v1_node_config_source_spec.rb | 42 - .../spec/models/v1_node_config_status_spec.rb | 60 - .../models/v1_node_daemon_endpoints_spec.rb | 42 - kubernetes/spec/models/v1_node_list_spec.rb | 60 - .../v1_node_selector_requirement_spec.rb | 54 - .../spec/models/v1_node_selector_spec.rb | 42 - .../spec/models/v1_node_selector_term_spec.rb | 48 - kubernetes/spec/models/v1_node_spec.rb | 66 - kubernetes/spec/models/v1_node_spec_spec.rb | 72 - kubernetes/spec/models/v1_node_status_spec.rb | 102 - .../spec/models/v1_node_system_info_spec.rb | 96 - .../models/v1_non_resource_attributes_spec.rb | 48 - .../spec/models/v1_non_resource_rule_spec.rb | 48 - .../models/v1_object_field_selector_spec.rb | 48 - kubernetes/spec/models/v1_object_meta_spec.rb | 132 - .../spec/models/v1_object_reference_spec.rb | 78 - .../spec/models/v1_owner_reference_spec.rb | 72 - ..._persistent_volume_claim_condition_spec.rb | 72 - .../v1_persistent_volume_claim_list_spec.rb | 60 - .../models/v1_persistent_volume_claim_spec.rb | 66 - .../v1_persistent_volume_claim_spec_spec.rb | 78 - .../v1_persistent_volume_claim_status_spec.rb | 60 - ...sistent_volume_claim_volume_source_spec.rb | 48 - .../models/v1_persistent_volume_list_spec.rb | 60 - .../spec/models/v1_persistent_volume_spec.rb | 66 - .../models/v1_persistent_volume_spec_spec.rb | 216 -- .../v1_persistent_volume_status_spec.rb | 54 - ...oton_persistent_disk_volume_source_spec.rb | 48 - .../spec/models/v1_pod_affinity_spec.rb | 48 - .../spec/models/v1_pod_affinity_term_spec.rb | 54 - .../spec/models/v1_pod_anti_affinity_spec.rb | 48 - .../spec/models/v1_pod_condition_spec.rb | 72 - .../models/v1_pod_dns_config_option_spec.rb | 48 - .../spec/models/v1_pod_dns_config_spec.rb | 54 - kubernetes/spec/models/v1_pod_list_spec.rb | 60 - .../spec/models/v1_pod_readiness_gate_spec.rb | 42 - .../models/v1_pod_security_context_spec.rb | 78 - kubernetes/spec/models/v1_pod_spec.rb | 66 - kubernetes/spec/models/v1_pod_spec_spec.rb | 216 -- kubernetes/spec/models/v1_pod_status_spec.rb | 102 - .../spec/models/v1_pod_template_list_spec.rb | 60 - .../spec/models/v1_pod_template_spec.rb | 60 - .../spec/models/v1_pod_template_spec_spec.rb | 48 - kubernetes/spec/models/v1_policy_rule_spec.rb | 66 - .../models/v1_portworx_volume_source_spec.rb | 54 - .../spec/models/v1_preconditions_spec.rb | 42 - .../v1_preferred_scheduling_term_spec.rb | 48 - kubernetes/spec/models/v1_probe_spec.rb | 84 - .../models/v1_projected_volume_source_spec.rb | 48 - .../models/v1_quobyte_volume_source_spec.rb | 66 - .../v1_rbd_persistent_volume_source_spec.rb | 84 - .../spec/models/v1_rbd_volume_source_spec.rb | 84 - .../models/v1_replica_set_condition_spec.rb | 66 - .../spec/models/v1_replica_set_list_spec.rb | 60 - kubernetes/spec/models/v1_replica_set_spec.rb | 66 - .../spec/models/v1_replica_set_spec_spec.rb | 60 - .../spec/models/v1_replica_set_status_spec.rb | 72 - ...1_replication_controller_condition_spec.rb | 66 - .../v1_replication_controller_list_spec.rb | 60 - .../models/v1_replication_controller_spec.rb | 66 - .../v1_replication_controller_spec_spec.rb | 60 - .../v1_replication_controller_status_spec.rb | 72 - .../models/v1_resource_attributes_spec.rb | 78 - .../models/v1_resource_field_selector_spec.rb | 54 - .../models/v1_resource_quota_list_spec.rb | 60 - .../spec/models/v1_resource_quota_spec.rb | 66 - .../models/v1_resource_quota_spec_spec.rb | 54 - .../models/v1_resource_quota_status_spec.rb | 48 - .../models/v1_resource_requirements_spec.rb | 48 - .../spec/models/v1_resource_rule_spec.rb | 60 - .../spec/models/v1_role_binding_list_spec.rb | 60 - .../spec/models/v1_role_binding_spec.rb | 66 - kubernetes/spec/models/v1_role_list_spec.rb | 60 - kubernetes/spec/models/v1_role_ref_spec.rb | 54 - kubernetes/spec/models/v1_role_spec.rb | 60 - .../v1_rolling_update_daemon_set_spec.rb | 42 - .../v1_rolling_update_deployment_spec.rb | 48 - ...lling_update_stateful_set_strategy_spec.rb | 42 - ..._scale_io_persistent_volume_source_spec.rb | 96 - .../models/v1_scale_io_volume_source_spec.rb | 96 - kubernetes/spec/models/v1_scale_spec.rb | 66 - kubernetes/spec/models/v1_scale_spec_spec.rb | 42 - .../spec/models/v1_scale_status_spec.rb | 48 - .../spec/models/v1_scope_selector_spec.rb | 42 - ...oped_resource_selector_requirement_spec.rb | 54 - .../spec/models/v1_se_linux_options_spec.rb | 60 - .../spec/models/v1_secret_env_source_spec.rb | 48 - .../models/v1_secret_key_selector_spec.rb | 54 - kubernetes/spec/models/v1_secret_list_spec.rb | 60 - .../spec/models/v1_secret_projection_spec.rb | 54 - .../spec/models/v1_secret_reference_spec.rb | 48 - kubernetes/spec/models/v1_secret_spec.rb | 72 - .../models/v1_secret_volume_source_spec.rb | 60 - .../spec/models/v1_security_context_spec.rb | 90 - .../v1_self_subject_access_review_spec.rb | 66 - ...v1_self_subject_access_review_spec_spec.rb | 48 - .../v1_self_subject_rules_review_spec.rb | 66 - .../v1_self_subject_rules_review_spec_spec.rb | 42 - .../v1_server_address_by_client_cidr_spec.rb | 48 - .../models/v1_service_account_list_spec.rb | 60 - .../spec/models/v1_service_account_spec.rb | 72 - ...1_service_account_token_projection_spec.rb | 54 - .../spec/models/v1_service_list_spec.rb | 60 - .../spec/models/v1_service_port_spec.rb | 66 - .../spec/models/v1_service_reference_spec.rb | 48 - kubernetes/spec/models/v1_service_spec.rb | 66 - .../spec/models/v1_service_spec_spec.rb | 114 - .../spec/models/v1_service_status_spec.rb | 42 - .../models/v1_session_affinity_config_spec.rb | 42 - .../models/v1_stateful_set_condition_spec.rb | 66 - .../spec/models/v1_stateful_set_list_spec.rb | 60 - .../spec/models/v1_stateful_set_spec.rb | 66 - .../spec/models/v1_stateful_set_spec_spec.rb | 84 - .../models/v1_stateful_set_status_spec.rb | 90 - .../v1_stateful_set_update_strategy_spec.rb | 48 - .../spec/models/v1_status_cause_spec.rb | 54 - .../spec/models/v1_status_details_spec.rb | 72 - kubernetes/spec/models/v1_status_spec.rb | 84 - .../spec/models/v1_storage_class_list_spec.rb | 60 - .../spec/models/v1_storage_class_spec.rb | 96 - ...torage_os_persistent_volume_source_spec.rb | 66 - .../v1_storage_os_volume_source_spec.rb | 66 - .../models/v1_subject_access_review_spec.rb | 66 - .../v1_subject_access_review_spec_spec.rb | 72 - .../v1_subject_access_review_status_spec.rb | 60 - .../v1_subject_rules_review_status_spec.rb | 60 - kubernetes/spec/models/v1_subject_spec.rb | 60 - kubernetes/spec/models/v1_sysctl_spec.rb | 48 - kubernetes/spec/models/v1_taint_spec.rb | 60 - .../spec/models/v1_tcp_socket_action_spec.rb | 48 - .../spec/models/v1_token_review_spec.rb | 66 - .../spec/models/v1_token_review_spec_spec.rb | 48 - .../models/v1_token_review_status_spec.rb | 60 - kubernetes/spec/models/v1_toleration_spec.rb | 66 - ...opology_selector_label_requirement_spec.rb | 48 - .../models/v1_topology_selector_term_spec.rb | 42 - .../v1_typed_local_object_reference_spec.rb | 54 - kubernetes/spec/models/v1_user_info_spec.rb | 60 - .../models/v1_volume_attachment_list_spec.rb | 60 - .../v1_volume_attachment_source_spec.rb | 42 - .../spec/models/v1_volume_attachment_spec.rb | 66 - .../models/v1_volume_attachment_spec_spec.rb | 54 - .../v1_volume_attachment_status_spec.rb | 60 - .../spec/models/v1_volume_device_spec.rb | 48 - .../spec/models/v1_volume_error_spec.rb | 48 - .../spec/models/v1_volume_mount_spec.rb | 66 - .../models/v1_volume_node_affinity_spec.rb | 42 - .../spec/models/v1_volume_projection_spec.rb | 60 - kubernetes/spec/models/v1_volume_spec.rb | 204 - ...vsphere_virtual_disk_volume_source_spec.rb | 60 - kubernetes/spec/models/v1_watch_event_spec.rb | 48 - .../v1_weighted_pod_affinity_term_spec.rb | 48 - .../models/v1alpha1_aggregation_rule_spec.rb | 42 - .../models/v1alpha1_audit_sink_list_spec.rb | 60 - .../spec/models/v1alpha1_audit_sink_spec.rb | 60 - .../models/v1alpha1_audit_sink_spec_spec.rb | 48 - ...v1alpha1_cluster_role_binding_list_spec.rb | 60 - .../v1alpha1_cluster_role_binding_spec.rb | 66 - .../models/v1alpha1_cluster_role_list_spec.rb | 60 - .../spec/models/v1alpha1_cluster_role_spec.rb | 66 - ...ha1_initializer_configuration_list_spec.rb | 60 - ...v1alpha1_initializer_configuration_spec.rb | 60 - .../spec/models/v1alpha1_initializer_spec.rb | 48 - .../models/v1alpha1_pod_preset_list_spec.rb | 60 - .../spec/models/v1alpha1_pod_preset_spec.rb | 60 - .../models/v1alpha1_pod_preset_spec_spec.rb | 66 - .../spec/models/v1alpha1_policy_rule_spec.rb | 66 - .../spec/models/v1alpha1_policy_spec.rb | 48 - .../v1alpha1_priority_class_list_spec.rb | 60 - .../models/v1alpha1_priority_class_spec.rb | 72 - .../models/v1alpha1_role_binding_list_spec.rb | 60 - .../spec/models/v1alpha1_role_binding_spec.rb | 66 - .../spec/models/v1alpha1_role_list_spec.rb | 60 - .../spec/models/v1alpha1_role_ref_spec.rb | 54 - kubernetes/spec/models/v1alpha1_role_spec.rb | 60 - kubernetes/spec/models/v1alpha1_rule_spec.rb | 54 - .../models/v1alpha1_service_reference_spec.rb | 54 - .../spec/models/v1alpha1_subject_spec.rb | 60 - .../v1alpha1_volume_attachment_list_spec.rb | 60 - .../v1alpha1_volume_attachment_source_spec.rb | 42 - .../models/v1alpha1_volume_attachment_spec.rb | 66 - .../v1alpha1_volume_attachment_spec_spec.rb | 54 - .../v1alpha1_volume_attachment_status_spec.rb | 60 - .../spec/models/v1alpha1_volume_error_spec.rb | 48 - .../v1alpha1_webhook_client_config_spec.rb | 54 - .../spec/models/v1alpha1_webhook_spec.rb | 48 - .../v1alpha1_webhook_throttle_config_spec.rb | 48 - .../models/v1beta1_aggregation_rule_spec.rb | 42 - .../v1beta1_api_service_condition_spec.rb | 66 - .../models/v1beta1_api_service_list_spec.rb | 60 - .../spec/models/v1beta1_api_service_spec.rb | 66 - .../models/v1beta1_api_service_spec_spec.rb | 78 - .../models/v1beta1_api_service_status_spec.rb | 42 - ...tificate_signing_request_condition_spec.rb | 60 - ...1_certificate_signing_request_list_spec.rb | 60 - ...1beta1_certificate_signing_request_spec.rb | 66 - ...1_certificate_signing_request_spec_spec.rb | 72 - ...certificate_signing_request_status_spec.rb | 48 - .../v1beta1_cluster_role_binding_list_spec.rb | 60 - .../v1beta1_cluster_role_binding_spec.rb | 66 - .../models/v1beta1_cluster_role_list_spec.rb | 60 - .../spec/models/v1beta1_cluster_role_spec.rb | 66 - .../v1beta1_controller_revision_list_spec.rb | 60 - .../v1beta1_controller_revision_spec.rb | 66 - .../spec/models/v1beta1_cron_job_list_spec.rb | 60 - .../spec/models/v1beta1_cron_job_spec.rb | 66 - .../spec/models/v1beta1_cron_job_spec_spec.rb | 78 - .../models/v1beta1_cron_job_status_spec.rb | 48 - ..._custom_resource_column_definition_spec.rb | 72 - ...v1beta1_custom_resource_conversion_spec.rb | 48 - ...stom_resource_definition_condition_spec.rb | 66 - ...a1_custom_resource_definition_list_spec.rb | 60 - ...1_custom_resource_definition_names_spec.rb | 72 - ...v1beta1_custom_resource_definition_spec.rb | 66 - ...a1_custom_resource_definition_spec_spec.rb | 90 - ..._custom_resource_definition_status_spec.rb | 54 - ...custom_resource_definition_version_spec.rb | 72 - ..._custom_resource_subresource_scale_spec.rb | 54 - ...beta1_custom_resource_subresources_spec.rb | 48 - ...v1beta1_custom_resource_validation_spec.rb | 42 - .../v1beta1_daemon_set_condition_spec.rb | 66 - .../models/v1beta1_daemon_set_list_spec.rb | 60 - .../spec/models/v1beta1_daemon_set_spec.rb | 66 - .../models/v1beta1_daemon_set_spec_spec.rb | 72 - .../models/v1beta1_daemon_set_status_spec.rb | 96 - ...v1beta1_daemon_set_update_strategy_spec.rb | 48 - .../spec/models/v1beta1_event_list_spec.rb | 60 - .../spec/models/v1beta1_event_series_spec.rb | 54 - kubernetes/spec/models/v1beta1_event_spec.rb | 138 - .../spec/models/v1beta1_eviction_spec.rb | 60 - .../v1beta1_external_documentation_spec.rb | 48 - .../models/v1beta1_http_ingress_path_spec.rb | 48 - .../v1beta1_http_ingress_rule_value_spec.rb | 42 - .../models/v1beta1_ingress_backend_spec.rb | 48 - .../spec/models/v1beta1_ingress_list_spec.rb | 60 - .../spec/models/v1beta1_ingress_rule_spec.rb | 48 - .../spec/models/v1beta1_ingress_spec.rb | 66 - .../spec/models/v1beta1_ingress_spec_spec.rb | 54 - .../models/v1beta1_ingress_status_spec.rb | 42 - .../spec/models/v1beta1_ingress_tls_spec.rb | 48 - .../spec/models/v1beta1_ip_block_spec.rb | 48 - .../models/v1beta1_job_template_spec_spec.rb | 48 - .../models/v1beta1_json_schema_props_spec.rb | 252 -- .../spec/models/v1beta1_lease_list_spec.rb | 60 - kubernetes/spec/models/v1beta1_lease_spec.rb | 60 - .../spec/models/v1beta1_lease_spec_spec.rb | 66 - ...1beta1_local_subject_access_review_spec.rb | 66 - ...utating_webhook_configuration_list_spec.rb | 60 - ...ta1_mutating_webhook_configuration_spec.rb | 60 - ...v1beta1_network_policy_egress_rule_spec.rb | 48 - ...1beta1_network_policy_ingress_rule_spec.rb | 48 - .../v1beta1_network_policy_list_spec.rb | 60 - .../v1beta1_network_policy_peer_spec.rb | 54 - .../v1beta1_network_policy_port_spec.rb | 48 - .../models/v1beta1_network_policy_spec.rb | 60 - .../v1beta1_network_policy_spec_spec.rb | 60 - .../v1beta1_non_resource_attributes_spec.rb | 48 - .../models/v1beta1_non_resource_rule_spec.rb | 48 - ...v1beta1_pod_disruption_budget_list_spec.rb | 60 - .../v1beta1_pod_disruption_budget_spec.rb | 66 - ...v1beta1_pod_disruption_budget_spec_spec.rb | 54 - ...beta1_pod_disruption_budget_status_spec.rb | 72 - .../spec/models/v1beta1_policy_rule_spec.rb | 66 - .../v1beta1_priority_class_list_spec.rb | 60 - .../models/v1beta1_priority_class_spec.rb | 72 - .../v1beta1_replica_set_condition_spec.rb | 66 - .../models/v1beta1_replica_set_list_spec.rb | 60 - .../spec/models/v1beta1_replica_set_spec.rb | 66 - .../models/v1beta1_replica_set_spec_spec.rb | 60 - .../models/v1beta1_replica_set_status_spec.rb | 72 - .../v1beta1_resource_attributes_spec.rb | 78 - .../spec/models/v1beta1_resource_rule_spec.rb | 60 - .../models/v1beta1_role_binding_list_spec.rb | 60 - .../spec/models/v1beta1_role_binding_spec.rb | 66 - .../spec/models/v1beta1_role_list_spec.rb | 60 - .../spec/models/v1beta1_role_ref_spec.rb | 54 - kubernetes/spec/models/v1beta1_role_spec.rb | 60 - .../v1beta1_rolling_update_daemon_set_spec.rb | 42 - ...lling_update_stateful_set_strategy_spec.rb | 42 - .../v1beta1_rule_with_operations_spec.rb | 60 - ...v1beta1_self_subject_access_review_spec.rb | 66 - ...a1_self_subject_access_review_spec_spec.rb | 48 - .../v1beta1_self_subject_rules_review_spec.rb | 66 - ...ta1_self_subject_rules_review_spec_spec.rb | 42 - .../v1beta1_stateful_set_condition_spec.rb | 66 - .../models/v1beta1_stateful_set_list_spec.rb | 60 - .../spec/models/v1beta1_stateful_set_spec.rb | 66 - .../models/v1beta1_stateful_set_spec_spec.rb | 84 - .../v1beta1_stateful_set_status_spec.rb | 90 - ...beta1_stateful_set_update_strategy_spec.rb | 48 - .../models/v1beta1_storage_class_list_spec.rb | 60 - .../spec/models/v1beta1_storage_class_spec.rb | 96 - .../v1beta1_subject_access_review_spec.rb | 66 - ...v1beta1_subject_access_review_spec_spec.rb | 72 - ...beta1_subject_access_review_status_spec.rb | 60 - ...1beta1_subject_rules_review_status_spec.rb | 60 - .../spec/models/v1beta1_subject_spec.rb | 60 - .../spec/models/v1beta1_token_review_spec.rb | 66 - .../models/v1beta1_token_review_spec_spec.rb | 48 - .../v1beta1_token_review_status_spec.rb | 60 - .../spec/models/v1beta1_user_info_spec.rb | 60 - ...idating_webhook_configuration_list_spec.rb | 60 - ...1_validating_webhook_configuration_spec.rb | 60 - .../v1beta1_volume_attachment_list_spec.rb | 60 - .../v1beta1_volume_attachment_source_spec.rb | 42 - .../models/v1beta1_volume_attachment_spec.rb | 66 - .../v1beta1_volume_attachment_spec_spec.rb | 54 - .../v1beta1_volume_attachment_status_spec.rb | 60 - .../spec/models/v1beta1_volume_error_spec.rb | 48 - .../spec/models/v1beta1_webhook_spec.rb | 72 - .../v1beta2_controller_revision_list_spec.rb | 60 - .../v1beta2_controller_revision_spec.rb | 66 - .../v1beta2_daemon_set_condition_spec.rb | 66 - .../models/v1beta2_daemon_set_list_spec.rb | 60 - .../spec/models/v1beta2_daemon_set_spec.rb | 66 - .../models/v1beta2_daemon_set_spec_spec.rb | 66 - .../models/v1beta2_daemon_set_status_spec.rb | 96 - ...v1beta2_daemon_set_update_strategy_spec.rb | 48 - .../v1beta2_deployment_condition_spec.rb | 72 - .../models/v1beta2_deployment_list_spec.rb | 60 - .../spec/models/v1beta2_deployment_spec.rb | 66 - .../models/v1beta2_deployment_spec_spec.rb | 84 - .../models/v1beta2_deployment_status_spec.rb | 84 - .../v1beta2_deployment_strategy_spec.rb | 48 - .../v1beta2_replica_set_condition_spec.rb | 66 - .../models/v1beta2_replica_set_list_spec.rb | 60 - .../spec/models/v1beta2_replica_set_spec.rb | 66 - .../models/v1beta2_replica_set_spec_spec.rb | 60 - .../models/v1beta2_replica_set_status_spec.rb | 72 - .../v1beta2_rolling_update_daemon_set_spec.rb | 42 - .../v1beta2_rolling_update_deployment_spec.rb | 48 - ...lling_update_stateful_set_strategy_spec.rb | 42 - kubernetes/spec/models/v1beta2_scale_spec.rb | 66 - .../spec/models/v1beta2_scale_spec_spec.rb | 42 - .../spec/models/v1beta2_scale_status_spec.rb | 54 - .../v1beta2_stateful_set_condition_spec.rb | 66 - .../models/v1beta2_stateful_set_list_spec.rb | 60 - .../spec/models/v1beta2_stateful_set_spec.rb | 66 - .../models/v1beta2_stateful_set_spec_spec.rb | 84 - .../v1beta2_stateful_set_status_spec.rb | 90 - ...beta2_stateful_set_update_strategy_spec.rb | 48 - .../models/v2alpha1_cron_job_list_spec.rb | 60 - .../spec/models/v2alpha1_cron_job_spec.rb | 66 - .../models/v2alpha1_cron_job_spec_spec.rb | 78 - .../models/v2alpha1_cron_job_status_spec.rb | 48 - .../models/v2alpha1_job_template_spec_spec.rb | 48 - ...ta1_cross_version_object_reference_spec.rb | 54 - .../v2beta1_external_metric_source_spec.rb | 60 - .../v2beta1_external_metric_status_spec.rb | 60 - ...orizontal_pod_autoscaler_condition_spec.rb | 66 - ...ta1_horizontal_pod_autoscaler_list_spec.rb | 60 - .../v2beta1_horizontal_pod_autoscaler_spec.rb | 66 - ...ta1_horizontal_pod_autoscaler_spec_spec.rb | 60 - ...1_horizontal_pod_autoscaler_status_spec.rb | 72 - .../spec/models/v2beta1_metric_spec_spec.rb | 66 - .../spec/models/v2beta1_metric_status_spec.rb | 66 - .../v2beta1_object_metric_source_spec.rb | 66 - .../v2beta1_object_metric_status_spec.rb | 66 - .../models/v2beta1_pods_metric_source_spec.rb | 54 - .../models/v2beta1_pods_metric_status_spec.rb | 54 - .../v2beta1_resource_metric_source_spec.rb | 54 - .../v2beta1_resource_metric_status_spec.rb | 54 - ...ta2_cross_version_object_reference_spec.rb | 54 - .../v2beta2_external_metric_source_spec.rb | 48 - .../v2beta2_external_metric_status_spec.rb | 48 - ...orizontal_pod_autoscaler_condition_spec.rb | 66 - ...ta2_horizontal_pod_autoscaler_list_spec.rb | 60 - .../v2beta2_horizontal_pod_autoscaler_spec.rb | 66 - ...ta2_horizontal_pod_autoscaler_spec_spec.rb | 60 - ...2_horizontal_pod_autoscaler_status_spec.rb | 72 - .../models/v2beta2_metric_identifier_spec.rb | 48 - .../spec/models/v2beta2_metric_spec_spec.rb | 66 - .../spec/models/v2beta2_metric_status_spec.rb | 66 - .../spec/models/v2beta2_metric_target_spec.rb | 60 - .../v2beta2_metric_value_status_spec.rb | 54 - .../v2beta2_object_metric_source_spec.rb | 54 - .../v2beta2_object_metric_status_spec.rb | 54 - .../models/v2beta2_pods_metric_source_spec.rb | 48 - .../models/v2beta2_pods_metric_status_spec.rb | 48 - .../v2beta2_resource_metric_source_spec.rb | 48 - .../v2beta2_resource_metric_status_spec.rb | 48 - kubernetes/spec/models/version_info_spec.rb | 90 - 635 files changed, 51706 deletions(-) delete mode 100644 kubernetes/spec/api/admissionregistration_api_spec.rb delete mode 100644 kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/apiextensions_api_spec.rb delete mode 100644 kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/apiregistration_api_spec.rb delete mode 100644 kubernetes/spec/api/apiregistration_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/apis_api_spec.rb delete mode 100644 kubernetes/spec/api/apps_api_spec.rb delete mode 100644 kubernetes/spec/api/apps_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/apps_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/apps_v1beta2_api_spec.rb delete mode 100644 kubernetes/spec/api/auditregistration_api_spec.rb delete mode 100644 kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/authentication_api_spec.rb delete mode 100644 kubernetes/spec/api/authentication_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/authentication_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/authorization_api_spec.rb delete mode 100644 kubernetes/spec/api/authorization_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/authorization_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/autoscaling_api_spec.rb delete mode 100644 kubernetes/spec/api/autoscaling_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb delete mode 100644 kubernetes/spec/api/batch_api_spec.rb delete mode 100644 kubernetes/spec/api/batch_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/batch_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/batch_v2alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/certificates_api_spec.rb delete mode 100644 kubernetes/spec/api/certificates_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/coordination_api_spec.rb delete mode 100644 kubernetes/spec/api/coordination_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/core_api_spec.rb delete mode 100644 kubernetes/spec/api/core_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/custom_objects_api_spec.rb delete mode 100644 kubernetes/spec/api/events_api_spec.rb delete mode 100644 kubernetes/spec/api/events_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/extensions_api_spec.rb delete mode 100644 kubernetes/spec/api/extensions_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/logs_api_spec.rb delete mode 100644 kubernetes/spec/api/networking_api_spec.rb delete mode 100644 kubernetes/spec/api/networking_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/policy_api_spec.rb delete mode 100644 kubernetes/spec/api/policy_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/rbac_authorization_api_spec.rb delete mode 100644 kubernetes/spec/api/rbac_authorization_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/scheduling_api_spec.rb delete mode 100644 kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/scheduling_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/settings_api_spec.rb delete mode 100644 kubernetes/spec/api/settings_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/storage_api_spec.rb delete mode 100644 kubernetes/spec/api/storage_v1_api_spec.rb delete mode 100644 kubernetes/spec/api/storage_v1alpha1_api_spec.rb delete mode 100644 kubernetes/spec/api/storage_v1beta1_api_spec.rb delete mode 100644 kubernetes/spec/api/version_api_spec.rb delete mode 100644 kubernetes/spec/api_client_spec.rb delete mode 100644 kubernetes/spec/configuration_spec.rb delete mode 100644 kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb delete mode 100644 kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb delete mode 100644 kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb delete mode 100644 kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb delete mode 100644 kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_scale_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb delete mode 100644 kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_scale_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_id_range_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb delete mode 100644 kubernetes/spec/models/runtime_raw_extension_spec.rb delete mode 100644 kubernetes/spec/models/v1_affinity_spec.rb delete mode 100644 kubernetes/spec/models/v1_aggregation_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_group_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_group_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_resource_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_resource_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_service_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_service_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_service_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_service_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_service_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_api_versions_spec.rb delete mode 100644 kubernetes/spec/models/v1_attached_volume_spec.rb delete mode 100644 kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_azure_file_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1_capabilities_spec.rb delete mode 100644 kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_cinder_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_client_ip_config_spec.rb delete mode 100644 kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_cluster_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1_cluster_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_cluster_role_spec.rb delete mode 100644 kubernetes/spec/models/v1_component_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_component_status_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_component_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_env_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_key_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_node_config_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_projection_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_spec.rb delete mode 100644 kubernetes/spec/models/v1_config_map_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_image_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_port_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_state_running_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_state_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_state_terminated_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_state_waiting_spec.rb delete mode 100644 kubernetes/spec/models/v1_container_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_controller_revision_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_controller_revision_spec.rb delete mode 100644 kubernetes/spec/models/v1_cross_version_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_endpoint_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1_delete_options_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_deployment_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1_downward_api_projection_spec.rb delete mode 100644 kubernetes/spec/models/v1_downward_api_volume_file_spec.rb delete mode 100644 kubernetes/spec/models/v1_downward_api_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_endpoint_address_spec.rb delete mode 100644 kubernetes/spec/models/v1_endpoint_port_spec.rb delete mode 100644 kubernetes/spec/models/v1_endpoint_subset_spec.rb delete mode 100644 kubernetes/spec/models/v1_endpoints_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_endpoints_spec.rb delete mode 100644 kubernetes/spec/models/v1_env_from_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_env_var_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_env_var_spec.rb delete mode 100644 kubernetes/spec/models/v1_event_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_event_series_spec.rb delete mode 100644 kubernetes/spec/models/v1_event_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_event_spec.rb delete mode 100644 kubernetes/spec/models/v1_exec_action_spec.rb delete mode 100644 kubernetes/spec/models/v1_fc_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_flex_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_flocker_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_git_repo_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_group_version_for_discovery_spec.rb delete mode 100644 kubernetes/spec/models/v1_handler_spec.rb delete mode 100644 kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb delete mode 100644 kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_host_alias_spec.rb delete mode 100644 kubernetes/spec/models/v1_host_path_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_http_get_action_spec.rb delete mode 100644 kubernetes/spec/models/v1_http_header_spec.rb delete mode 100644 kubernetes/spec/models/v1_initializer_spec.rb delete mode 100644 kubernetes/spec/models/v1_initializers_spec.rb delete mode 100644 kubernetes/spec/models/v1_ip_block_spec.rb delete mode 100644 kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_iscsi_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_job_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_job_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_job_spec.rb delete mode 100644 kubernetes/spec/models/v1_job_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_job_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_key_to_path_spec.rb delete mode 100644 kubernetes/spec/models/v1_label_selector_requirement_spec.rb delete mode 100644 kubernetes/spec/models/v1_label_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_lifecycle_spec.rb delete mode 100644 kubernetes/spec/models/v1_limit_range_item_spec.rb delete mode 100644 kubernetes/spec/models/v1_limit_range_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_limit_range_spec.rb delete mode 100644 kubernetes/spec/models/v1_limit_range_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_list_meta_spec.rb delete mode 100644 kubernetes/spec/models/v1_load_balancer_ingress_spec.rb delete mode 100644 kubernetes/spec/models/v1_load_balancer_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_local_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_local_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1_local_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_namespace_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_namespace_spec.rb delete mode 100644 kubernetes/spec/models/v1_namespace_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_namespace_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_peer_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_port_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_spec.rb delete mode 100644 kubernetes/spec/models/v1_network_policy_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_nfs_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_address_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_affinity_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_config_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_config_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_selector_requirement_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_selector_term_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_node_system_info_spec.rb delete mode 100644 kubernetes/spec/models/v1_non_resource_attributes_spec.rb delete mode 100644 kubernetes/spec/models/v1_non_resource_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_object_field_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_object_meta_spec.rb delete mode 100644 kubernetes/spec/models/v1_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_owner_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_persistent_volume_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_affinity_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_affinity_term_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_anti_affinity_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_dns_config_option_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_dns_config_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_readiness_gate_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_security_context_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_template_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_template_spec.rb delete mode 100644 kubernetes/spec/models/v1_pod_template_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_policy_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_portworx_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_preconditions_spec.rb delete mode 100644 kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb delete mode 100644 kubernetes/spec/models/v1_probe_spec.rb delete mode 100644 kubernetes/spec/models/v1_projected_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_quobyte_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_rbd_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_replica_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_replica_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_replica_set_spec.rb delete mode 100644 kubernetes/spec/models/v1_replica_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_replica_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_replication_controller_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_replication_controller_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_replication_controller_spec.rb delete mode 100644 kubernetes/spec/models/v1_replication_controller_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_replication_controller_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_attributes_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_field_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_quota_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_quota_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_quota_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_quota_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_requirements_spec.rb delete mode 100644 kubernetes/spec/models/v1_resource_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_role_ref_spec.rb delete mode 100644 kubernetes/spec/models/v1_role_spec.rb delete mode 100644 kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1_rolling_update_deployment_spec.rb delete mode 100644 kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_scale_io_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_scale_spec.rb delete mode 100644 kubernetes/spec/models/v1_scale_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_scale_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_scope_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb delete mode 100644 kubernetes/spec/models/v1_se_linux_options_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_env_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_key_selector_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_projection_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_spec.rb delete mode 100644 kubernetes/spec/models/v1_secret_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_security_context_spec.rb delete mode 100644 kubernetes/spec/models/v1_self_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_self_subject_rules_review_spec.rb delete mode 100644 kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_account_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_account_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_account_token_projection_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_port_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_service_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_session_affinity_config_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1_status_cause_spec.rb delete mode 100644 kubernetes/spec/models/v1_status_details_spec.rb delete mode 100644 kubernetes/spec/models/v1_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_storage_class_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_storage_class_spec.rb delete mode 100644 kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_storage_os_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1_subject_access_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_subject_access_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_subject_rules_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_subject_spec.rb delete mode 100644 kubernetes/spec/models/v1_sysctl_spec.rb delete mode 100644 kubernetes/spec/models/v1_taint_spec.rb delete mode 100644 kubernetes/spec/models/v1_tcp_socket_action_spec.rb delete mode 100644 kubernetes/spec/models/v1_token_review_spec.rb delete mode 100644 kubernetes/spec/models/v1_token_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_token_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_toleration_spec.rb delete mode 100644 kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb delete mode 100644 kubernetes/spec/models/v1_topology_selector_term_spec.rb delete mode 100644 kubernetes/spec/models/v1_typed_local_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1_user_info_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_attachment_list_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_attachment_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_attachment_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_attachment_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_attachment_status_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_device_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_error_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_mount_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_node_affinity_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_projection_spec.rb delete mode 100644 kubernetes/spec/models/v1_volume_spec.rb delete mode 100644 kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb delete mode 100644 kubernetes/spec/models/v1_watch_event_spec.rb delete mode 100644 kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_audit_sink_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_cluster_role_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_initializer_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_pod_preset_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_policy_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_policy_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_priority_class_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_role_ref_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_role_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_service_reference_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_subject_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_volume_error_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_webhook_spec.rb delete mode 100644 kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_api_service_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_api_service_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_api_service_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_api_service_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_api_service_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cluster_role_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_controller_revision_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cron_job_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cron_job_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_cron_job_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_event_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_event_series_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_event_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_eviction_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_external_documentation_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_backend_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ingress_tls_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_ip_block_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_job_template_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_json_schema_props_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_lease_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_lease_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_lease_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_port_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_policy_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_priority_class_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_priority_class_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_replica_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_replica_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_replica_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_resource_attributes_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_resource_rule_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_role_binding_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_role_binding_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_role_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_role_ref_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_role_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_storage_class_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_storage_class_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_subject_access_review_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_subject_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_token_review_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_token_review_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_token_review_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_user_info_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_volume_error_spec.rb delete mode 100644 kubernetes/spec/models/v1beta1_webhook_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_controller_revision_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_replica_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_replica_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_replica_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_scale_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_scale_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_scale_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb delete mode 100644 kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb delete mode 100644 kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb delete mode 100644 kubernetes/spec/models/v2alpha1_cron_job_spec.rb delete mode 100644 kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb delete mode 100644 kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_external_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_external_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_metric_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_object_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_object_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_external_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_external_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_metric_identifier_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_metric_spec_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_metric_target_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_metric_value_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_object_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_object_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb delete mode 100644 kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb delete mode 100644 kubernetes/spec/models/version_info_spec.rb diff --git a/kubernetes/spec/api/admissionregistration_api_spec.rb b/kubernetes/spec/api/admissionregistration_api_spec.rb deleted file mode 100644 index 66e09886..00000000 --- a/kubernetes/spec/api/admissionregistration_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AdmissionregistrationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AdmissionregistrationApi' do - before do - # run before each test - @instance = Kubernetes::AdmissionregistrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AdmissionregistrationApi' do - it 'should create an instance of AdmissionregistrationApi' do - expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb b/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb deleted file mode 100644 index 94ca9a8d..00000000 --- a/kubernetes/spec/api/admissionregistration_v1alpha1_api_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AdmissionregistrationV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AdmissionregistrationV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::AdmissionregistrationV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AdmissionregistrationV1alpha1Api' do - it 'should create an instance of AdmissionregistrationV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1alpha1Api) - end - end - - # unit tests for create_initializer_configuration - # - # create an InitializerConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1InitializerConfiguration] - describe 'create_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_initializer_configuration - # - # delete collection of InitializerConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_initializer_configuration - # - # delete an InitializerConfiguration - # @param name name of the InitializerConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_initializer_configuration - # - # list or watch objects of kind InitializerConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1InitializerConfigurationList] - describe 'list_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_initializer_configuration - # - # partially update the specified InitializerConfiguration - # @param name name of the InitializerConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1InitializerConfiguration] - describe 'patch_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_initializer_configuration - # - # read the specified InitializerConfiguration - # @param name name of the InitializerConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1InitializerConfiguration] - describe 'read_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_initializer_configuration - # - # replace the specified InitializerConfiguration - # @param name name of the InitializerConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1InitializerConfiguration] - describe 'replace_initializer_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb b/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb deleted file mode 100644 index 8002ce47..00000000 --- a/kubernetes/spec/api/admissionregistration_v1beta1_api_spec.rb +++ /dev/null @@ -1,282 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AdmissionregistrationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AdmissionregistrationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::AdmissionregistrationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AdmissionregistrationV1beta1Api' do - it 'should create an instance of AdmissionregistrationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1Api) - end - end - - # unit tests for create_mutating_webhook_configuration - # - # create a MutatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1MutatingWebhookConfiguration] - describe 'create_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_validating_webhook_configuration - # - # create a ValidatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ValidatingWebhookConfiguration] - describe 'create_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_mutating_webhook_configuration - # - # delete collection of MutatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_validating_webhook_configuration - # - # delete collection of ValidatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_mutating_webhook_configuration - # - # delete a MutatingWebhookConfiguration - # @param name name of the MutatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_validating_webhook_configuration - # - # delete a ValidatingWebhookConfiguration - # @param name name of the ValidatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_mutating_webhook_configuration - # - # list or watch objects of kind MutatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1MutatingWebhookConfigurationList] - describe 'list_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_validating_webhook_configuration - # - # list or watch objects of kind ValidatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ValidatingWebhookConfigurationList] - describe 'list_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_mutating_webhook_configuration - # - # partially update the specified MutatingWebhookConfiguration - # @param name name of the MutatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1MutatingWebhookConfiguration] - describe 'patch_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_validating_webhook_configuration - # - # partially update the specified ValidatingWebhookConfiguration - # @param name name of the ValidatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ValidatingWebhookConfiguration] - describe 'patch_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_mutating_webhook_configuration - # - # read the specified MutatingWebhookConfiguration - # @param name name of the MutatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1MutatingWebhookConfiguration] - describe 'read_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_validating_webhook_configuration - # - # read the specified ValidatingWebhookConfiguration - # @param name name of the ValidatingWebhookConfiguration - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1ValidatingWebhookConfiguration] - describe 'read_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_mutating_webhook_configuration - # - # replace the specified MutatingWebhookConfiguration - # @param name name of the MutatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1MutatingWebhookConfiguration] - describe 'replace_mutating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_validating_webhook_configuration - # - # replace the specified ValidatingWebhookConfiguration - # @param name name of the ValidatingWebhookConfiguration - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ValidatingWebhookConfiguration] - describe 'replace_validating_webhook_configuration test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apiextensions_api_spec.rb b/kubernetes/spec/api/apiextensions_api_spec.rb deleted file mode 100644 index f1ba3d12..00000000 --- a/kubernetes/spec/api/apiextensions_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApiextensionsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiextensionsApi' do - before do - # run before each test - @instance = Kubernetes::ApiextensionsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiextensionsApi' do - it 'should create an instance of ApiextensionsApi' do - expect(@instance).to be_instance_of(Kubernetes::ApiextensionsApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb b/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb deleted file mode 100644 index 514ee4e2..00000000 --- a/kubernetes/spec/api/apiextensions_v1beta1_api_spec.rb +++ /dev/null @@ -1,207 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApiextensionsV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiextensionsV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::ApiextensionsV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiextensionsV1beta1Api' do - it 'should create an instance of ApiextensionsV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::ApiextensionsV1beta1Api) - end - end - - # unit tests for create_custom_resource_definition - # - # create a CustomResourceDefinition - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CustomResourceDefinition] - describe 'create_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_custom_resource_definition - # - # delete collection of CustomResourceDefinition - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_custom_resource_definition - # - # delete a CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_custom_resource_definition - # - # list or watch objects of kind CustomResourceDefinition - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1CustomResourceDefinitionList] - describe 'list_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_custom_resource_definition - # - # partially update the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CustomResourceDefinition] - describe 'patch_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_custom_resource_definition_status - # - # partially update status of the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CustomResourceDefinition] - describe 'patch_custom_resource_definition_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_custom_resource_definition - # - # read the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1CustomResourceDefinition] - describe 'read_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_custom_resource_definition_status - # - # read status of the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1CustomResourceDefinition] - describe 'read_custom_resource_definition_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_custom_resource_definition - # - # replace the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CustomResourceDefinition] - describe 'replace_custom_resource_definition test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_custom_resource_definition_status - # - # replace status of the specified CustomResourceDefinition - # @param name name of the CustomResourceDefinition - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CustomResourceDefinition] - describe 'replace_custom_resource_definition_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apiregistration_api_spec.rb b/kubernetes/spec/api/apiregistration_api_spec.rb deleted file mode 100644 index 2875a03b..00000000 --- a/kubernetes/spec/api/apiregistration_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApiregistrationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiregistrationApi' do - before do - # run before each test - @instance = Kubernetes::ApiregistrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiregistrationApi' do - it 'should create an instance of ApiregistrationApi' do - expect(@instance).to be_instance_of(Kubernetes::ApiregistrationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apiregistration_v1_api_spec.rb b/kubernetes/spec/api/apiregistration_v1_api_spec.rb deleted file mode 100644 index 40976f4e..00000000 --- a/kubernetes/spec/api/apiregistration_v1_api_spec.rb +++ /dev/null @@ -1,207 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApiregistrationV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiregistrationV1Api' do - before do - # run before each test - @instance = Kubernetes::ApiregistrationV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiregistrationV1Api' do - it 'should create an instance of ApiregistrationV1Api' do - expect(@instance).to be_instance_of(Kubernetes::ApiregistrationV1Api) - end - end - - # unit tests for create_api_service - # - # create an APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1APIService] - describe 'create_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_api_service - # - # delete an APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_api_service - # - # delete collection of APIService - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_api_service - # - # list or watch objects of kind APIService - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1APIServiceList] - describe 'list_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_api_service - # - # partially update the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1APIService] - describe 'patch_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_api_service_status - # - # partially update status of the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1APIService] - describe 'patch_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_api_service - # - # read the specified APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1APIService] - describe 'read_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_api_service_status - # - # read status of the specified APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1APIService] - describe 'read_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_api_service - # - # replace the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1APIService] - describe 'replace_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_api_service_status - # - # replace status of the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1APIService] - describe 'replace_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb b/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb deleted file mode 100644 index c2863fad..00000000 --- a/kubernetes/spec/api/apiregistration_v1beta1_api_spec.rb +++ /dev/null @@ -1,207 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApiregistrationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiregistrationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::ApiregistrationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiregistrationV1beta1Api' do - it 'should create an instance of ApiregistrationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::ApiregistrationV1beta1Api) - end - end - - # unit tests for create_api_service - # - # create an APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1APIService] - describe 'create_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_api_service - # - # delete an APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_api_service - # - # delete collection of APIService - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_api_service - # - # list or watch objects of kind APIService - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1APIServiceList] - describe 'list_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_api_service - # - # partially update the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1APIService] - describe 'patch_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_api_service_status - # - # partially update status of the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1APIService] - describe 'patch_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_api_service - # - # read the specified APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1APIService] - describe 'read_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_api_service_status - # - # read status of the specified APIService - # @param name name of the APIService - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1APIService] - describe 'read_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_api_service - # - # replace the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1APIService] - describe 'replace_api_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_api_service_status - # - # replace status of the specified APIService - # @param name name of the APIService - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1APIService] - describe 'replace_api_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apis_api_spec.rb b/kubernetes/spec/api/apis_api_spec.rb deleted file mode 100644 index ad9b6d7a..00000000 --- a/kubernetes/spec/api/apis_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ApisApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApisApi' do - before do - # run before each test - @instance = Kubernetes::ApisApi.new - end - - after do - # run after each test - end - - describe 'test an instance of ApisApi' do - it 'should create an instance of ApisApi' do - expect(@instance).to be_instance_of(Kubernetes::ApisApi) - end - end - - # unit tests for get_api_versions - # - # get available API versions - # @param [Hash] opts the optional parameters - # @return [V1APIGroupList] - describe 'get_api_versions test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apps_api_spec.rb b/kubernetes/spec/api/apps_api_spec.rb deleted file mode 100644 index 48c98b21..00000000 --- a/kubernetes/spec/api/apps_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AppsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsApi' do - before do - # run before each test - @instance = Kubernetes::AppsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsApi' do - it 'should create an instance of AppsApi' do - expect(@instance).to be_instance_of(Kubernetes::AppsApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apps_v1_api_spec.rb b/kubernetes/spec/api/apps_v1_api_spec.rb deleted file mode 100644 index dafb1c13..00000000 --- a/kubernetes/spec/api/apps_v1_api_spec.rb +++ /dev/null @@ -1,1093 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AppsV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1Api' do - before do - # run before each test - @instance = Kubernetes::AppsV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1Api' do - it 'should create an instance of AppsV1Api' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1Api) - end - end - - # unit tests for create_namespaced_controller_revision - # - # create a ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ControllerRevision] - describe 'create_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_daemon_set - # - # create a DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1DaemonSet] - describe 'create_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment - # - # create a Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Deployment] - describe 'create_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_replica_set - # - # create a ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicaSet] - describe 'create_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_stateful_set - # - # create a StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StatefulSet] - describe 'create_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_controller_revision - # - # delete collection of ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_daemon_set - # - # delete collection of DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_deployment - # - # delete collection of Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_replica_set - # - # delete collection of ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_stateful_set - # - # delete collection of StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_controller_revision - # - # delete a ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_daemon_set - # - # delete a DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_deployment - # - # delete a Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_replica_set - # - # delete a ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_stateful_set - # - # delete a StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_controller_revision_for_all_namespaces - # - # list or watch objects of kind ControllerRevision - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ControllerRevisionList] - describe 'list_controller_revision_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_daemon_set_for_all_namespaces - # - # list or watch objects of kind DaemonSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1DaemonSetList] - describe 'list_daemon_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_deployment_for_all_namespaces - # - # list or watch objects of kind Deployment - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1DeploymentList] - describe 'list_deployment_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_controller_revision - # - # list or watch objects of kind ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ControllerRevisionList] - describe 'list_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_daemon_set - # - # list or watch objects of kind DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1DaemonSetList] - describe 'list_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_deployment - # - # list or watch objects of kind Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1DeploymentList] - describe 'list_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_replica_set - # - # list or watch objects of kind ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ReplicaSetList] - describe 'list_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_stateful_set - # - # list or watch objects of kind StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1StatefulSetList] - describe 'list_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_replica_set_for_all_namespaces - # - # list or watch objects of kind ReplicaSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ReplicaSetList] - describe 'list_replica_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_stateful_set_for_all_namespaces - # - # list or watch objects of kind StatefulSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1StatefulSetList] - describe 'list_stateful_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_controller_revision - # - # partially update the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ControllerRevision] - describe 'patch_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set - # - # partially update the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1DaemonSet] - describe 'patch_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set_status - # - # partially update status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1DaemonSet] - describe 'patch_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment - # - # partially update the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Deployment] - describe 'patch_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_scale - # - # partially update scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'patch_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_status - # - # partially update status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Deployment] - describe 'patch_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set - # - # partially update the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicaSet] - describe 'patch_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_scale - # - # partially update scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'patch_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_status - # - # partially update status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicaSet] - describe 'patch_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set - # - # partially update the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StatefulSet] - describe 'patch_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_scale - # - # partially update scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'patch_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_status - # - # partially update status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StatefulSet] - describe 'patch_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_controller_revision - # - # read the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ControllerRevision] - describe 'read_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set - # - # read the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1DaemonSet] - describe 'read_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set_status - # - # read status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1DaemonSet] - describe 'read_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment - # - # read the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Deployment] - describe 'read_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_scale - # - # read scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Scale] - describe 'read_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_status - # - # read status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Deployment] - describe 'read_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set - # - # read the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ReplicaSet] - describe 'read_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_scale - # - # read scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Scale] - describe 'read_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_status - # - # read status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ReplicaSet] - describe 'read_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set - # - # read the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1StatefulSet] - describe 'read_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_scale - # - # read scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Scale] - describe 'read_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_status - # - # read status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1StatefulSet] - describe 'read_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_controller_revision - # - # replace the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ControllerRevision] - describe 'replace_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set - # - # replace the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1DaemonSet] - describe 'replace_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set_status - # - # replace status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1DaemonSet] - describe 'replace_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment - # - # replace the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Deployment] - describe 'replace_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_scale - # - # replace scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'replace_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_status - # - # replace status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Deployment] - describe 'replace_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set - # - # replace the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicaSet] - describe 'replace_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_scale - # - # replace scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'replace_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_status - # - # replace status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicaSet] - describe 'replace_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set - # - # replace the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StatefulSet] - describe 'replace_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_scale - # - # replace scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'replace_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_status - # - # replace status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StatefulSet] - describe 'replace_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apps_v1beta1_api_spec.rb b/kubernetes/spec/api/apps_v1beta1_api_spec.rb deleted file mode 100644 index 490f2f1b..00000000 --- a/kubernetes/spec/api/apps_v1beta1_api_spec.rb +++ /dev/null @@ -1,682 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AppsV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1Api' do - it 'should create an instance of AppsV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1Api) - end - end - - # unit tests for create_namespaced_controller_revision - # - # create a ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ControllerRevision] - describe 'create_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment - # - # create a Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Deployment] - describe 'create_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment_rollback - # - # create rollback of a Deployment - # @param name name of the DeploymentRollback - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Status] - describe 'create_namespaced_deployment_rollback test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_stateful_set - # - # create a StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StatefulSet] - describe 'create_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_controller_revision - # - # delete collection of ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_deployment - # - # delete collection of Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_stateful_set - # - # delete collection of StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_controller_revision - # - # delete a ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_deployment - # - # delete a Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_stateful_set - # - # delete a StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_controller_revision_for_all_namespaces - # - # list or watch objects of kind ControllerRevision - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ControllerRevisionList] - describe 'list_controller_revision_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_deployment_for_all_namespaces - # - # list or watch objects of kind Deployment - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [AppsV1beta1DeploymentList] - describe 'list_deployment_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_controller_revision - # - # list or watch objects of kind ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ControllerRevisionList] - describe 'list_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_deployment - # - # list or watch objects of kind Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [AppsV1beta1DeploymentList] - describe 'list_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_stateful_set - # - # list or watch objects of kind StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1StatefulSetList] - describe 'list_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_stateful_set_for_all_namespaces - # - # list or watch objects of kind StatefulSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1StatefulSetList] - describe 'list_stateful_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_controller_revision - # - # partially update the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ControllerRevision] - describe 'patch_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment - # - # partially update the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Deployment] - describe 'patch_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_scale - # - # partially update scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Scale] - describe 'patch_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_status - # - # partially update status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Deployment] - describe 'patch_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set - # - # partially update the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StatefulSet] - describe 'patch_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_scale - # - # partially update scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Scale] - describe 'patch_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_status - # - # partially update status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StatefulSet] - describe 'patch_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_controller_revision - # - # read the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1ControllerRevision] - describe 'read_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment - # - # read the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [AppsV1beta1Deployment] - describe 'read_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_scale - # - # read scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [AppsV1beta1Scale] - describe 'read_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_status - # - # read status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [AppsV1beta1Deployment] - describe 'read_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set - # - # read the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1StatefulSet] - describe 'read_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_scale - # - # read scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [AppsV1beta1Scale] - describe 'read_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_status - # - # read status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1StatefulSet] - describe 'read_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_controller_revision - # - # replace the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ControllerRevision] - describe 'replace_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment - # - # replace the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Deployment] - describe 'replace_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_scale - # - # replace scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Scale] - describe 'replace_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_status - # - # replace status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Deployment] - describe 'replace_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set - # - # replace the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StatefulSet] - describe 'replace_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_scale - # - # replace scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [AppsV1beta1Scale] - describe 'replace_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_status - # - # replace status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StatefulSet] - describe 'replace_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/apps_v1beta2_api_spec.rb b/kubernetes/spec/api/apps_v1beta2_api_spec.rb deleted file mode 100644 index 31ca1aab..00000000 --- a/kubernetes/spec/api/apps_v1beta2_api_spec.rb +++ /dev/null @@ -1,1093 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AppsV1beta2Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta2Api' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta2Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta2Api' do - it 'should create an instance of AppsV1beta2Api' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta2Api) - end - end - - # unit tests for create_namespaced_controller_revision - # - # create a ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ControllerRevision] - describe 'create_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_daemon_set - # - # create a DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2DaemonSet] - describe 'create_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment - # - # create a Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Deployment] - describe 'create_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_replica_set - # - # create a ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ReplicaSet] - describe 'create_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_stateful_set - # - # create a StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2StatefulSet] - describe 'create_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_controller_revision - # - # delete collection of ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_daemon_set - # - # delete collection of DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_deployment - # - # delete collection of Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_replica_set - # - # delete collection of ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_stateful_set - # - # delete collection of StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_controller_revision - # - # delete a ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_daemon_set - # - # delete a DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_deployment - # - # delete a Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_replica_set - # - # delete a ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_stateful_set - # - # delete a StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_controller_revision_for_all_namespaces - # - # list or watch objects of kind ControllerRevision - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2ControllerRevisionList] - describe 'list_controller_revision_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_daemon_set_for_all_namespaces - # - # list or watch objects of kind DaemonSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2DaemonSetList] - describe 'list_daemon_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_deployment_for_all_namespaces - # - # list or watch objects of kind Deployment - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2DeploymentList] - describe 'list_deployment_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_controller_revision - # - # list or watch objects of kind ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2ControllerRevisionList] - describe 'list_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_daemon_set - # - # list or watch objects of kind DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2DaemonSetList] - describe 'list_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_deployment - # - # list or watch objects of kind Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2DeploymentList] - describe 'list_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_replica_set - # - # list or watch objects of kind ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2ReplicaSetList] - describe 'list_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_stateful_set - # - # list or watch objects of kind StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2StatefulSetList] - describe 'list_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_replica_set_for_all_namespaces - # - # list or watch objects of kind ReplicaSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2ReplicaSetList] - describe 'list_replica_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_stateful_set_for_all_namespaces - # - # list or watch objects of kind StatefulSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta2StatefulSetList] - describe 'list_stateful_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_controller_revision - # - # partially update the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ControllerRevision] - describe 'patch_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set - # - # partially update the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2DaemonSet] - describe 'patch_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set_status - # - # partially update status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2DaemonSet] - describe 'patch_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment - # - # partially update the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Deployment] - describe 'patch_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_scale - # - # partially update scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'patch_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_status - # - # partially update status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Deployment] - describe 'patch_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set - # - # partially update the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ReplicaSet] - describe 'patch_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_scale - # - # partially update scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'patch_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_status - # - # partially update status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ReplicaSet] - describe 'patch_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set - # - # partially update the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2StatefulSet] - describe 'patch_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_scale - # - # partially update scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'patch_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_stateful_set_status - # - # partially update status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2StatefulSet] - describe 'patch_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_controller_revision - # - # read the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta2ControllerRevision] - describe 'read_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set - # - # read the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta2DaemonSet] - describe 'read_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set_status - # - # read status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2DaemonSet] - describe 'read_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment - # - # read the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta2Deployment] - describe 'read_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_scale - # - # read scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2Scale] - describe 'read_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_status - # - # read status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2Deployment] - describe 'read_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set - # - # read the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta2ReplicaSet] - describe 'read_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_scale - # - # read scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2Scale] - describe 'read_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_status - # - # read status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2ReplicaSet] - describe 'read_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set - # - # read the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta2StatefulSet] - describe 'read_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_scale - # - # read scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2Scale] - describe 'read_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_stateful_set_status - # - # read status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta2StatefulSet] - describe 'read_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_controller_revision - # - # replace the specified ControllerRevision - # @param name name of the ControllerRevision - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ControllerRevision] - describe 'replace_namespaced_controller_revision test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set - # - # replace the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2DaemonSet] - describe 'replace_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set_status - # - # replace status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2DaemonSet] - describe 'replace_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment - # - # replace the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Deployment] - describe 'replace_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_scale - # - # replace scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'replace_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_status - # - # replace status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Deployment] - describe 'replace_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set - # - # replace the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ReplicaSet] - describe 'replace_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_scale - # - # replace scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'replace_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_status - # - # replace status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2ReplicaSet] - describe 'replace_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set - # - # replace the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2StatefulSet] - describe 'replace_namespaced_stateful_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_scale - # - # replace scale of the specified StatefulSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2Scale] - describe 'replace_namespaced_stateful_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_stateful_set_status - # - # replace status of the specified StatefulSet - # @param name name of the StatefulSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta2StatefulSet] - describe 'replace_namespaced_stateful_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/auditregistration_api_spec.rb b/kubernetes/spec/api/auditregistration_api_spec.rb deleted file mode 100644 index a4b89e52..00000000 --- a/kubernetes/spec/api/auditregistration_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuditregistrationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuditregistrationApi' do - before do - # run before each test - @instance = Kubernetes::AuditregistrationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AuditregistrationApi' do - it 'should create an instance of AuditregistrationApi' do - expect(@instance).to be_instance_of(Kubernetes::AuditregistrationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb b/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb deleted file mode 100644 index 2f592b66..00000000 --- a/kubernetes/spec/api/auditregistration_v1alpha1_api_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuditregistrationV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuditregistrationV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::AuditregistrationV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AuditregistrationV1alpha1Api' do - it 'should create an instance of AuditregistrationV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::AuditregistrationV1alpha1Api) - end - end - - # unit tests for create_audit_sink - # - # create an AuditSink - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1AuditSink] - describe 'create_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_audit_sink - # - # delete an AuditSink - # @param name name of the AuditSink - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_audit_sink - # - # delete collection of AuditSink - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_audit_sink - # - # list or watch objects of kind AuditSink - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1AuditSinkList] - describe 'list_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_audit_sink - # - # partially update the specified AuditSink - # @param name name of the AuditSink - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1AuditSink] - describe 'patch_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_audit_sink - # - # read the specified AuditSink - # @param name name of the AuditSink - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1AuditSink] - describe 'read_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_audit_sink - # - # replace the specified AuditSink - # @param name name of the AuditSink - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1AuditSink] - describe 'replace_audit_sink test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authentication_api_spec.rb b/kubernetes/spec/api/authentication_api_spec.rb deleted file mode 100644 index 383c1c75..00000000 --- a/kubernetes/spec/api/authentication_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthenticationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthenticationApi' do - before do - # run before each test - @instance = Kubernetes::AuthenticationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthenticationApi' do - it 'should create an instance of AuthenticationApi' do - expect(@instance).to be_instance_of(Kubernetes::AuthenticationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authentication_v1_api_spec.rb b/kubernetes/spec/api/authentication_v1_api_spec.rb deleted file mode 100644 index 102a77f5..00000000 --- a/kubernetes/spec/api/authentication_v1_api_spec.rb +++ /dev/null @@ -1,61 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthenticationV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthenticationV1Api' do - before do - # run before each test - @instance = Kubernetes::AuthenticationV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthenticationV1Api' do - it 'should create an instance of AuthenticationV1Api' do - expect(@instance).to be_instance_of(Kubernetes::AuthenticationV1Api) - end - end - - # unit tests for create_token_review - # - # create a TokenReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1TokenReview] - describe 'create_token_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authentication_v1beta1_api_spec.rb b/kubernetes/spec/api/authentication_v1beta1_api_spec.rb deleted file mode 100644 index 0d8a875e..00000000 --- a/kubernetes/spec/api/authentication_v1beta1_api_spec.rb +++ /dev/null @@ -1,61 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthenticationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthenticationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::AuthenticationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthenticationV1beta1Api' do - it 'should create an instance of AuthenticationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::AuthenticationV1beta1Api) - end - end - - # unit tests for create_token_review - # - # create a TokenReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1TokenReview] - describe 'create_token_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authorization_api_spec.rb b/kubernetes/spec/api/authorization_api_spec.rb deleted file mode 100644 index 98e035d9..00000000 --- a/kubernetes/spec/api/authorization_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthorizationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthorizationApi' do - before do - # run before each test - @instance = Kubernetes::AuthorizationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthorizationApi' do - it 'should create an instance of AuthorizationApi' do - expect(@instance).to be_instance_of(Kubernetes::AuthorizationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authorization_v1_api_spec.rb b/kubernetes/spec/api/authorization_v1_api_spec.rb deleted file mode 100644 index 93a3d21d..00000000 --- a/kubernetes/spec/api/authorization_v1_api_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthorizationV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthorizationV1Api' do - before do - # run before each test - @instance = Kubernetes::AuthorizationV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthorizationV1Api' do - it 'should create an instance of AuthorizationV1Api' do - expect(@instance).to be_instance_of(Kubernetes::AuthorizationV1Api) - end - end - - # unit tests for create_namespaced_local_subject_access_review - # - # create a LocalSubjectAccessReview - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1LocalSubjectAccessReview] - describe 'create_namespaced_local_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_self_subject_access_review - # - # create a SelfSubjectAccessReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1SelfSubjectAccessReview] - describe 'create_self_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_self_subject_rules_review - # - # create a SelfSubjectRulesReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1SelfSubjectRulesReview] - describe 'create_self_subject_rules_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_subject_access_review - # - # create a SubjectAccessReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1SubjectAccessReview] - describe 'create_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/authorization_v1beta1_api_spec.rb b/kubernetes/spec/api/authorization_v1beta1_api_spec.rb deleted file mode 100644 index 558a5697..00000000 --- a/kubernetes/spec/api/authorization_v1beta1_api_spec.rb +++ /dev/null @@ -1,107 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AuthorizationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AuthorizationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::AuthorizationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AuthorizationV1beta1Api' do - it 'should create an instance of AuthorizationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::AuthorizationV1beta1Api) - end - end - - # unit tests for create_namespaced_local_subject_access_review - # - # create a LocalSubjectAccessReview - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1LocalSubjectAccessReview] - describe 'create_namespaced_local_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_self_subject_access_review - # - # create a SelfSubjectAccessReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1SelfSubjectAccessReview] - describe 'create_self_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_self_subject_rules_review - # - # create a SelfSubjectRulesReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1SelfSubjectRulesReview] - describe 'create_self_subject_rules_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_subject_access_review - # - # create a SubjectAccessReview - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1SubjectAccessReview] - describe 'create_subject_access_review test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/autoscaling_api_spec.rb b/kubernetes/spec/api/autoscaling_api_spec.rb deleted file mode 100644 index 61f680e7..00000000 --- a/kubernetes/spec/api/autoscaling_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AutoscalingApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AutoscalingApi' do - before do - # run before each test - @instance = Kubernetes::AutoscalingApi.new - end - - after do - # run after each test - end - - describe 'test an instance of AutoscalingApi' do - it 'should create an instance of AutoscalingApi' do - expect(@instance).to be_instance_of(Kubernetes::AutoscalingApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/autoscaling_v1_api_spec.rb b/kubernetes/spec/api/autoscaling_v1_api_spec.rb deleted file mode 100644 index 6d57908c..00000000 --- a/kubernetes/spec/api/autoscaling_v1_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AutoscalingV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AutoscalingV1Api' do - before do - # run before each test - @instance = Kubernetes::AutoscalingV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AutoscalingV1Api' do - it 'should create an instance of AutoscalingV1Api' do - expect(@instance).to be_instance_of(Kubernetes::AutoscalingV1Api) - end - end - - # unit tests for create_namespaced_horizontal_pod_autoscaler - # - # create a HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1HorizontalPodAutoscaler] - describe 'create_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_horizontal_pod_autoscaler - # - # delete collection of HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_horizontal_pod_autoscaler - # - # delete a HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_horizontal_pod_autoscaler_for_all_namespaces - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1HorizontalPodAutoscalerList] - describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_horizontal_pod_autoscaler - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1HorizontalPodAutoscalerList] - describe 'list_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler - # - # partially update the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler_status - # - # partially update status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler - # - # read the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler_status - # - # read status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler - # - # replace the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler_status - # - # replace status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb b/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb deleted file mode 100644 index 18243a2b..00000000 --- a/kubernetes/spec/api/autoscaling_v2beta1_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AutoscalingV2beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AutoscalingV2beta1Api' do - before do - # run before each test - @instance = Kubernetes::AutoscalingV2beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AutoscalingV2beta1Api' do - it 'should create an instance of AutoscalingV2beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::AutoscalingV2beta1Api) - end - end - - # unit tests for create_namespaced_horizontal_pod_autoscaler - # - # create a HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta1HorizontalPodAutoscaler] - describe 'create_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_horizontal_pod_autoscaler - # - # delete collection of HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_horizontal_pod_autoscaler - # - # delete a HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_horizontal_pod_autoscaler_for_all_namespaces - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2beta1HorizontalPodAutoscalerList] - describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_horizontal_pod_autoscaler - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2beta1HorizontalPodAutoscalerList] - describe 'list_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler - # - # partially update the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta1HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler_status - # - # partially update status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta1HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler - # - # read the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V2beta1HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler_status - # - # read status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V2beta1HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler - # - # replace the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta1HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler_status - # - # replace status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta1HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb b/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb deleted file mode 100644 index 4666942f..00000000 --- a/kubernetes/spec/api/autoscaling_v2beta2_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::AutoscalingV2beta2Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AutoscalingV2beta2Api' do - before do - # run before each test - @instance = Kubernetes::AutoscalingV2beta2Api.new - end - - after do - # run after each test - end - - describe 'test an instance of AutoscalingV2beta2Api' do - it 'should create an instance of AutoscalingV2beta2Api' do - expect(@instance).to be_instance_of(Kubernetes::AutoscalingV2beta2Api) - end - end - - # unit tests for create_namespaced_horizontal_pod_autoscaler - # - # create a HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta2HorizontalPodAutoscaler] - describe 'create_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_horizontal_pod_autoscaler - # - # delete collection of HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_horizontal_pod_autoscaler - # - # delete a HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_horizontal_pod_autoscaler_for_all_namespaces - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2beta2HorizontalPodAutoscalerList] - describe 'list_horizontal_pod_autoscaler_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_horizontal_pod_autoscaler - # - # list or watch objects of kind HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2beta2HorizontalPodAutoscalerList] - describe 'list_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler - # - # partially update the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta2HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_horizontal_pod_autoscaler_status - # - # partially update status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta2HorizontalPodAutoscaler] - describe 'patch_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler - # - # read the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V2beta2HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_horizontal_pod_autoscaler_status - # - # read status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V2beta2HorizontalPodAutoscaler] - describe 'read_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler - # - # replace the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta2HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_horizontal_pod_autoscaler_status - # - # replace status of the specified HorizontalPodAutoscaler - # @param name name of the HorizontalPodAutoscaler - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2beta2HorizontalPodAutoscaler] - describe 'replace_namespaced_horizontal_pod_autoscaler_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/batch_api_spec.rb b/kubernetes/spec/api/batch_api_spec.rb deleted file mode 100644 index e273d52b..00000000 --- a/kubernetes/spec/api/batch_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::BatchApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'BatchApi' do - before do - # run before each test - @instance = Kubernetes::BatchApi.new - end - - after do - # run after each test - end - - describe 'test an instance of BatchApi' do - it 'should create an instance of BatchApi' do - expect(@instance).to be_instance_of(Kubernetes::BatchApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/batch_v1_api_spec.rb b/kubernetes/spec/api/batch_v1_api_spec.rb deleted file mode 100644 index 16ae708c..00000000 --- a/kubernetes/spec/api/batch_v1_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::BatchV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'BatchV1Api' do - before do - # run before each test - @instance = Kubernetes::BatchV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of BatchV1Api' do - it 'should create an instance of BatchV1Api' do - expect(@instance).to be_instance_of(Kubernetes::BatchV1Api) - end - end - - # unit tests for create_namespaced_job - # - # create a Job - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Job] - describe 'create_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_job - # - # delete collection of Job - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_job - # - # delete a Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_job_for_all_namespaces - # - # list or watch objects of kind Job - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1JobList] - describe 'list_job_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_job - # - # list or watch objects of kind Job - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1JobList] - describe 'list_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_job - # - # partially update the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Job] - describe 'patch_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_job_status - # - # partially update status of the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Job] - describe 'patch_namespaced_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_job - # - # read the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Job] - describe 'read_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_job_status - # - # read status of the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Job] - describe 'read_namespaced_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_job - # - # replace the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Job] - describe 'replace_namespaced_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_job_status - # - # replace status of the specified Job - # @param name name of the Job - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Job] - describe 'replace_namespaced_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/batch_v1beta1_api_spec.rb b/kubernetes/spec/api/batch_v1beta1_api_spec.rb deleted file mode 100644 index cd321327..00000000 --- a/kubernetes/spec/api/batch_v1beta1_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::BatchV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'BatchV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::BatchV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of BatchV1beta1Api' do - it 'should create an instance of BatchV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::BatchV1beta1Api) - end - end - - # unit tests for create_namespaced_cron_job - # - # create a CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CronJob] - describe 'create_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_cron_job - # - # delete collection of CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_cron_job - # - # delete a CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cron_job_for_all_namespaces - # - # list or watch objects of kind CronJob - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1CronJobList] - describe 'list_cron_job_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_cron_job - # - # list or watch objects of kind CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1CronJobList] - describe 'list_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_cron_job - # - # partially update the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CronJob] - describe 'patch_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_cron_job_status - # - # partially update status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CronJob] - describe 'patch_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_cron_job - # - # read the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1CronJob] - describe 'read_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_cron_job_status - # - # read status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1CronJob] - describe 'read_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_cron_job - # - # replace the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CronJob] - describe 'replace_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_cron_job_status - # - # replace status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CronJob] - describe 'replace_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/batch_v2alpha1_api_spec.rb b/kubernetes/spec/api/batch_v2alpha1_api_spec.rb deleted file mode 100644 index 4b47049b..00000000 --- a/kubernetes/spec/api/batch_v2alpha1_api_spec.rb +++ /dev/null @@ -1,237 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::BatchV2alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'BatchV2alpha1Api' do - before do - # run before each test - @instance = Kubernetes::BatchV2alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of BatchV2alpha1Api' do - it 'should create an instance of BatchV2alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::BatchV2alpha1Api) - end - end - - # unit tests for create_namespaced_cron_job - # - # create a CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2alpha1CronJob] - describe 'create_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_cron_job - # - # delete collection of CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_cron_job - # - # delete a CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cron_job_for_all_namespaces - # - # list or watch objects of kind CronJob - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2alpha1CronJobList] - describe 'list_cron_job_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_cron_job - # - # list or watch objects of kind CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V2alpha1CronJobList] - describe 'list_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_cron_job - # - # partially update the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2alpha1CronJob] - describe 'patch_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_cron_job_status - # - # partially update status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2alpha1CronJob] - describe 'patch_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_cron_job - # - # read the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V2alpha1CronJob] - describe 'read_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_cron_job_status - # - # read status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V2alpha1CronJob] - describe 'read_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_cron_job - # - # replace the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2alpha1CronJob] - describe 'replace_namespaced_cron_job test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_cron_job_status - # - # replace status of the specified CronJob - # @param name name of the CronJob - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V2alpha1CronJob] - describe 'replace_namespaced_cron_job_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/certificates_api_spec.rb b/kubernetes/spec/api/certificates_api_spec.rb deleted file mode 100644 index f3bf8d2f..00000000 --- a/kubernetes/spec/api/certificates_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CertificatesApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CertificatesApi' do - before do - # run before each test - @instance = Kubernetes::CertificatesApi.new - end - - after do - # run after each test - end - - describe 'test an instance of CertificatesApi' do - it 'should create an instance of CertificatesApi' do - expect(@instance).to be_instance_of(Kubernetes::CertificatesApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/certificates_v1beta1_api_spec.rb b/kubernetes/spec/api/certificates_v1beta1_api_spec.rb deleted file mode 100644 index 8ed3ec00..00000000 --- a/kubernetes/spec/api/certificates_v1beta1_api_spec.rb +++ /dev/null @@ -1,222 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CertificatesV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CertificatesV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::CertificatesV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of CertificatesV1beta1Api' do - it 'should create an instance of CertificatesV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::CertificatesV1beta1Api) - end - end - - # unit tests for create_certificate_signing_request - # - # create a CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CertificateSigningRequest] - describe 'create_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_certificate_signing_request - # - # delete a CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_certificate_signing_request - # - # delete collection of CertificateSigningRequest - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_certificate_signing_request - # - # list or watch objects of kind CertificateSigningRequest - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1CertificateSigningRequestList] - describe 'list_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_certificate_signing_request - # - # partially update the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CertificateSigningRequest] - describe 'patch_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_certificate_signing_request_status - # - # partially update status of the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CertificateSigningRequest] - describe 'patch_certificate_signing_request_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_certificate_signing_request - # - # read the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1CertificateSigningRequest] - describe 'read_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_certificate_signing_request_status - # - # read status of the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1CertificateSigningRequest] - describe 'read_certificate_signing_request_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_certificate_signing_request - # - # replace the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CertificateSigningRequest] - describe 'replace_certificate_signing_request test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_certificate_signing_request_approval - # - # replace approval of the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1CertificateSigningRequest] - describe 'replace_certificate_signing_request_approval test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_certificate_signing_request_status - # - # replace status of the specified CertificateSigningRequest - # @param name name of the CertificateSigningRequest - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1CertificateSigningRequest] - describe 'replace_certificate_signing_request_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/coordination_api_spec.rb b/kubernetes/spec/api/coordination_api_spec.rb deleted file mode 100644 index fab2e134..00000000 --- a/kubernetes/spec/api/coordination_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CoordinationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CoordinationApi' do - before do - # run before each test - @instance = Kubernetes::CoordinationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of CoordinationApi' do - it 'should create an instance of CoordinationApi' do - expect(@instance).to be_instance_of(Kubernetes::CoordinationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/coordination_v1beta1_api_spec.rb b/kubernetes/spec/api/coordination_v1beta1_api_spec.rb deleted file mode 100644 index ab7f2b6b..00000000 --- a/kubernetes/spec/api/coordination_v1beta1_api_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CoordinationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CoordinationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::CoordinationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of CoordinationV1beta1Api' do - it 'should create an instance of CoordinationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::CoordinationV1beta1Api) - end - end - - # unit tests for create_namespaced_lease - # - # create a Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Lease] - describe 'create_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_lease - # - # delete collection of Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_lease - # - # delete a Lease - # @param name name of the Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_lease_for_all_namespaces - # - # list or watch objects of kind Lease - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1LeaseList] - describe 'list_lease_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_lease - # - # list or watch objects of kind Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1LeaseList] - describe 'list_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_lease - # - # partially update the specified Lease - # @param name name of the Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Lease] - describe 'patch_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_lease - # - # read the specified Lease - # @param name name of the Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1Lease] - describe 'read_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_lease - # - # replace the specified Lease - # @param name name of the Lease - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Lease] - describe 'replace_namespaced_lease test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/core_api_spec.rb b/kubernetes/spec/api/core_api_spec.rb deleted file mode 100644 index 65172694..00000000 --- a/kubernetes/spec/api/core_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CoreApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CoreApi' do - before do - # run before each test - @instance = Kubernetes::CoreApi.new - end - - after do - # run after each test - end - - describe 'test an instance of CoreApi' do - it 'should create an instance of CoreApi' do - expect(@instance).to be_instance_of(Kubernetes::CoreApi) - end - end - - # unit tests for get_api_versions - # - # get available API versions - # @param [Hash] opts the optional parameters - # @return [V1APIVersions] - describe 'get_api_versions test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/core_v1_api_spec.rb b/kubernetes/spec/api/core_v1_api_spec.rb deleted file mode 100644 index d33df082..00000000 --- a/kubernetes/spec/api/core_v1_api_spec.rb +++ /dev/null @@ -1,3320 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CoreV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CoreV1Api' do - before do - # run before each test - @instance = Kubernetes::CoreV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of CoreV1Api' do - it 'should create an instance of CoreV1Api' do - expect(@instance).to be_instance_of(Kubernetes::CoreV1Api) - end - end - - # unit tests for connect_delete_namespaced_pod_proxy - # - # connect DELETE requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_delete_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_delete_namespaced_pod_proxy_with_path - # - # connect DELETE requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_delete_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_delete_namespaced_service_proxy - # - # connect DELETE requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_delete_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_delete_namespaced_service_proxy_with_path - # - # connect DELETE requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_delete_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_delete_node_proxy - # - # connect DELETE requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_delete_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_delete_node_proxy_with_path - # - # connect DELETE requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_delete_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_pod_attach - # - # connect GET requests to attach of Pod - # @param name name of the PodAttachOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. - # @option opts [BOOLEAN] :stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - # @option opts [BOOLEAN] :stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - # @option opts [BOOLEAN] :stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - # @option opts [BOOLEAN] :tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. - # @return [String] - describe 'connect_get_namespaced_pod_attach test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_pod_exec - # - # connect GET requests to exec of Pod - # @param name name of the PodExecOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. - # @option opts [String] :container Container in which to execute the command. Defaults to only container if there is only one container in the pod. - # @option opts [BOOLEAN] :stderr Redirect the standard error stream of the pod for this call. Defaults to true. - # @option opts [BOOLEAN] :stdin Redirect the standard input stream of the pod for this call. Defaults to false. - # @option opts [BOOLEAN] :stdout Redirect the standard output stream of the pod for this call. Defaults to true. - # @option opts [BOOLEAN] :tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. - # @return [String] - describe 'connect_get_namespaced_pod_exec test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_pod_portforward - # - # connect GET requests to portforward of Pod - # @param name name of the PodPortForwardOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [Integer] :ports List of ports to forward Required when using WebSockets - # @return [String] - describe 'connect_get_namespaced_pod_portforward test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_pod_proxy - # - # connect GET requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_get_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_pod_proxy_with_path - # - # connect GET requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_get_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_service_proxy - # - # connect GET requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_get_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_namespaced_service_proxy_with_path - # - # connect GET requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_get_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_node_proxy - # - # connect GET requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_get_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_get_node_proxy_with_path - # - # connect GET requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_get_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_namespaced_pod_proxy - # - # connect HEAD requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_head_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_namespaced_pod_proxy_with_path - # - # connect HEAD requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_head_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_namespaced_service_proxy - # - # connect HEAD requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_head_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_namespaced_service_proxy_with_path - # - # connect HEAD requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_head_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_node_proxy - # - # connect HEAD requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_head_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_head_node_proxy_with_path - # - # connect HEAD requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_head_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_namespaced_pod_proxy - # - # connect OPTIONS requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_options_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_namespaced_pod_proxy_with_path - # - # connect OPTIONS requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_options_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_namespaced_service_proxy - # - # connect OPTIONS requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_options_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_namespaced_service_proxy_with_path - # - # connect OPTIONS requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_options_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_node_proxy - # - # connect OPTIONS requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_options_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_options_node_proxy_with_path - # - # connect OPTIONS requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_options_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_namespaced_pod_proxy - # - # connect PATCH requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_patch_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_namespaced_pod_proxy_with_path - # - # connect PATCH requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_patch_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_namespaced_service_proxy - # - # connect PATCH requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_patch_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_namespaced_service_proxy_with_path - # - # connect PATCH requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_patch_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_node_proxy - # - # connect PATCH requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_patch_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_patch_node_proxy_with_path - # - # connect PATCH requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_patch_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_pod_attach - # - # connect POST requests to attach of Pod - # @param name name of the PodAttachOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :container The container in which to execute the command. Defaults to only container if there is only one container in the pod. - # @option opts [BOOLEAN] :stderr Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true. - # @option opts [BOOLEAN] :stdin Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false. - # @option opts [BOOLEAN] :stdout Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true. - # @option opts [BOOLEAN] :tty TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false. - # @return [String] - describe 'connect_post_namespaced_pod_attach test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_pod_exec - # - # connect POST requests to exec of Pod - # @param name name of the PodExecOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :command Command is the remote command to execute. argv array. Not executed within a shell. - # @option opts [String] :container Container in which to execute the command. Defaults to only container if there is only one container in the pod. - # @option opts [BOOLEAN] :stderr Redirect the standard error stream of the pod for this call. Defaults to true. - # @option opts [BOOLEAN] :stdin Redirect the standard input stream of the pod for this call. Defaults to false. - # @option opts [BOOLEAN] :stdout Redirect the standard output stream of the pod for this call. Defaults to true. - # @option opts [BOOLEAN] :tty TTY if true indicates that a tty will be allocated for the exec call. Defaults to false. - # @return [String] - describe 'connect_post_namespaced_pod_exec test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_pod_portforward - # - # connect POST requests to portforward of Pod - # @param name name of the PodPortForwardOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [Integer] :ports List of ports to forward Required when using WebSockets - # @return [String] - describe 'connect_post_namespaced_pod_portforward test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_pod_proxy - # - # connect POST requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_post_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_pod_proxy_with_path - # - # connect POST requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_post_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_service_proxy - # - # connect POST requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_post_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_namespaced_service_proxy_with_path - # - # connect POST requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_post_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_node_proxy - # - # connect POST requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_post_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_post_node_proxy_with_path - # - # connect POST requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_post_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_namespaced_pod_proxy - # - # connect PUT requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_put_namespaced_pod_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_namespaced_pod_proxy_with_path - # - # connect PUT requests to proxy of Pod - # @param name name of the PodProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to pod. - # @return [String] - describe 'connect_put_namespaced_pod_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_namespaced_service_proxy - # - # connect PUT requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_put_namespaced_service_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_namespaced_service_proxy_with_path - # - # connect PUT requests to proxy of Service - # @param name name of the ServiceProxyOptions - # @param namespace object name and auth scope, such as for teams and projects - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy. - # @return [String] - describe 'connect_put_namespaced_service_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_node_proxy - # - # connect PUT requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param [Hash] opts the optional parameters - # @option opts [String] :path Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_put_node_proxy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for connect_put_node_proxy_with_path - # - # connect PUT requests to proxy of Node - # @param name name of the NodeProxyOptions - # @param path path to the resource - # @param [Hash] opts the optional parameters - # @option opts [String] :path2 Path is the URL path to use for the current proxy request to node. - # @return [String] - describe 'connect_put_node_proxy_with_path test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespace - # - # create a Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Namespace] - describe 'create_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_binding - # - # create a Binding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Binding] - describe 'create_namespaced_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_config_map - # - # create a ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ConfigMap] - describe 'create_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_endpoints - # - # create Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Endpoints] - describe 'create_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_event - # - # create an Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Event] - describe 'create_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_limit_range - # - # create a LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1LimitRange] - describe 'create_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_persistent_volume_claim - # - # create a PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolumeClaim] - describe 'create_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_pod - # - # create a Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Pod] - describe 'create_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_pod_binding - # - # create binding of a Pod - # @param name name of the Binding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Binding] - describe 'create_namespaced_pod_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_pod_eviction - # - # create eviction of a Pod - # @param name name of the Eviction - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1Eviction] - describe 'create_namespaced_pod_eviction test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_pod_template - # - # create a PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PodTemplate] - describe 'create_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_replication_controller - # - # create a ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicationController] - describe 'create_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_resource_quota - # - # create a ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ResourceQuota] - describe 'create_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_secret - # - # create a Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Secret] - describe 'create_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_service - # - # create a Service - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Service] - describe 'create_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_service_account - # - # create a ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ServiceAccount] - describe 'create_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_node - # - # create a Node - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Node] - describe 'create_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_persistent_volume - # - # create a PersistentVolume - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolume] - describe 'create_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_config_map - # - # delete collection of ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_endpoints - # - # delete collection of Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_event - # - # delete collection of Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_limit_range - # - # delete collection of LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_persistent_volume_claim - # - # delete collection of PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_pod - # - # delete collection of Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_pod_template - # - # delete collection of PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_replication_controller - # - # delete collection of ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_resource_quota - # - # delete collection of ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_secret - # - # delete collection of Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_service_account - # - # delete collection of ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_node - # - # delete collection of Node - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_persistent_volume - # - # delete collection of PersistentVolume - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespace - # - # delete a Namespace - # @param name name of the Namespace - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_config_map - # - # delete a ConfigMap - # @param name name of the ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_endpoints - # - # delete Endpoints - # @param name name of the Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_event - # - # delete an Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_limit_range - # - # delete a LimitRange - # @param name name of the LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_persistent_volume_claim - # - # delete a PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_pod - # - # delete a Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_pod_template - # - # delete a PodTemplate - # @param name name of the PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_replication_controller - # - # delete a ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_resource_quota - # - # delete a ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_secret - # - # delete a Secret - # @param name name of the Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_service - # - # delete a Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_service_account - # - # delete a ServiceAccount - # @param name name of the ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_node - # - # delete a Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_persistent_volume - # - # delete a PersistentVolume - # @param name name of the PersistentVolume - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_component_status - # - # list objects of kind ComponentStatus - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ComponentStatusList] - describe 'list_component_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_config_map_for_all_namespaces - # - # list or watch objects of kind ConfigMap - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ConfigMapList] - describe 'list_config_map_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_endpoints_for_all_namespaces - # - # list or watch objects of kind Endpoints - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1EndpointsList] - describe 'list_endpoints_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_event_for_all_namespaces - # - # list or watch objects of kind Event - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1EventList] - describe 'list_event_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_limit_range_for_all_namespaces - # - # list or watch objects of kind LimitRange - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1LimitRangeList] - describe 'list_limit_range_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespace - # - # list or watch objects of kind Namespace - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1NamespaceList] - describe 'list_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_config_map - # - # list or watch objects of kind ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ConfigMapList] - describe 'list_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_endpoints - # - # list or watch objects of kind Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1EndpointsList] - describe 'list_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_event - # - # list or watch objects of kind Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1EventList] - describe 'list_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_limit_range - # - # list or watch objects of kind LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1LimitRangeList] - describe 'list_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_persistent_volume_claim - # - # list or watch objects of kind PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PersistentVolumeClaimList] - describe 'list_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_pod - # - # list or watch objects of kind Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PodList] - describe 'list_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_pod_template - # - # list or watch objects of kind PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PodTemplateList] - describe 'list_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_replication_controller - # - # list or watch objects of kind ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ReplicationControllerList] - describe 'list_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_resource_quota - # - # list or watch objects of kind ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ResourceQuotaList] - describe 'list_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_secret - # - # list or watch objects of kind Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1SecretList] - describe 'list_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_service - # - # list or watch objects of kind Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ServiceList] - describe 'list_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_service_account - # - # list or watch objects of kind ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ServiceAccountList] - describe 'list_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_node - # - # list or watch objects of kind Node - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1NodeList] - describe 'list_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_persistent_volume - # - # list or watch objects of kind PersistentVolume - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PersistentVolumeList] - describe 'list_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_persistent_volume_claim_for_all_namespaces - # - # list or watch objects of kind PersistentVolumeClaim - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PersistentVolumeClaimList] - describe 'list_persistent_volume_claim_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_for_all_namespaces - # - # list or watch objects of kind Pod - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PodList] - describe 'list_pod_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_template_for_all_namespaces - # - # list or watch objects of kind PodTemplate - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1PodTemplateList] - describe 'list_pod_template_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_replication_controller_for_all_namespaces - # - # list or watch objects of kind ReplicationController - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ReplicationControllerList] - describe 'list_replication_controller_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_resource_quota_for_all_namespaces - # - # list or watch objects of kind ResourceQuota - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ResourceQuotaList] - describe 'list_resource_quota_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_secret_for_all_namespaces - # - # list or watch objects of kind Secret - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1SecretList] - describe 'list_secret_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_service_account_for_all_namespaces - # - # list or watch objects of kind ServiceAccount - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ServiceAccountList] - describe 'list_service_account_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_service_for_all_namespaces - # - # list or watch objects of kind Service - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ServiceList] - describe 'list_service_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespace - # - # partially update the specified Namespace - # @param name name of the Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Namespace] - describe 'patch_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespace_status - # - # partially update status of the specified Namespace - # @param name name of the Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Namespace] - describe 'patch_namespace_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_config_map - # - # partially update the specified ConfigMap - # @param name name of the ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ConfigMap] - describe 'patch_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_endpoints - # - # partially update the specified Endpoints - # @param name name of the Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Endpoints] - describe 'patch_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_event - # - # partially update the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Event] - describe 'patch_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_limit_range - # - # partially update the specified LimitRange - # @param name name of the LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1LimitRange] - describe 'patch_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_persistent_volume_claim - # - # partially update the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolumeClaim] - describe 'patch_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_persistent_volume_claim_status - # - # partially update status of the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolumeClaim] - describe 'patch_namespaced_persistent_volume_claim_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod - # - # partially update the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Pod] - describe 'patch_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod_status - # - # partially update status of the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Pod] - describe 'patch_namespaced_pod_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod_template - # - # partially update the specified PodTemplate - # @param name name of the PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PodTemplate] - describe 'patch_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replication_controller - # - # partially update the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicationController] - describe 'patch_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replication_controller_scale - # - # partially update scale of the specified ReplicationController - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'patch_namespaced_replication_controller_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replication_controller_status - # - # partially update status of the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicationController] - describe 'patch_namespaced_replication_controller_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_resource_quota - # - # partially update the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ResourceQuota] - describe 'patch_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_resource_quota_status - # - # partially update status of the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ResourceQuota] - describe 'patch_namespaced_resource_quota_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_secret - # - # partially update the specified Secret - # @param name name of the Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Secret] - describe 'patch_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_service - # - # partially update the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Service] - describe 'patch_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_service_account - # - # partially update the specified ServiceAccount - # @param name name of the ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ServiceAccount] - describe 'patch_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_service_status - # - # partially update status of the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Service] - describe 'patch_namespaced_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_node - # - # partially update the specified Node - # @param name name of the Node - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Node] - describe 'patch_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_node_status - # - # partially update status of the specified Node - # @param name name of the Node - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Node] - describe 'patch_node_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_persistent_volume - # - # partially update the specified PersistentVolume - # @param name name of the PersistentVolume - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolume] - describe 'patch_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_persistent_volume_status - # - # partially update status of the specified PersistentVolume - # @param name name of the PersistentVolume - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolume] - describe 'patch_persistent_volume_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_component_status - # - # read the specified ComponentStatus - # @param name name of the ComponentStatus - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ComponentStatus] - describe 'read_component_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespace - # - # read the specified Namespace - # @param name name of the Namespace - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Namespace] - describe 'read_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespace_status - # - # read status of the specified Namespace - # @param name name of the Namespace - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Namespace] - describe 'read_namespace_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_config_map - # - # read the specified ConfigMap - # @param name name of the ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ConfigMap] - describe 'read_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_endpoints - # - # read the specified Endpoints - # @param name name of the Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Endpoints] - describe 'read_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_event - # - # read the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Event] - describe 'read_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_limit_range - # - # read the specified LimitRange - # @param name name of the LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1LimitRange] - describe 'read_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_persistent_volume_claim - # - # read the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1PersistentVolumeClaim] - describe 'read_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_persistent_volume_claim_status - # - # read status of the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1PersistentVolumeClaim] - describe 'read_namespaced_persistent_volume_claim_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod - # - # read the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Pod] - describe 'read_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_log - # - # read log of the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :container The container for which to stream logs. Defaults to only container if there is one container in the pod. - # @option opts [BOOLEAN] :follow Follow the log stream of the pod. Defaults to false. - # @option opts [Integer] :limit_bytes If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :previous Return previous terminated container logs. Defaults to false. - # @option opts [Integer] :since_seconds A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified. - # @option opts [Integer] :tail_lines If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime - # @option opts [BOOLEAN] :timestamps If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. - # @return [String] - describe 'read_namespaced_pod_log test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_status - # - # read status of the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Pod] - describe 'read_namespaced_pod_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_template - # - # read the specified PodTemplate - # @param name name of the PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1PodTemplate] - describe 'read_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replication_controller - # - # read the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ReplicationController] - describe 'read_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replication_controller_scale - # - # read scale of the specified ReplicationController - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Scale] - describe 'read_namespaced_replication_controller_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replication_controller_status - # - # read status of the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ReplicationController] - describe 'read_namespaced_replication_controller_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_resource_quota - # - # read the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ResourceQuota] - describe 'read_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_resource_quota_status - # - # read status of the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ResourceQuota] - describe 'read_namespaced_resource_quota_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_secret - # - # read the specified Secret - # @param name name of the Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Secret] - describe 'read_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_service - # - # read the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Service] - describe 'read_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_service_account - # - # read the specified ServiceAccount - # @param name name of the ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1ServiceAccount] - describe 'read_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_service_status - # - # read status of the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Service] - describe 'read_namespaced_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_node - # - # read the specified Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1Node] - describe 'read_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_node_status - # - # read status of the specified Node - # @param name name of the Node - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Node] - describe 'read_node_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_persistent_volume - # - # read the specified PersistentVolume - # @param name name of the PersistentVolume - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1PersistentVolume] - describe 'read_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_persistent_volume_status - # - # read status of the specified PersistentVolume - # @param name name of the PersistentVolume - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1PersistentVolume] - describe 'read_persistent_volume_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespace - # - # replace the specified Namespace - # @param name name of the Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Namespace] - describe 'replace_namespace test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespace_finalize - # - # replace finalize of the specified Namespace - # @param name name of the Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Namespace] - describe 'replace_namespace_finalize test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespace_status - # - # replace status of the specified Namespace - # @param name name of the Namespace - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Namespace] - describe 'replace_namespace_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_config_map - # - # replace the specified ConfigMap - # @param name name of the ConfigMap - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ConfigMap] - describe 'replace_namespaced_config_map test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_endpoints - # - # replace the specified Endpoints - # @param name name of the Endpoints - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Endpoints] - describe 'replace_namespaced_endpoints test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_event - # - # replace the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Event] - describe 'replace_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_limit_range - # - # replace the specified LimitRange - # @param name name of the LimitRange - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1LimitRange] - describe 'replace_namespaced_limit_range test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_persistent_volume_claim - # - # replace the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolumeClaim] - describe 'replace_namespaced_persistent_volume_claim test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_persistent_volume_claim_status - # - # replace status of the specified PersistentVolumeClaim - # @param name name of the PersistentVolumeClaim - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolumeClaim] - describe 'replace_namespaced_persistent_volume_claim_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod - # - # replace the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Pod] - describe 'replace_namespaced_pod test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod_status - # - # replace status of the specified Pod - # @param name name of the Pod - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Pod] - describe 'replace_namespaced_pod_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod_template - # - # replace the specified PodTemplate - # @param name name of the PodTemplate - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PodTemplate] - describe 'replace_namespaced_pod_template test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replication_controller - # - # replace the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicationController] - describe 'replace_namespaced_replication_controller test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replication_controller_scale - # - # replace scale of the specified ReplicationController - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Scale] - describe 'replace_namespaced_replication_controller_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replication_controller_status - # - # replace status of the specified ReplicationController - # @param name name of the ReplicationController - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ReplicationController] - describe 'replace_namespaced_replication_controller_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_resource_quota - # - # replace the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ResourceQuota] - describe 'replace_namespaced_resource_quota test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_resource_quota_status - # - # replace status of the specified ResourceQuota - # @param name name of the ResourceQuota - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ResourceQuota] - describe 'replace_namespaced_resource_quota_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_secret - # - # replace the specified Secret - # @param name name of the Secret - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Secret] - describe 'replace_namespaced_secret test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_service - # - # replace the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Service] - describe 'replace_namespaced_service test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_service_account - # - # replace the specified ServiceAccount - # @param name name of the ServiceAccount - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ServiceAccount] - describe 'replace_namespaced_service_account test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_service_status - # - # replace status of the specified Service - # @param name name of the Service - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Service] - describe 'replace_namespaced_service_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_node - # - # replace the specified Node - # @param name name of the Node - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Node] - describe 'replace_node test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_node_status - # - # replace status of the specified Node - # @param name name of the Node - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Node] - describe 'replace_node_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_persistent_volume - # - # replace the specified PersistentVolume - # @param name name of the PersistentVolume - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolume] - describe 'replace_persistent_volume test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_persistent_volume_status - # - # replace status of the specified PersistentVolume - # @param name name of the PersistentVolume - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1PersistentVolume] - describe 'replace_persistent_volume_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/custom_objects_api_spec.rb b/kubernetes/spec/api/custom_objects_api_spec.rb deleted file mode 100644 index 4948ec02..00000000 --- a/kubernetes/spec/api/custom_objects_api_spec.rb +++ /dev/null @@ -1,437 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::CustomObjectsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'CustomObjectsApi' do - before do - # run before each test - @instance = Kubernetes::CustomObjectsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of CustomObjectsApi' do - it 'should create an instance of CustomObjectsApi' do - expect(@instance).to be_instance_of(Kubernetes::CustomObjectsApi) - end - end - - # unit tests for create_cluster_custom_object - # - # Creates a cluster scoped Custom object - # @param group The custom resource's group name - # @param version The custom resource's version - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param body The JSON schema of the Resource to create. - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Object] - describe 'create_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_custom_object - # - # Creates a namespace scoped Custom object - # @param group The custom resource's group name - # @param version The custom resource's version - # @param namespace The custom resource's namespace - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param body The JSON schema of the Resource to create. - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [Object] - describe 'create_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_custom_object - # - # Deletes the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - # @return [Object] - describe 'delete_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_custom_object - # - # Deletes the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. - # @return [Object] - describe 'delete_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_cluster_custom_object - # - # Returns a cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_cluster_custom_object_scale - # - # read scale of the specified custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_cluster_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_cluster_custom_object_status - # - # read status of the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_cluster_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_namespaced_custom_object - # - # Returns a namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_namespaced_custom_object_scale - # - # read scale of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_namespaced_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_namespaced_custom_object_status - # - # read status of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'get_namespaced_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_custom_object - # - # list or watch cluster scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. - # @return [Object] - describe 'list_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_custom_object - # - # list or watch namespace scoped custom objects - # @param group The custom resource's group name - # @param version The custom resource's version - # @param namespace The custom resource's namespace - # @param plural The custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. - # @return [Object] - describe 'list_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_custom_object - # - # patch the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body The JSON schema of the Resource to patch. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_custom_object_scale - # - # partially update scale of the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_cluster_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_custom_object_status - # - # partially update status of the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_cluster_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_custom_object - # - # patch the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body The JSON schema of the Resource to patch. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_custom_object_scale - # - # partially update scale of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_namespaced_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_custom_object_status - # - # partially update status of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'patch_namespaced_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_custom_object - # - # replace the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom object's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_cluster_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_custom_object_scale - # - # replace scale of the specified cluster scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_cluster_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_custom_object_status - # - # replace status of the cluster scoped specified custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_cluster_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_custom_object - # - # replace the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body The JSON schema of the Resource to replace. - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_namespaced_custom_object test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_custom_object_scale - # - # replace scale of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_namespaced_custom_object_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_custom_object_status - # - # replace status of the specified namespace scoped custom object - # @param group the custom resource's group - # @param version the custom resource's version - # @param namespace The custom resource's namespace - # @param plural the custom resource's plural name. For TPRs this would be lowercase plural kind. - # @param name the custom object's name - # @param body - # @param [Hash] opts the optional parameters - # @return [Object] - describe 'replace_namespaced_custom_object_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/events_api_spec.rb b/kubernetes/spec/api/events_api_spec.rb deleted file mode 100644 index 46b946ea..00000000 --- a/kubernetes/spec/api/events_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::EventsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'EventsApi' do - before do - # run before each test - @instance = Kubernetes::EventsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of EventsApi' do - it 'should create an instance of EventsApi' do - expect(@instance).to be_instance_of(Kubernetes::EventsApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/events_v1beta1_api_spec.rb b/kubernetes/spec/api/events_v1beta1_api_spec.rb deleted file mode 100644 index ba572b48..00000000 --- a/kubernetes/spec/api/events_v1beta1_api_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::EventsV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'EventsV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::EventsV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of EventsV1beta1Api' do - it 'should create an instance of EventsV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::EventsV1beta1Api) - end - end - - # unit tests for create_namespaced_event - # - # create an Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Event] - describe 'create_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_event - # - # delete collection of Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_event - # - # delete an Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_event_for_all_namespaces - # - # list or watch objects of kind Event - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1EventList] - describe 'list_event_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_event - # - # list or watch objects of kind Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1EventList] - describe 'list_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_event - # - # partially update the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Event] - describe 'patch_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_event - # - # read the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1Event] - describe 'read_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_event - # - # replace the specified Event - # @param name name of the Event - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Event] - describe 'replace_namespaced_event test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/extensions_api_spec.rb b/kubernetes/spec/api/extensions_api_spec.rb deleted file mode 100644 index fc1ed719..00000000 --- a/kubernetes/spec/api/extensions_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ExtensionsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsApi' do - before do - # run before each test - @instance = Kubernetes::ExtensionsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsApi' do - it 'should create an instance of ExtensionsApi' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/extensions_v1beta1_api_spec.rb b/kubernetes/spec/api/extensions_v1beta1_api_spec.rb deleted file mode 100644 index 0ee021ec..00000000 --- a/kubernetes/spec/api/extensions_v1beta1_api_spec.rb +++ /dev/null @@ -1,1228 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::ExtensionsV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1Api' do - it 'should create an instance of ExtensionsV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1Api) - end - end - - # unit tests for create_namespaced_daemon_set - # - # create a DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1DaemonSet] - describe 'create_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment - # - # create a Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Deployment] - describe 'create_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_deployment_rollback - # - # create rollback of a Deployment - # @param name name of the DeploymentRollback - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [BOOLEAN] :include_uninitialized If IncludeUninitialized is specified, the object may be returned without completing initialization. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Status] - describe 'create_namespaced_deployment_rollback test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_ingress - # - # create an Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Ingress] - describe 'create_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_network_policy - # - # create a NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1NetworkPolicy] - describe 'create_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_replica_set - # - # create a ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ReplicaSet] - describe 'create_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_pod_security_policy - # - # create a PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1PodSecurityPolicy] - describe 'create_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_daemon_set - # - # delete collection of DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_deployment - # - # delete collection of Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_ingress - # - # delete collection of Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_network_policy - # - # delete collection of NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_replica_set - # - # delete collection of ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_pod_security_policy - # - # delete collection of PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_daemon_set - # - # delete a DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_deployment - # - # delete a Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_ingress - # - # delete an Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_network_policy - # - # delete a NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_replica_set - # - # delete a ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_pod_security_policy - # - # delete a PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_daemon_set_for_all_namespaces - # - # list or watch objects of kind DaemonSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1DaemonSetList] - describe 'list_daemon_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_deployment_for_all_namespaces - # - # list or watch objects of kind Deployment - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [ExtensionsV1beta1DeploymentList] - describe 'list_deployment_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_ingress_for_all_namespaces - # - # list or watch objects of kind Ingress - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1IngressList] - describe 'list_ingress_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_daemon_set - # - # list or watch objects of kind DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1DaemonSetList] - describe 'list_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_deployment - # - # list or watch objects of kind Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [ExtensionsV1beta1DeploymentList] - describe 'list_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_ingress - # - # list or watch objects of kind Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1IngressList] - describe 'list_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_network_policy - # - # list or watch objects of kind NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1NetworkPolicyList] - describe 'list_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_replica_set - # - # list or watch objects of kind ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ReplicaSetList] - describe 'list_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_network_policy_for_all_namespaces - # - # list or watch objects of kind NetworkPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1NetworkPolicyList] - describe 'list_network_policy_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_security_policy - # - # list or watch objects of kind PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [ExtensionsV1beta1PodSecurityPolicyList] - describe 'list_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_replica_set_for_all_namespaces - # - # list or watch objects of kind ReplicaSet - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ReplicaSetList] - describe 'list_replica_set_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set - # - # partially update the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1DaemonSet] - describe 'patch_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_daemon_set_status - # - # partially update status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1DaemonSet] - describe 'patch_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment - # - # partially update the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Deployment] - describe 'patch_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_scale - # - # partially update scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'patch_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_deployment_status - # - # partially update status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Deployment] - describe 'patch_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_ingress - # - # partially update the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Ingress] - describe 'patch_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_ingress_status - # - # partially update status of the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Ingress] - describe 'patch_namespaced_ingress_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_network_policy - # - # partially update the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1NetworkPolicy] - describe 'patch_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set - # - # partially update the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ReplicaSet] - describe 'patch_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_scale - # - # partially update scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'patch_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replica_set_status - # - # partially update status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ReplicaSet] - describe 'patch_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_replication_controller_dummy_scale - # - # partially update scale of the specified ReplicationControllerDummy - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'patch_namespaced_replication_controller_dummy_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_pod_security_policy - # - # partially update the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1PodSecurityPolicy] - describe 'patch_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set - # - # read the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1DaemonSet] - describe 'read_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_daemon_set_status - # - # read status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1DaemonSet] - describe 'read_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment - # - # read the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [ExtensionsV1beta1Deployment] - describe 'read_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_scale - # - # read scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1Scale] - describe 'read_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_deployment_status - # - # read status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1Deployment] - describe 'read_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_ingress - # - # read the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1Ingress] - describe 'read_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_ingress_status - # - # read status of the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1Ingress] - describe 'read_namespaced_ingress_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_network_policy - # - # read the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1NetworkPolicy] - describe 'read_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set - # - # read the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1ReplicaSet] - describe 'read_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_scale - # - # read scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1Scale] - describe 'read_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replica_set_status - # - # read status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1ReplicaSet] - describe 'read_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_replication_controller_dummy_scale - # - # read scale of the specified ReplicationControllerDummy - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [ExtensionsV1beta1Scale] - describe 'read_namespaced_replication_controller_dummy_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_pod_security_policy - # - # read the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [ExtensionsV1beta1PodSecurityPolicy] - describe 'read_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set - # - # replace the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1DaemonSet] - describe 'replace_namespaced_daemon_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_daemon_set_status - # - # replace status of the specified DaemonSet - # @param name name of the DaemonSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1DaemonSet] - describe 'replace_namespaced_daemon_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment - # - # replace the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Deployment] - describe 'replace_namespaced_deployment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_scale - # - # replace scale of the specified Deployment - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'replace_namespaced_deployment_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_deployment_status - # - # replace status of the specified Deployment - # @param name name of the Deployment - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Deployment] - describe 'replace_namespaced_deployment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_ingress - # - # replace the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Ingress] - describe 'replace_namespaced_ingress test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_ingress_status - # - # replace status of the specified Ingress - # @param name name of the Ingress - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Ingress] - describe 'replace_namespaced_ingress_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_network_policy - # - # replace the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1NetworkPolicy] - describe 'replace_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set - # - # replace the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ReplicaSet] - describe 'replace_namespaced_replica_set test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_scale - # - # replace scale of the specified ReplicaSet - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'replace_namespaced_replica_set_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replica_set_status - # - # replace status of the specified ReplicaSet - # @param name name of the ReplicaSet - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ReplicaSet] - describe 'replace_namespaced_replica_set_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_replication_controller_dummy_scale - # - # replace scale of the specified ReplicationControllerDummy - # @param name name of the Scale - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1Scale] - describe 'replace_namespaced_replication_controller_dummy_scale test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_pod_security_policy - # - # replace the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [ExtensionsV1beta1PodSecurityPolicy] - describe 'replace_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/logs_api_spec.rb b/kubernetes/spec/api/logs_api_spec.rb deleted file mode 100644 index 78beba23..00000000 --- a/kubernetes/spec/api/logs_api_spec.rb +++ /dev/null @@ -1,58 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::LogsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'LogsApi' do - before do - # run before each test - @instance = Kubernetes::LogsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of LogsApi' do - it 'should create an instance of LogsApi' do - expect(@instance).to be_instance_of(Kubernetes::LogsApi) - end - end - - # unit tests for log_file_handler - # - # - # @param logpath path to the log - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'log_file_handler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for log_file_list_handler - # - # - # @param [Hash] opts the optional parameters - # @return [nil] - describe 'log_file_list_handler test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/networking_api_spec.rb b/kubernetes/spec/api/networking_api_spec.rb deleted file mode 100644 index 8cf5f013..00000000 --- a/kubernetes/spec/api/networking_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::NetworkingApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'NetworkingApi' do - before do - # run before each test - @instance = Kubernetes::NetworkingApi.new - end - - after do - # run after each test - end - - describe 'test an instance of NetworkingApi' do - it 'should create an instance of NetworkingApi' do - expect(@instance).to be_instance_of(Kubernetes::NetworkingApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/networking_v1_api_spec.rb b/kubernetes/spec/api/networking_v1_api_spec.rb deleted file mode 100644 index 6855cb97..00000000 --- a/kubernetes/spec/api/networking_v1_api_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::NetworkingV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'NetworkingV1Api' do - before do - # run before each test - @instance = Kubernetes::NetworkingV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of NetworkingV1Api' do - it 'should create an instance of NetworkingV1Api' do - expect(@instance).to be_instance_of(Kubernetes::NetworkingV1Api) - end - end - - # unit tests for create_namespaced_network_policy - # - # create a NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1NetworkPolicy] - describe 'create_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_network_policy - # - # delete collection of NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_network_policy - # - # delete a NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_network_policy - # - # list or watch objects of kind NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1NetworkPolicyList] - describe 'list_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_network_policy_for_all_namespaces - # - # list or watch objects of kind NetworkPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1NetworkPolicyList] - describe 'list_network_policy_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_network_policy - # - # partially update the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1NetworkPolicy] - describe 'patch_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_network_policy - # - # read the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1NetworkPolicy] - describe 'read_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_network_policy - # - # replace the specified NetworkPolicy - # @param name name of the NetworkPolicy - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1NetworkPolicy] - describe 'replace_namespaced_network_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/policy_api_spec.rb b/kubernetes/spec/api/policy_api_spec.rb deleted file mode 100644 index 7ec57226..00000000 --- a/kubernetes/spec/api/policy_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::PolicyApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyApi' do - before do - # run before each test - @instance = Kubernetes::PolicyApi.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyApi' do - it 'should create an instance of PolicyApi' do - expect(@instance).to be_instance_of(Kubernetes::PolicyApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/policy_v1beta1_api_spec.rb b/kubernetes/spec/api/policy_v1beta1_api_spec.rb deleted file mode 100644 index ab76080a..00000000 --- a/kubernetes/spec/api/policy_v1beta1_api_spec.rb +++ /dev/null @@ -1,355 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::PolicyV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1Api' do - it 'should create an instance of PolicyV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1Api) - end - end - - # unit tests for create_namespaced_pod_disruption_budget - # - # create a PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PodDisruptionBudget] - describe 'create_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_pod_security_policy - # - # create a PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [PolicyV1beta1PodSecurityPolicy] - describe 'create_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_pod_disruption_budget - # - # delete collection of PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_pod_security_policy - # - # delete collection of PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_pod_disruption_budget - # - # delete a PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_pod_security_policy - # - # delete a PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_pod_disruption_budget - # - # list or watch objects of kind PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1PodDisruptionBudgetList] - describe 'list_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_disruption_budget_for_all_namespaces - # - # list or watch objects of kind PodDisruptionBudget - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1PodDisruptionBudgetList] - describe 'list_pod_disruption_budget_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_security_policy - # - # list or watch objects of kind PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [PolicyV1beta1PodSecurityPolicyList] - describe 'list_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod_disruption_budget - # - # partially update the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PodDisruptionBudget] - describe 'patch_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod_disruption_budget_status - # - # partially update status of the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PodDisruptionBudget] - describe 'patch_namespaced_pod_disruption_budget_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_pod_security_policy - # - # partially update the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [PolicyV1beta1PodSecurityPolicy] - describe 'patch_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_disruption_budget - # - # read the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1PodDisruptionBudget] - describe 'read_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_disruption_budget_status - # - # read status of the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1PodDisruptionBudget] - describe 'read_namespaced_pod_disruption_budget_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_pod_security_policy - # - # read the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [PolicyV1beta1PodSecurityPolicy] - describe 'read_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod_disruption_budget - # - # replace the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PodDisruptionBudget] - describe 'replace_namespaced_pod_disruption_budget test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod_disruption_budget_status - # - # replace status of the specified PodDisruptionBudget - # @param name name of the PodDisruptionBudget - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PodDisruptionBudget] - describe 'replace_namespaced_pod_disruption_budget_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_pod_security_policy - # - # replace the specified PodSecurityPolicy - # @param name name of the PodSecurityPolicy - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [PolicyV1beta1PodSecurityPolicy] - describe 'replace_pod_security_policy test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/rbac_authorization_api_spec.rb b/kubernetes/spec/api/rbac_authorization_api_spec.rb deleted file mode 100644 index d1de6705..00000000 --- a/kubernetes/spec/api/rbac_authorization_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::RbacAuthorizationApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'RbacAuthorizationApi' do - before do - # run before each test - @instance = Kubernetes::RbacAuthorizationApi.new - end - - after do - # run after each test - end - - describe 'test an instance of RbacAuthorizationApi' do - it 'should create an instance of RbacAuthorizationApi' do - expect(@instance).to be_instance_of(Kubernetes::RbacAuthorizationApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb deleted file mode 100644 index eadc372c..00000000 --- a/kubernetes/spec/api/rbac_authorization_v1_api_spec.rb +++ /dev/null @@ -1,564 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::RbacAuthorizationV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'RbacAuthorizationV1Api' do - before do - # run before each test - @instance = Kubernetes::RbacAuthorizationV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of RbacAuthorizationV1Api' do - it 'should create an instance of RbacAuthorizationV1Api' do - expect(@instance).to be_instance_of(Kubernetes::RbacAuthorizationV1Api) - end - end - - # unit tests for create_cluster_role - # - # create a ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRole] - describe 'create_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_cluster_role_binding - # - # create a ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRoleBinding] - describe 'create_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role - # - # create a Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Role] - describe 'create_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role_binding - # - # create a RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1RoleBinding] - describe 'create_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role - # - # delete a ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role_binding - # - # delete a ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role - # - # delete collection of ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role_binding - # - # delete collection of ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role - # - # delete collection of Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role_binding - # - # delete collection of RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role - # - # delete a Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role_binding - # - # delete a RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role - # - # list or watch objects of kind ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ClusterRoleList] - describe 'list_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role_binding - # - # list or watch objects of kind ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1ClusterRoleBindingList] - describe 'list_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role - # - # list or watch objects of kind Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1RoleList] - describe 'list_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role_binding - # - # list or watch objects of kind RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1RoleBindingList] - describe 'list_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_binding_for_all_namespaces - # - # list or watch objects of kind RoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1RoleBindingList] - describe 'list_role_binding_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_for_all_namespaces - # - # list or watch objects of kind Role - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1RoleList] - describe 'list_role_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role - # - # partially update the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRole] - describe 'patch_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role_binding - # - # partially update the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRoleBinding] - describe 'patch_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role - # - # partially update the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Role] - describe 'patch_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role_binding - # - # partially update the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1RoleBinding] - describe 'patch_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role - # - # read the specified ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ClusterRole] - describe 'read_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role_binding - # - # read the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1ClusterRoleBinding] - describe 'read_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role - # - # read the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1Role] - describe 'read_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role_binding - # - # read the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1RoleBinding] - describe 'read_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role - # - # replace the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRole] - describe 'replace_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role_binding - # - # replace the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1ClusterRoleBinding] - describe 'replace_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role - # - # replace the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1Role] - describe 'replace_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role_binding - # - # replace the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1RoleBinding] - describe 'replace_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb deleted file mode 100644 index 10fbe112..00000000 --- a/kubernetes/spec/api/rbac_authorization_v1alpha1_api_spec.rb +++ /dev/null @@ -1,564 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::RbacAuthorizationV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'RbacAuthorizationV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::RbacAuthorizationV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of RbacAuthorizationV1alpha1Api' do - it 'should create an instance of RbacAuthorizationV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::RbacAuthorizationV1alpha1Api) - end - end - - # unit tests for create_cluster_role - # - # create a ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRole] - describe 'create_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_cluster_role_binding - # - # create a ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRoleBinding] - describe 'create_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role - # - # create a Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1Role] - describe 'create_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role_binding - # - # create a RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1RoleBinding] - describe 'create_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role - # - # delete a ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role_binding - # - # delete a ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role - # - # delete collection of ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role_binding - # - # delete collection of ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role - # - # delete collection of Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role_binding - # - # delete collection of RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role - # - # delete a Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role_binding - # - # delete a RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role - # - # list or watch objects of kind ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1ClusterRoleList] - describe 'list_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role_binding - # - # list or watch objects of kind ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1ClusterRoleBindingList] - describe 'list_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role - # - # list or watch objects of kind Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1RoleList] - describe 'list_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role_binding - # - # list or watch objects of kind RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1RoleBindingList] - describe 'list_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_binding_for_all_namespaces - # - # list or watch objects of kind RoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1RoleBindingList] - describe 'list_role_binding_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_for_all_namespaces - # - # list or watch objects of kind Role - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1RoleList] - describe 'list_role_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role - # - # partially update the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRole] - describe 'patch_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role_binding - # - # partially update the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRoleBinding] - describe 'patch_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role - # - # partially update the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1Role] - describe 'patch_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role_binding - # - # partially update the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1RoleBinding] - describe 'patch_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role - # - # read the specified ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ClusterRole] - describe 'read_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role_binding - # - # read the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1ClusterRoleBinding] - describe 'read_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role - # - # read the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1Role] - describe 'read_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role_binding - # - # read the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1alpha1RoleBinding] - describe 'read_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role - # - # replace the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRole] - describe 'replace_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role_binding - # - # replace the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1ClusterRoleBinding] - describe 'replace_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role - # - # replace the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1Role] - describe 'replace_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role_binding - # - # replace the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1RoleBinding] - describe 'replace_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb b/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb deleted file mode 100644 index fac955f2..00000000 --- a/kubernetes/spec/api/rbac_authorization_v1beta1_api_spec.rb +++ /dev/null @@ -1,564 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::RbacAuthorizationV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'RbacAuthorizationV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::RbacAuthorizationV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of RbacAuthorizationV1beta1Api' do - it 'should create an instance of RbacAuthorizationV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::RbacAuthorizationV1beta1Api) - end - end - - # unit tests for create_cluster_role - # - # create a ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRole] - describe 'create_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_cluster_role_binding - # - # create a ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRoleBinding] - describe 'create_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role - # - # create a Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Role] - describe 'create_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_namespaced_role_binding - # - # create a RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1RoleBinding] - describe 'create_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role - # - # delete a ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_cluster_role_binding - # - # delete a ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role - # - # delete collection of ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_cluster_role_binding - # - # delete collection of ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role - # - # delete collection of Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_role_binding - # - # delete collection of RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role - # - # delete a Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_role_binding - # - # delete a RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role - # - # list or watch objects of kind ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ClusterRoleList] - describe 'list_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_cluster_role_binding - # - # list or watch objects of kind ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1ClusterRoleBindingList] - describe 'list_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role - # - # list or watch objects of kind Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1RoleList] - describe 'list_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_role_binding - # - # list or watch objects of kind RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1RoleBindingList] - describe 'list_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_binding_for_all_namespaces - # - # list or watch objects of kind RoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1RoleBindingList] - describe 'list_role_binding_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_role_for_all_namespaces - # - # list or watch objects of kind Role - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1RoleList] - describe 'list_role_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role - # - # partially update the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRole] - describe 'patch_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_cluster_role_binding - # - # partially update the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRoleBinding] - describe 'patch_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role - # - # partially update the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Role] - describe 'patch_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_role_binding - # - # partially update the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1RoleBinding] - describe 'patch_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role - # - # read the specified ClusterRole - # @param name name of the ClusterRole - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1ClusterRole] - describe 'read_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_cluster_role_binding - # - # read the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1ClusterRoleBinding] - describe 'read_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role - # - # read the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1Role] - describe 'read_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_role_binding - # - # read the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1beta1RoleBinding] - describe 'read_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role - # - # replace the specified ClusterRole - # @param name name of the ClusterRole - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRole] - describe 'replace_cluster_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_cluster_role_binding - # - # replace the specified ClusterRoleBinding - # @param name name of the ClusterRoleBinding - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1ClusterRoleBinding] - describe 'replace_cluster_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role - # - # replace the specified Role - # @param name name of the Role - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1Role] - describe 'replace_namespaced_role test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_role_binding - # - # replace the specified RoleBinding - # @param name name of the RoleBinding - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1RoleBinding] - describe 'replace_namespaced_role_binding test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/scheduling_api_spec.rb b/kubernetes/spec/api/scheduling_api_spec.rb deleted file mode 100644 index 2058c3f8..00000000 --- a/kubernetes/spec/api/scheduling_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::SchedulingApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'SchedulingApi' do - before do - # run before each test - @instance = Kubernetes::SchedulingApi.new - end - - after do - # run after each test - end - - describe 'test an instance of SchedulingApi' do - it 'should create an instance of SchedulingApi' do - expect(@instance).to be_instance_of(Kubernetes::SchedulingApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb b/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb deleted file mode 100644 index eb6d97c4..00000000 --- a/kubernetes/spec/api/scheduling_v1alpha1_api_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::SchedulingV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'SchedulingV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::SchedulingV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of SchedulingV1alpha1Api' do - it 'should create an instance of SchedulingV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::SchedulingV1alpha1Api) - end - end - - # unit tests for create_priority_class - # - # create a PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PriorityClass] - describe 'create_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_priority_class - # - # delete collection of PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_priority_class - # - # delete a PriorityClass - # @param name name of the PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_priority_class - # - # list or watch objects of kind PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1PriorityClassList] - describe 'list_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_priority_class - # - # partially update the specified PriorityClass - # @param name name of the PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PriorityClass] - describe 'patch_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_priority_class - # - # read the specified PriorityClass - # @param name name of the PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1PriorityClass] - describe 'read_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_priority_class - # - # replace the specified PriorityClass - # @param name name of the PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PriorityClass] - describe 'replace_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb b/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb deleted file mode 100644 index c263242f..00000000 --- a/kubernetes/spec/api/scheduling_v1beta1_api_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::SchedulingV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'SchedulingV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::SchedulingV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of SchedulingV1beta1Api' do - it 'should create an instance of SchedulingV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::SchedulingV1beta1Api) - end - end - - # unit tests for create_priority_class - # - # create a PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PriorityClass] - describe 'create_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_priority_class - # - # delete collection of PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_priority_class - # - # delete a PriorityClass - # @param name name of the PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_priority_class - # - # list or watch objects of kind PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1PriorityClassList] - describe 'list_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_priority_class - # - # partially update the specified PriorityClass - # @param name name of the PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PriorityClass] - describe 'patch_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_priority_class - # - # read the specified PriorityClass - # @param name name of the PriorityClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1PriorityClass] - describe 'read_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_priority_class - # - # replace the specified PriorityClass - # @param name name of the PriorityClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1PriorityClass] - describe 'replace_priority_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/settings_api_spec.rb b/kubernetes/spec/api/settings_api_spec.rb deleted file mode 100644 index 7919cf79..00000000 --- a/kubernetes/spec/api/settings_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::SettingsApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'SettingsApi' do - before do - # run before each test - @instance = Kubernetes::SettingsApi.new - end - - after do - # run after each test - end - - describe 'test an instance of SettingsApi' do - it 'should create an instance of SettingsApi' do - expect(@instance).to be_instance_of(Kubernetes::SettingsApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/settings_v1alpha1_api_spec.rb b/kubernetes/spec/api/settings_v1alpha1_api_spec.rb deleted file mode 100644 index 2b56d538..00000000 --- a/kubernetes/spec/api/settings_v1alpha1_api_spec.rb +++ /dev/null @@ -1,191 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::SettingsV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'SettingsV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::SettingsV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of SettingsV1alpha1Api' do - it 'should create an instance of SettingsV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::SettingsV1alpha1Api) - end - end - - # unit tests for create_namespaced_pod_preset - # - # create a PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PodPreset] - describe 'create_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_namespaced_pod_preset - # - # delete collection of PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_namespaced_pod_preset - # - # delete a PodPreset - # @param name name of the PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_namespaced_pod_preset - # - # list or watch objects of kind PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1PodPresetList] - describe 'list_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_pod_preset_for_all_namespaces - # - # list or watch objects of kind PodPreset - # @param [Hash] opts the optional parameters - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1PodPresetList] - describe 'list_pod_preset_for_all_namespaces test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_namespaced_pod_preset - # - # partially update the specified PodPreset - # @param name name of the PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PodPreset] - describe 'patch_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_namespaced_pod_preset - # - # read the specified PodPreset - # @param name name of the PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1PodPreset] - describe 'read_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_namespaced_pod_preset - # - # replace the specified PodPreset - # @param name name of the PodPreset - # @param namespace object name and auth scope, such as for teams and projects - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1PodPreset] - describe 'replace_namespaced_pod_preset test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/storage_api_spec.rb b/kubernetes/spec/api/storage_api_spec.rb deleted file mode 100644 index ebcc534a..00000000 --- a/kubernetes/spec/api/storage_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::StorageApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'StorageApi' do - before do - # run before each test - @instance = Kubernetes::StorageApi.new - end - - after do - # run after each test - end - - describe 'test an instance of StorageApi' do - it 'should create an instance of StorageApi' do - expect(@instance).to be_instance_of(Kubernetes::StorageApi) - end - end - - # unit tests for get_api_group - # - # get information of a group - # @param [Hash] opts the optional parameters - # @return [V1APIGroup] - describe 'get_api_group test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/storage_v1_api_spec.rb b/kubernetes/spec/api/storage_v1_api_spec.rb deleted file mode 100644 index 6d85e8e7..00000000 --- a/kubernetes/spec/api/storage_v1_api_spec.rb +++ /dev/null @@ -1,325 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::StorageV1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'StorageV1Api' do - before do - # run before each test - @instance = Kubernetes::StorageV1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of StorageV1Api' do - it 'should create an instance of StorageV1Api' do - expect(@instance).to be_instance_of(Kubernetes::StorageV1Api) - end - end - - # unit tests for create_storage_class - # - # create a StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StorageClass] - describe 'create_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_volume_attachment - # - # create a VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1VolumeAttachment] - describe 'create_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_storage_class - # - # delete collection of StorageClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_volume_attachment - # - # delete collection of VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_storage_class - # - # delete a StorageClass - # @param name name of the StorageClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_volume_attachment - # - # delete a VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_storage_class - # - # list or watch objects of kind StorageClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1StorageClassList] - describe 'list_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_volume_attachment - # - # list or watch objects of kind VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1VolumeAttachmentList] - describe 'list_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_storage_class - # - # partially update the specified StorageClass - # @param name name of the StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StorageClass] - describe 'patch_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_volume_attachment - # - # partially update the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1VolumeAttachment] - describe 'patch_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_volume_attachment_status - # - # partially update status of the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1VolumeAttachment] - describe 'patch_volume_attachment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_storage_class - # - # read the specified StorageClass - # @param name name of the StorageClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1StorageClass] - describe 'read_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_volume_attachment - # - # read the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1VolumeAttachment] - describe 'read_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_volume_attachment_status - # - # read status of the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @return [V1VolumeAttachment] - describe 'read_volume_attachment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_storage_class - # - # replace the specified StorageClass - # @param name name of the StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1StorageClass] - describe 'replace_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_volume_attachment - # - # replace the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1VolumeAttachment] - describe 'replace_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_volume_attachment_status - # - # replace status of the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1VolumeAttachment] - describe 'replace_volume_attachment_status test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/storage_v1alpha1_api_spec.rb b/kubernetes/spec/api/storage_v1alpha1_api_spec.rb deleted file mode 100644 index e9edc268..00000000 --- a/kubernetes/spec/api/storage_v1alpha1_api_spec.rb +++ /dev/null @@ -1,164 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::StorageV1alpha1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'StorageV1alpha1Api' do - before do - # run before each test - @instance = Kubernetes::StorageV1alpha1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of StorageV1alpha1Api' do - it 'should create an instance of StorageV1alpha1Api' do - expect(@instance).to be_instance_of(Kubernetes::StorageV1alpha1Api) - end - end - - # unit tests for create_volume_attachment - # - # create a VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1VolumeAttachment] - describe 'create_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_volume_attachment - # - # delete collection of VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_volume_attachment - # - # delete a VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_volume_attachment - # - # list or watch objects of kind VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1alpha1VolumeAttachmentList] - describe 'list_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_volume_attachment - # - # partially update the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1VolumeAttachment] - describe 'patch_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_volume_attachment - # - # read the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1alpha1VolumeAttachment] - describe 'read_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_volume_attachment - # - # replace the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1alpha1VolumeAttachment] - describe 'replace_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/storage_v1beta1_api_spec.rb b/kubernetes/spec/api/storage_v1beta1_api_spec.rb deleted file mode 100644 index 4bc13c71..00000000 --- a/kubernetes/spec/api/storage_v1beta1_api_spec.rb +++ /dev/null @@ -1,282 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::StorageV1beta1Api -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'StorageV1beta1Api' do - before do - # run before each test - @instance = Kubernetes::StorageV1beta1Api.new - end - - after do - # run after each test - end - - describe 'test an instance of StorageV1beta1Api' do - it 'should create an instance of StorageV1beta1Api' do - expect(@instance).to be_instance_of(Kubernetes::StorageV1beta1Api) - end - end - - # unit tests for create_storage_class - # - # create a StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StorageClass] - describe 'create_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for create_volume_attachment - # - # create a VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1VolumeAttachment] - describe 'create_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_storage_class - # - # delete collection of StorageClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_collection_volume_attachment - # - # delete collection of VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1Status] - describe 'delete_collection_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_storage_class - # - # delete a StorageClass - # @param name name of the StorageClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for delete_volume_attachment - # - # delete a VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [V1DeleteOptions] :body - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @option opts [Integer] :grace_period_seconds The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. - # @option opts [BOOLEAN] :orphan_dependents Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. - # @option opts [String] :propagation_policy Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. - # @return [V1Status] - describe 'delete_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for get_api_resources - # - # get available resources - # @param [Hash] opts the optional parameters - # @return [V1APIResourceList] - describe 'get_api_resources test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_storage_class - # - # list or watch objects of kind StorageClass - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1StorageClassList] - describe 'list_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for list_volume_attachment - # - # list or watch objects of kind VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [BOOLEAN] :include_uninitialized If true, partially initialized resources are included in the response. - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :continue The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. - # @option opts [String] :field_selector A selector to restrict the list of returned objects by their fields. Defaults to everything. - # @option opts [String] :label_selector A selector to restrict the list of returned objects by their labels. Defaults to everything. - # @option opts [Integer] :limit limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. - # @option opts [String] :resource_version When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. - # @option opts [Integer] :timeout_seconds Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. - # @option opts [BOOLEAN] :watch Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. - # @return [V1beta1VolumeAttachmentList] - describe 'list_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_storage_class - # - # partially update the specified StorageClass - # @param name name of the StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StorageClass] - describe 'patch_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for patch_volume_attachment - # - # partially update the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1VolumeAttachment] - describe 'patch_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_storage_class - # - # read the specified StorageClass - # @param name name of the StorageClass - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1StorageClass] - describe 'read_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for read_volume_attachment - # - # read the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [BOOLEAN] :exact Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. - # @option opts [BOOLEAN] :export Should this value be exported. Export strips fields that a user can not specify. - # @return [V1beta1VolumeAttachment] - describe 'read_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_storage_class - # - # replace the specified StorageClass - # @param name name of the StorageClass - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1StorageClass] - describe 'replace_storage_class test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - # unit tests for replace_volume_attachment - # - # replace the specified VolumeAttachment - # @param name name of the VolumeAttachment - # @param body - # @param [Hash] opts the optional parameters - # @option opts [String] :pretty If 'true', then the output is pretty printed. - # @option opts [String] :dry_run When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed - # @return [V1beta1VolumeAttachment] - describe 'replace_volume_attachment test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api/version_api_spec.rb b/kubernetes/spec/api/version_api_spec.rb deleted file mode 100644 index 5f9ce8e9..00000000 --- a/kubernetes/spec/api/version_api_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' - -# Unit tests for Kubernetes::VersionApi -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'VersionApi' do - before do - # run before each test - @instance = Kubernetes::VersionApi.new - end - - after do - # run after each test - end - - describe 'test an instance of VersionApi' do - it 'should create an instance of VersionApi' do - expect(@instance).to be_instance_of(Kubernetes::VersionApi) - end - end - - # unit tests for get_code - # - # get the code version - # @param [Hash] opts the optional parameters - # @return [VersionInfo] - describe 'get_code test' do - it "should work" do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end diff --git a/kubernetes/spec/api_client_spec.rb b/kubernetes/spec/api_client_spec.rb deleted file mode 100644 index 739d80ae..00000000 --- a/kubernetes/spec/api_client_spec.rb +++ /dev/null @@ -1,226 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' - -describe Kubernetes::ApiClient do - context 'initialization' do - context 'URL stuff' do - context 'host' do - it 'removes http from host' do - Kubernetes.configure { |c| c.host = 'http://example.com/' } - expect(Kubernetes::Configuration.default.host).to eq('example.com') - end - - it 'removes https from host' do - Kubernetes.configure { |c| c.host = 'https://wookiee.com/' } - expect(Kubernetes::ApiClient.default.config.host).to eq('wookiee.com') - end - - it 'removes trailing path from host' do - Kubernetes.configure { |c| c.host = 'hobo.com/v4' } - expect(Kubernetes::Configuration.default.host).to eq('hobo.com') - end - end - - context 'base_path' do - it "prepends a slash to base_path" do - Kubernetes.configure { |c| c.base_path = 'v4/dog' } - expect(Kubernetes::Configuration.default.base_path).to eq('/v4/dog') - end - - it "doesn't prepend a slash if one is already there" do - Kubernetes.configure { |c| c.base_path = '/v4/dog' } - expect(Kubernetes::Configuration.default.base_path).to eq('/v4/dog') - end - - it "ends up as a blank string if nil" do - Kubernetes.configure { |c| c.base_path = nil } - expect(Kubernetes::Configuration.default.base_path).to eq('') - end - end - end - end - - describe "params_encoding in #build_request" do - let(:config) { Kubernetes::Configuration.new } - let(:api_client) { Kubernetes::ApiClient.new(config) } - - it "defaults to nil" do - expect(Kubernetes::Configuration.default.params_encoding).to eq(nil) - expect(config.params_encoding).to eq(nil) - - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(nil) - end - - it "can be customized" do - config.params_encoding = :multi - request = api_client.build_request(:get, '/test') - expect(request.options[:params_encoding]).to eq(:multi) - end - end - - describe "timeout in #build_request" do - let(:config) { Kubernetes::Configuration.new } - let(:api_client) { Kubernetes::ApiClient.new(config) } - - it "defaults to 0" do - expect(Kubernetes::Configuration.default.timeout).to eq(0) - expect(config.timeout).to eq(0) - - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(0) - end - - it "can be customized" do - config.timeout = 100 - request = api_client.build_request(:get, '/test') - expect(request.options[:timeout]).to eq(100) - end - end - - describe "#deserialize" do - it "handles Array" do - api_client = Kubernetes::ApiClient.new - headers = {'Content-Type' => 'application/json'} - response = double('response', headers: headers, body: '[12, 34]') - data = api_client.deserialize(response, 'Array') - expect(data).to be_instance_of(Array) - expect(data).to eq([12, 34]) - end - - it "handles Array>" do - api_client = Kubernetes::ApiClient.new - headers = {'Content-Type' => 'application/json'} - response = double('response', headers: headers, body: '[[12, 34], [56]]') - data = api_client.deserialize(response, 'Array>') - expect(data).to be_instance_of(Array) - expect(data).to eq([[12, 34], [56]]) - end - - it "handles Hash" do - api_client = Kubernetes::ApiClient.new - headers = {'Content-Type' => 'application/json'} - response = double('response', headers: headers, body: '{"message": "Hello"}') - data = api_client.deserialize(response, 'Hash') - expect(data).to be_instance_of(Hash) - expect(data).to eq({:message => 'Hello'}) - end - end - - describe "#object_to_hash" do - it "ignores nils and includes empty arrays" do - # uncomment below to test object_to_hash for model - #api_client = Kubernetes::ApiClient.new - #_model = Kubernetes::ModelName.new - # update the model attribute below - #_model.id = 1 - # update the expected value (hash) below - #expected = {id: 1, name: '', tags: []} - #expect(api_client.object_to_hash(_model)).to eq(expected) - end - end - - describe "#build_collection_param" do - let(:param) { ['aa', 'bb', 'cc'] } - let(:api_client) { Kubernetes::ApiClient.new } - - it "works for csv" do - expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc') - end - - it "works for ssv" do - expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc') - end - - it "works for tsv" do - expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc") - end - - it "works for pipes" do - expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc') - end - - it "works for multi" do - expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc']) - end - - it "fails for invalid collection format" do - expect(proc { api_client.build_collection_param(param, :INVALID) }).to raise_error(RuntimeError, 'unknown collection format: :INVALID') - end - end - - describe "#json_mime?" do - let(:api_client) { Kubernetes::ApiClient.new } - - it "works" do - expect(api_client.json_mime?(nil)).to eq false - expect(api_client.json_mime?('')).to eq false - - expect(api_client.json_mime?('application/json')).to eq true - expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true - expect(api_client.json_mime?('APPLICATION/JSON')).to eq true - - expect(api_client.json_mime?('application/xml')).to eq false - expect(api_client.json_mime?('text/plain')).to eq false - expect(api_client.json_mime?('application/jsonp')).to eq false - end - end - - describe "#select_header_accept" do - let(:api_client) { Kubernetes::ApiClient.new } - - it "works" do - expect(api_client.select_header_accept(nil)).to be_nil - expect(api_client.select_header_accept([])).to be_nil - - expect(api_client.select_header_accept(['application/json'])).to eq('application/json') - expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - - expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml') - end - end - - describe "#select_header_content_type" do - let(:api_client) { Kubernetes::ApiClient.new } - - it "works" do - expect(api_client.select_header_content_type(nil)).to eq('application/json') - expect(api_client.select_header_content_type([])).to eq('application/json') - - expect(api_client.select_header_content_type(['application/json'])).to eq('application/json') - expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8') - expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON') - expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml') - expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain') - end - end - - describe "#sanitize_filename" do - let(:api_client) { Kubernetes::ApiClient.new } - - it "works" do - expect(api_client.sanitize_filename('sun')).to eq('sun') - expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif') - expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif') - end - end -end diff --git a/kubernetes/spec/configuration_spec.rb b/kubernetes/spec/configuration_spec.rb deleted file mode 100644 index dc2d2932..00000000 --- a/kubernetes/spec/configuration_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' - -describe Kubernetes::Configuration do - let(:config) { Kubernetes::Configuration.default } - - before(:each) do - # uncomment below to setup host and base_path - #require 'URI' - #uri = URI.parse("https://localhost/") - #Kubernetes.configure do |c| - # c.host = uri.host - # c.base_path = uri.path - #end - end - - describe '#base_url' do - it 'should have the default value' do - # uncomment below to test default value of the base path - #expect(config.base_url).to eq("https://localhost/") - end - - it 'should remove trailing slashes' do - [nil, '', '/', '//'].each do |base_path| - config.base_path = base_path - # uncomment below to test trailing slashes - #expect(config.base_url).to eq("https://localhost/") - end - end - end -end diff --git a/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb deleted file mode 100644 index e6a78000..00000000 --- a/kubernetes/spec/models/admissionregistration_v1beta1_service_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AdmissionregistrationV1beta1ServiceReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AdmissionregistrationV1beta1ServiceReference' do - before do - # run before each test - @instance = Kubernetes::AdmissionregistrationV1beta1ServiceReference.new - end - - after do - # run after each test - end - - describe 'test an instance of AdmissionregistrationV1beta1ServiceReference' do - it 'should create an instance of AdmissionregistrationV1beta1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1ServiceReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb b/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb deleted file mode 100644 index f8c3f2d7..00000000 --- a/kubernetes/spec/models/admissionregistration_v1beta1_webhook_client_config_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AdmissionregistrationV1beta1WebhookClientConfig' do - before do - # run before each test - @instance = Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of AdmissionregistrationV1beta1WebhookClientConfig' do - it 'should create an instance of AdmissionregistrationV1beta1WebhookClientConfig' do - expect(@instance).to be_instance_of(Kubernetes::AdmissionregistrationV1beta1WebhookClientConfig) - end - end - describe 'test attribute "ca_bundle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb deleted file mode 100644 index 16d7d915..00000000 --- a/kubernetes/spec/models/apiextensions_v1beta1_service_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ApiextensionsV1beta1ServiceReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiextensionsV1beta1ServiceReference' do - before do - # run before each test - @instance = Kubernetes::ApiextensionsV1beta1ServiceReference.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiextensionsV1beta1ServiceReference' do - it 'should create an instance of ApiextensionsV1beta1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::ApiextensionsV1beta1ServiceReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb b/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb deleted file mode 100644 index 74411c10..00000000 --- a/kubernetes/spec/models/apiextensions_v1beta1_webhook_client_config_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ApiextensionsV1beta1WebhookClientConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiextensionsV1beta1WebhookClientConfig' do - before do - # run before each test - @instance = Kubernetes::ApiextensionsV1beta1WebhookClientConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiextensionsV1beta1WebhookClientConfig' do - it 'should create an instance of ApiextensionsV1beta1WebhookClientConfig' do - expect(@instance).to be_instance_of(Kubernetes::ApiextensionsV1beta1WebhookClientConfig) - end - end - describe 'test attribute "ca_bundle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb b/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb deleted file mode 100644 index 7b560c23..00000000 --- a/kubernetes/spec/models/apiregistration_v1beta1_service_reference_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ApiregistrationV1beta1ServiceReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ApiregistrationV1beta1ServiceReference' do - before do - # run before each test - @instance = Kubernetes::ApiregistrationV1beta1ServiceReference.new - end - - after do - # run after each test - end - - describe 'test an instance of ApiregistrationV1beta1ServiceReference' do - it 'should create an instance of ApiregistrationV1beta1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::ApiregistrationV1beta1ServiceReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb deleted file mode 100644 index 31575bfd..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentCondition' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentCondition' do - it 'should create an instance of AppsV1beta1DeploymentCondition' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_update_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb deleted file mode 100644 index 2c8ab4a5..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentList' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentList.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentList' do - it 'should create an instance of AppsV1beta1DeploymentList' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb deleted file mode 100644 index 2aa7279c..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_rollback_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentRollback -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentRollback' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentRollback.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentRollback' do - it 'should create an instance of AppsV1beta1DeploymentRollback' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentRollback) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rollback_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_annotations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb deleted file mode 100644 index 2abea359..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1Deployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1Deployment' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1Deployment.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1Deployment' do - it 'should create an instance of AppsV1beta1Deployment' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1Deployment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb deleted file mode 100644 index edffd6f1..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_spec_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentSpec' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentSpec' do - it 'should create an instance of AppsV1beta1DeploymentSpec' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "paused"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "progress_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rollback_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb deleted file mode 100644 index 2c8c7b05..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentStatus' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentStatus' do - it 'should create an instance of AppsV1beta1DeploymentStatus' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unavailable_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb b/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb deleted file mode 100644 index 630a1c55..00000000 --- a/kubernetes/spec/models/apps_v1beta1_deployment_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1DeploymentStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1DeploymentStrategy' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1DeploymentStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1DeploymentStrategy' do - it 'should create an instance of AppsV1beta1DeploymentStrategy' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1DeploymentStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb b/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb deleted file mode 100644 index 5b4c7256..00000000 --- a/kubernetes/spec/models/apps_v1beta1_rollback_config_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1RollbackConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1RollbackConfig' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1RollbackConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1RollbackConfig' do - it 'should create an instance of AppsV1beta1RollbackConfig' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1RollbackConfig) - end - end - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb deleted file mode 100644 index 3c532d47..00000000 --- a/kubernetes/spec/models/apps_v1beta1_rolling_update_deployment_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1RollingUpdateDeployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1RollingUpdateDeployment' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1RollingUpdateDeployment.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1RollingUpdateDeployment' do - it 'should create an instance of AppsV1beta1RollingUpdateDeployment' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1RollingUpdateDeployment) - end - end - describe 'test attribute "max_surge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_scale_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_spec.rb deleted file mode 100644 index 3c3006f4..00000000 --- a/kubernetes/spec/models/apps_v1beta1_scale_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1Scale -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1Scale' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1Scale.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1Scale' do - it 'should create an instance of AppsV1beta1Scale' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1Scale) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb deleted file mode 100644 index 6bba477b..00000000 --- a/kubernetes/spec/models/apps_v1beta1_scale_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1ScaleSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1ScaleSpec' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1ScaleSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1ScaleSpec' do - it 'should create an instance of AppsV1beta1ScaleSpec' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1ScaleSpec) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb b/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb deleted file mode 100644 index f02002ad..00000000 --- a/kubernetes/spec/models/apps_v1beta1_scale_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::AppsV1beta1ScaleStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'AppsV1beta1ScaleStatus' do - before do - # run before each test - @instance = Kubernetes::AppsV1beta1ScaleStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of AppsV1beta1ScaleStatus' do - it 'should create an instance of AppsV1beta1ScaleStatus' do - expect(@instance).to be_instance_of(Kubernetes::AppsV1beta1ScaleStatus) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb b/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb deleted file mode 100644 index 7856d71f..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_allowed_flex_volume_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1AllowedFlexVolume -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1AllowedFlexVolume' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1AllowedFlexVolume.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1AllowedFlexVolume' do - it 'should create an instance of ExtensionsV1beta1AllowedFlexVolume' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1AllowedFlexVolume) - end - end - describe 'test attribute "driver"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb b/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb deleted file mode 100644 index 1ba3061a..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_allowed_host_path_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1AllowedHostPath -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1AllowedHostPath' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1AllowedHostPath.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1AllowedHostPath' do - it 'should create an instance of ExtensionsV1beta1AllowedHostPath' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1AllowedHostPath) - end - end - describe 'test attribute "path_prefix"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb deleted file mode 100644 index a2ddd819..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentCondition' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentCondition' do - it 'should create an instance of ExtensionsV1beta1DeploymentCondition' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_update_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb deleted file mode 100644 index 60c796f9..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentList' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentList.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentList' do - it 'should create an instance of ExtensionsV1beta1DeploymentList' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb deleted file mode 100644 index 439f9f18..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_rollback_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentRollback -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentRollback' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentRollback.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentRollback' do - it 'should create an instance of ExtensionsV1beta1DeploymentRollback' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentRollback) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rollback_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_annotations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb deleted file mode 100644 index 055a04ca..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1Deployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1Deployment' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1Deployment.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1Deployment' do - it 'should create an instance of ExtensionsV1beta1Deployment' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1Deployment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb deleted file mode 100644 index c08a8042..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_spec_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentSpec' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentSpec' do - it 'should create an instance of ExtensionsV1beta1DeploymentSpec' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "paused"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "progress_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rollback_to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb deleted file mode 100644 index b808a973..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentStatus' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentStatus' do - it 'should create an instance of ExtensionsV1beta1DeploymentStatus' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unavailable_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb b/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb deleted file mode 100644 index d73010ff..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_deployment_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1DeploymentStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1DeploymentStrategy' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1DeploymentStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1DeploymentStrategy' do - it 'should create an instance of ExtensionsV1beta1DeploymentStrategy' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1DeploymentStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb deleted file mode 100644 index bdd9ae61..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_fs_group_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1FSGroupStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1FSGroupStrategyOptions' do - it 'should create an instance of ExtensionsV1beta1FSGroupStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1FSGroupStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb b/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb deleted file mode 100644 index 9c82f8ff..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_host_port_range_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1HostPortRange -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1HostPortRange' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1HostPortRange.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1HostPortRange' do - it 'should create an instance of ExtensionsV1beta1HostPortRange' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1HostPortRange) - end - end - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb b/kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb deleted file mode 100644 index 726d6098..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_id_range_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1IDRange -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1IDRange' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1IDRange.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1IDRange' do - it 'should create an instance of ExtensionsV1beta1IDRange' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1IDRange) - end - end - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb deleted file mode 100644 index 06ab4820..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicyList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1PodSecurityPolicyList' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicyList.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1PodSecurityPolicyList' do - it 'should create an instance of ExtensionsV1beta1PodSecurityPolicyList' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicyList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb deleted file mode 100644 index 772f5890..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1PodSecurityPolicy' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicy.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1PodSecurityPolicy' do - it 'should create an instance of ExtensionsV1beta1PodSecurityPolicy' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicy) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb deleted file mode 100644 index 3b2070dd..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_pod_security_policy_spec_spec.rb +++ /dev/null @@ -1,168 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1PodSecurityPolicySpec' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1PodSecurityPolicySpec' do - it 'should create an instance of ExtensionsV1beta1PodSecurityPolicySpec' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1PodSecurityPolicySpec) - end - end - describe 'test attribute "allow_privilege_escalation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_flex_volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_host_paths"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_proc_mount_types"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_unsafe_sysctls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_add_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_allow_privilege_escalation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "forbidden_sysctls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ipc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_network"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_pid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "privileged"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only_root_filesystem"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required_drop_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "supplemental_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb b/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb deleted file mode 100644 index 13b0554b..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_rollback_config_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1RollbackConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1RollbackConfig' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1RollbackConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1RollbackConfig' do - it 'should create an instance of ExtensionsV1beta1RollbackConfig' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RollbackConfig) - end - end - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb deleted file mode 100644 index 2777795b..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_rolling_update_deployment_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1RollingUpdateDeployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1RollingUpdateDeployment' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1RollingUpdateDeployment.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1RollingUpdateDeployment' do - it 'should create an instance of ExtensionsV1beta1RollingUpdateDeployment' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RollingUpdateDeployment) - end - end - describe 'test attribute "max_surge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb deleted file mode 100644 index a76fbf95..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_run_as_group_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1RunAsGroupStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1RunAsGroupStrategyOptions' do - it 'should create an instance of ExtensionsV1beta1RunAsGroupStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RunAsGroupStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb deleted file mode 100644 index 663d2880..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_run_as_user_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1RunAsUserStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1RunAsUserStrategyOptions' do - it 'should create an instance of ExtensionsV1beta1RunAsUserStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1RunAsUserStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb deleted file mode 100644 index b459d0cd..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_scale_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1Scale -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1Scale' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1Scale.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1Scale' do - it 'should create an instance of ExtensionsV1beta1Scale' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1Scale) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb deleted file mode 100644 index 6d5d5925..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_scale_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1ScaleSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1ScaleSpec' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1ScaleSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1ScaleSpec' do - it 'should create an instance of ExtensionsV1beta1ScaleSpec' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1ScaleSpec) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb b/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb deleted file mode 100644 index 7ec75fb4..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_scale_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1ScaleStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1ScaleStatus' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1ScaleStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1ScaleStatus' do - it 'should create an instance of ExtensionsV1beta1ScaleStatus' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1ScaleStatus) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb deleted file mode 100644 index fd358310..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_se_linux_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1SELinuxStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1SELinuxStrategyOptions' do - it 'should create an instance of ExtensionsV1beta1SELinuxStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1SELinuxStrategyOptions) - end - end - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb b/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb deleted file mode 100644 index 6d1722ad..00000000 --- a/kubernetes/spec/models/extensions_v1beta1_supplemental_groups_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'ExtensionsV1beta1SupplementalGroupsStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of ExtensionsV1beta1SupplementalGroupsStrategyOptions' do - it 'should create an instance of ExtensionsV1beta1SupplementalGroupsStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::ExtensionsV1beta1SupplementalGroupsStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb b/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb deleted file mode 100644 index 43bd1dca..00000000 --- a/kubernetes/spec/models/policy_v1beta1_allowed_flex_volume_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1AllowedFlexVolume -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1AllowedFlexVolume' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1AllowedFlexVolume.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1AllowedFlexVolume' do - it 'should create an instance of PolicyV1beta1AllowedFlexVolume' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1AllowedFlexVolume) - end - end - describe 'test attribute "driver"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb b/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb deleted file mode 100644 index d9135e3a..00000000 --- a/kubernetes/spec/models/policy_v1beta1_allowed_host_path_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1AllowedHostPath -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1AllowedHostPath' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1AllowedHostPath.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1AllowedHostPath' do - it 'should create an instance of PolicyV1beta1AllowedHostPath' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1AllowedHostPath) - end - end - describe 'test attribute "path_prefix"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb deleted file mode 100644 index 6cb5023c..00000000 --- a/kubernetes/spec/models/policy_v1beta1_fs_group_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1FSGroupStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1FSGroupStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1FSGroupStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1FSGroupStrategyOptions' do - it 'should create an instance of PolicyV1beta1FSGroupStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1FSGroupStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb b/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb deleted file mode 100644 index 35825f51..00000000 --- a/kubernetes/spec/models/policy_v1beta1_host_port_range_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1HostPortRange -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1HostPortRange' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1HostPortRange.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1HostPortRange' do - it 'should create an instance of PolicyV1beta1HostPortRange' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1HostPortRange) - end - end - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_id_range_spec.rb b/kubernetes/spec/models/policy_v1beta1_id_range_spec.rb deleted file mode 100644 index 92a3955b..00000000 --- a/kubernetes/spec/models/policy_v1beta1_id_range_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1IDRange -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1IDRange' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1IDRange.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1IDRange' do - it 'should create an instance of PolicyV1beta1IDRange' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1IDRange) - end - end - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb deleted file mode 100644 index a8fae0d0..00000000 --- a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicyList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1PodSecurityPolicyList' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1PodSecurityPolicyList.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1PodSecurityPolicyList' do - it 'should create an instance of PolicyV1beta1PodSecurityPolicyList' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicyList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb deleted file mode 100644 index a03ec586..00000000 --- a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1PodSecurityPolicy' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1PodSecurityPolicy.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1PodSecurityPolicy' do - it 'should create an instance of PolicyV1beta1PodSecurityPolicy' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicy) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb b/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb deleted file mode 100644 index 89e83690..00000000 --- a/kubernetes/spec/models/policy_v1beta1_pod_security_policy_spec_spec.rb +++ /dev/null @@ -1,168 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1PodSecurityPolicySpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1PodSecurityPolicySpec' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1PodSecurityPolicySpec.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1PodSecurityPolicySpec' do - it 'should create an instance of PolicyV1beta1PodSecurityPolicySpec' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1PodSecurityPolicySpec) - end - end - describe 'test attribute "allow_privilege_escalation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_flex_volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_host_paths"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_proc_mount_types"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_unsafe_sysctls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_add_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_allow_privilege_escalation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "forbidden_sysctls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ipc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_network"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_pid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "privileged"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only_root_filesystem"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required_drop_capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "supplemental_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb deleted file mode 100644 index fed10e4f..00000000 --- a/kubernetes/spec/models/policy_v1beta1_run_as_group_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1RunAsGroupStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1RunAsGroupStrategyOptions' do - it 'should create an instance of PolicyV1beta1RunAsGroupStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1RunAsGroupStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb deleted file mode 100644 index ea04d4d4..00000000 --- a/kubernetes/spec/models/policy_v1beta1_run_as_user_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1RunAsUserStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1RunAsUserStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1RunAsUserStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1RunAsUserStrategyOptions' do - it 'should create an instance of PolicyV1beta1RunAsUserStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1RunAsUserStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb deleted file mode 100644 index d5bff13e..00000000 --- a/kubernetes/spec/models/policy_v1beta1_se_linux_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1SELinuxStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1SELinuxStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1SELinuxStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1SELinuxStrategyOptions' do - it 'should create an instance of PolicyV1beta1SELinuxStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1SELinuxStrategyOptions) - end - end - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb b/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb deleted file mode 100644 index 7d369195..00000000 --- a/kubernetes/spec/models/policy_v1beta1_supplemental_groups_strategy_options_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'PolicyV1beta1SupplementalGroupsStrategyOptions' do - before do - # run before each test - @instance = Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of PolicyV1beta1SupplementalGroupsStrategyOptions' do - it 'should create an instance of PolicyV1beta1SupplementalGroupsStrategyOptions' do - expect(@instance).to be_instance_of(Kubernetes::PolicyV1beta1SupplementalGroupsStrategyOptions) - end - end - describe 'test attribute "ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/runtime_raw_extension_spec.rb b/kubernetes/spec/models/runtime_raw_extension_spec.rb deleted file mode 100644 index 7dbe67e4..00000000 --- a/kubernetes/spec/models/runtime_raw_extension_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::RuntimeRawExtension -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'RuntimeRawExtension' do - before do - # run before each test - @instance = Kubernetes::RuntimeRawExtension.new - end - - after do - # run after each test - end - - describe 'test an instance of RuntimeRawExtension' do - it 'should create an instance of RuntimeRawExtension' do - expect(@instance).to be_instance_of(Kubernetes::RuntimeRawExtension) - end - end - describe 'test attribute "raw"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_affinity_spec.rb b/kubernetes/spec/models/v1_affinity_spec.rb deleted file mode 100644 index f8e3e124..00000000 --- a/kubernetes/spec/models/v1_affinity_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Affinity -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Affinity' do - before do - # run before each test - @instance = Kubernetes::V1Affinity.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Affinity' do - it 'should create an instance of V1Affinity' do - expect(@instance).to be_instance_of(Kubernetes::V1Affinity) - end - end - describe 'test attribute "node_affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_anti_affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_aggregation_rule_spec.rb b/kubernetes/spec/models/v1_aggregation_rule_spec.rb deleted file mode 100644 index 23c43e81..00000000 --- a/kubernetes/spec/models/v1_aggregation_rule_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AggregationRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AggregationRule' do - before do - # run before each test - @instance = Kubernetes::V1AggregationRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AggregationRule' do - it 'should create an instance of V1AggregationRule' do - expect(@instance).to be_instance_of(Kubernetes::V1AggregationRule) - end - end - describe 'test attribute "cluster_role_selectors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_group_list_spec.rb b/kubernetes/spec/models/v1_api_group_list_spec.rb deleted file mode 100644 index ff0fe05e..00000000 --- a/kubernetes/spec/models/v1_api_group_list_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIGroupList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIGroupList' do - before do - # run before each test - @instance = Kubernetes::V1APIGroupList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIGroupList' do - it 'should create an instance of V1APIGroupList' do - expect(@instance).to be_instance_of(Kubernetes::V1APIGroupList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_group_spec.rb b/kubernetes/spec/models/v1_api_group_spec.rb deleted file mode 100644 index bc3de41c..00000000 --- a/kubernetes/spec/models/v1_api_group_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIGroup -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIGroup' do - before do - # run before each test - @instance = Kubernetes::V1APIGroup.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIGroup' do - it 'should create an instance of V1APIGroup' do - expect(@instance).to be_instance_of(Kubernetes::V1APIGroup) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "preferred_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "server_address_by_client_cid_rs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_resource_list_spec.rb b/kubernetes/spec/models/v1_api_resource_list_spec.rb deleted file mode 100644 index e840c3ce..00000000 --- a/kubernetes/spec/models/v1_api_resource_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIResourceList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIResourceList' do - before do - # run before each test - @instance = Kubernetes::V1APIResourceList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIResourceList' do - it 'should create an instance of V1APIResourceList' do - expect(@instance).to be_instance_of(Kubernetes::V1APIResourceList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_resource_spec.rb b/kubernetes/spec/models/v1_api_resource_spec.rb deleted file mode 100644 index dfcb2f2e..00000000 --- a/kubernetes/spec/models/v1_api_resource_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIResource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIResource' do - before do - # run before each test - @instance = Kubernetes::V1APIResource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIResource' do - it 'should create an instance of V1APIResource' do - expect(@instance).to be_instance_of(Kubernetes::V1APIResource) - end - end - describe 'test attribute "categories"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespaced"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "short_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "singular_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_service_condition_spec.rb b/kubernetes/spec/models/v1_api_service_condition_spec.rb deleted file mode 100644 index f0a73bcb..00000000 --- a/kubernetes/spec/models/v1_api_service_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIServiceCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIServiceCondition' do - before do - # run before each test - @instance = Kubernetes::V1APIServiceCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIServiceCondition' do - it 'should create an instance of V1APIServiceCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1APIServiceCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_service_list_spec.rb b/kubernetes/spec/models/v1_api_service_list_spec.rb deleted file mode 100644 index 6e0126a9..00000000 --- a/kubernetes/spec/models/v1_api_service_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIServiceList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIServiceList' do - before do - # run before each test - @instance = Kubernetes::V1APIServiceList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIServiceList' do - it 'should create an instance of V1APIServiceList' do - expect(@instance).to be_instance_of(Kubernetes::V1APIServiceList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_service_spec.rb b/kubernetes/spec/models/v1_api_service_spec.rb deleted file mode 100644 index fd5dc50c..00000000 --- a/kubernetes/spec/models/v1_api_service_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIService -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIService' do - before do - # run before each test - @instance = Kubernetes::V1APIService.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIService' do - it 'should create an instance of V1APIService' do - expect(@instance).to be_instance_of(Kubernetes::V1APIService) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_service_spec_spec.rb b/kubernetes/spec/models/v1_api_service_spec_spec.rb deleted file mode 100644 index f842d43e..00000000 --- a/kubernetes/spec/models/v1_api_service_spec_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIServiceSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIServiceSpec' do - before do - # run before each test - @instance = Kubernetes::V1APIServiceSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIServiceSpec' do - it 'should create an instance of V1APIServiceSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1APIServiceSpec) - end - end - describe 'test attribute "ca_bundle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_priority_minimum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "insecure_skip_tls_verify"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version_priority"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_service_status_spec.rb b/kubernetes/spec/models/v1_api_service_status_spec.rb deleted file mode 100644 index fb7ed1dd..00000000 --- a/kubernetes/spec/models/v1_api_service_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIServiceStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIServiceStatus' do - before do - # run before each test - @instance = Kubernetes::V1APIServiceStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIServiceStatus' do - it 'should create an instance of V1APIServiceStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1APIServiceStatus) - end - end - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_api_versions_spec.rb b/kubernetes/spec/models/v1_api_versions_spec.rb deleted file mode 100644 index 824bb017..00000000 --- a/kubernetes/spec/models/v1_api_versions_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1APIVersions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1APIVersions' do - before do - # run before each test - @instance = Kubernetes::V1APIVersions.new - end - - after do - # run after each test - end - - describe 'test an instance of V1APIVersions' do - it 'should create an instance of V1APIVersions' do - expect(@instance).to be_instance_of(Kubernetes::V1APIVersions) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "server_address_by_client_cid_rs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_attached_volume_spec.rb b/kubernetes/spec/models/v1_attached_volume_spec.rb deleted file mode 100644 index 80cf593f..00000000 --- a/kubernetes/spec/models/v1_attached_volume_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AttachedVolume -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AttachedVolume' do - before do - # run before each test - @instance = Kubernetes::V1AttachedVolume.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AttachedVolume' do - it 'should create an instance of V1AttachedVolume' do - expect(@instance).to be_instance_of(Kubernetes::V1AttachedVolume) - end - end - describe 'test attribute "device_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb b/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb deleted file mode 100644 index f40fe13d..00000000 --- a/kubernetes/spec/models/v1_aws_elastic_block_store_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AWSElasticBlockStoreVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AWSElasticBlockStoreVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1AWSElasticBlockStoreVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AWSElasticBlockStoreVolumeSource' do - it 'should create an instance of V1AWSElasticBlockStoreVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1AWSElasticBlockStoreVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "partition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb deleted file mode 100644 index 550fda18..00000000 --- a/kubernetes/spec/models/v1_azure_disk_volume_source_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AzureDiskVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AzureDiskVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1AzureDiskVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AzureDiskVolumeSource' do - it 'should create an instance of V1AzureDiskVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1AzureDiskVolumeSource) - end - end - describe 'test attribute "caching_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disk_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disk_uri"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb deleted file mode 100644 index 62faba01..00000000 --- a/kubernetes/spec/models/v1_azure_file_persistent_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AzureFilePersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AzureFilePersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1AzureFilePersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AzureFilePersistentVolumeSource' do - it 'should create an instance of V1AzureFilePersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1AzureFilePersistentVolumeSource) - end - end - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "share_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb b/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb deleted file mode 100644 index dc0522b5..00000000 --- a/kubernetes/spec/models/v1_azure_file_volume_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1AzureFileVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1AzureFileVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1AzureFileVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1AzureFileVolumeSource' do - it 'should create an instance of V1AzureFileVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1AzureFileVolumeSource) - end - end - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "share_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_binding_spec.rb b/kubernetes/spec/models/v1_binding_spec.rb deleted file mode 100644 index c5a2ebba..00000000 --- a/kubernetes/spec/models/v1_binding_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Binding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Binding' do - before do - # run before each test - @instance = Kubernetes::V1Binding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Binding' do - it 'should create an instance of V1Binding' do - expect(@instance).to be_instance_of(Kubernetes::V1Binding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_capabilities_spec.rb b/kubernetes/spec/models/v1_capabilities_spec.rb deleted file mode 100644 index a66ac1e7..00000000 --- a/kubernetes/spec/models/v1_capabilities_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Capabilities -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Capabilities' do - before do - # run before each test - @instance = Kubernetes::V1Capabilities.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Capabilities' do - it 'should create an instance of V1Capabilities' do - expect(@instance).to be_instance_of(Kubernetes::V1Capabilities) - end - end - describe 'test attribute "add"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "drop"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb deleted file mode 100644 index 5ae8b7a4..00000000 --- a/kubernetes/spec/models/v1_ceph_fs_persistent_volume_source_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CephFSPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CephFSPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1CephFSPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CephFSPersistentVolumeSource' do - it 'should create an instance of V1CephFSPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1CephFSPersistentVolumeSource) - end - end - describe 'test attribute "monitors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_file"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb b/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb deleted file mode 100644 index 54cffc52..00000000 --- a/kubernetes/spec/models/v1_ceph_fs_volume_source_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CephFSVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CephFSVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1CephFSVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CephFSVolumeSource' do - it 'should create an instance of V1CephFSVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1CephFSVolumeSource) - end - end - describe 'test attribute "monitors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_file"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb deleted file mode 100644 index 9d8deaf6..00000000 --- a/kubernetes/spec/models/v1_cinder_persistent_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CinderPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CinderPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1CinderPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CinderPersistentVolumeSource' do - it 'should create an instance of V1CinderPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1CinderPersistentVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cinder_volume_source_spec.rb b/kubernetes/spec/models/v1_cinder_volume_source_spec.rb deleted file mode 100644 index 216de276..00000000 --- a/kubernetes/spec/models/v1_cinder_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CinderVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CinderVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1CinderVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CinderVolumeSource' do - it 'should create an instance of V1CinderVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1CinderVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_client_ip_config_spec.rb b/kubernetes/spec/models/v1_client_ip_config_spec.rb deleted file mode 100644 index 6014921f..00000000 --- a/kubernetes/spec/models/v1_client_ip_config_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ClientIPConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ClientIPConfig' do - before do - # run before each test - @instance = Kubernetes::V1ClientIPConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ClientIPConfig' do - it 'should create an instance of V1ClientIPConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1ClientIPConfig) - end - end - describe 'test attribute "timeout_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb deleted file mode 100644 index 6256de00..00000000 --- a/kubernetes/spec/models/v1_cluster_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ClusterRoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ClusterRoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1ClusterRoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ClusterRoleBindingList' do - it 'should create an instance of V1ClusterRoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1ClusterRoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1_cluster_role_binding_spec.rb deleted file mode 100644 index 94c8e4f3..00000000 --- a/kubernetes/spec/models/v1_cluster_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ClusterRoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ClusterRoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1ClusterRoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ClusterRoleBinding' do - it 'should create an instance of V1ClusterRoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1ClusterRoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1_cluster_role_list_spec.rb deleted file mode 100644 index e491e9ad..00000000 --- a/kubernetes/spec/models/v1_cluster_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ClusterRoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ClusterRoleList' do - before do - # run before each test - @instance = Kubernetes::V1ClusterRoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ClusterRoleList' do - it 'should create an instance of V1ClusterRoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1ClusterRoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cluster_role_spec.rb b/kubernetes/spec/models/v1_cluster_role_spec.rb deleted file mode 100644 index a68421f5..00000000 --- a/kubernetes/spec/models/v1_cluster_role_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ClusterRole -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ClusterRole' do - before do - # run before each test - @instance = Kubernetes::V1ClusterRole.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ClusterRole' do - it 'should create an instance of V1ClusterRole' do - expect(@instance).to be_instance_of(Kubernetes::V1ClusterRole) - end - end - describe 'test attribute "aggregation_rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_component_condition_spec.rb b/kubernetes/spec/models/v1_component_condition_spec.rb deleted file mode 100644 index de5b2a68..00000000 --- a/kubernetes/spec/models/v1_component_condition_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ComponentCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ComponentCondition' do - before do - # run before each test - @instance = Kubernetes::V1ComponentCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ComponentCondition' do - it 'should create an instance of V1ComponentCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1ComponentCondition) - end - end - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_component_status_list_spec.rb b/kubernetes/spec/models/v1_component_status_list_spec.rb deleted file mode 100644 index 9a3e0d0d..00000000 --- a/kubernetes/spec/models/v1_component_status_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ComponentStatusList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ComponentStatusList' do - before do - # run before each test - @instance = Kubernetes::V1ComponentStatusList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ComponentStatusList' do - it 'should create an instance of V1ComponentStatusList' do - expect(@instance).to be_instance_of(Kubernetes::V1ComponentStatusList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_component_status_spec.rb b/kubernetes/spec/models/v1_component_status_spec.rb deleted file mode 100644 index fee128b3..00000000 --- a/kubernetes/spec/models/v1_component_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ComponentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ComponentStatus' do - before do - # run before each test - @instance = Kubernetes::V1ComponentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ComponentStatus' do - it 'should create an instance of V1ComponentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ComponentStatus) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_env_source_spec.rb b/kubernetes/spec/models/v1_config_map_env_source_spec.rb deleted file mode 100644 index 937c8a90..00000000 --- a/kubernetes/spec/models/v1_config_map_env_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapEnvSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapEnvSource' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapEnvSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapEnvSource' do - it 'should create an instance of V1ConfigMapEnvSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapEnvSource) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_key_selector_spec.rb b/kubernetes/spec/models/v1_config_map_key_selector_spec.rb deleted file mode 100644 index c14638a8..00000000 --- a/kubernetes/spec/models/v1_config_map_key_selector_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapKeySelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapKeySelector' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapKeySelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapKeySelector' do - it 'should create an instance of V1ConfigMapKeySelector' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapKeySelector) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_list_spec.rb b/kubernetes/spec/models/v1_config_map_list_spec.rb deleted file mode 100644 index 1606c9ac..00000000 --- a/kubernetes/spec/models/v1_config_map_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapList' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapList' do - it 'should create an instance of V1ConfigMapList' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb b/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb deleted file mode 100644 index b9690bd0..00000000 --- a/kubernetes/spec/models/v1_config_map_node_config_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapNodeConfigSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapNodeConfigSource' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapNodeConfigSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapNodeConfigSource' do - it 'should create an instance of V1ConfigMapNodeConfigSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapNodeConfigSource) - end - end - describe 'test attribute "kubelet_config_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_projection_spec.rb b/kubernetes/spec/models/v1_config_map_projection_spec.rb deleted file mode 100644 index 644887db..00000000 --- a/kubernetes/spec/models/v1_config_map_projection_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapProjection -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapProjection' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapProjection.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapProjection' do - it 'should create an instance of V1ConfigMapProjection' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapProjection) - end - end - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_spec.rb b/kubernetes/spec/models/v1_config_map_spec.rb deleted file mode 100644 index 02eb9aa7..00000000 --- a/kubernetes/spec/models/v1_config_map_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMap -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMap' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMap.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMap' do - it 'should create an instance of V1ConfigMap' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMap) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "binary_data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_config_map_volume_source_spec.rb b/kubernetes/spec/models/v1_config_map_volume_source_spec.rb deleted file mode 100644 index 4a76151f..00000000 --- a/kubernetes/spec/models/v1_config_map_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ConfigMapVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ConfigMapVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ConfigMapVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ConfigMapVolumeSource' do - it 'should create an instance of V1ConfigMapVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ConfigMapVolumeSource) - end - end - describe 'test attribute "default_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_image_spec.rb b/kubernetes/spec/models/v1_container_image_spec.rb deleted file mode 100644 index 16389634..00000000 --- a/kubernetes/spec/models/v1_container_image_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerImage -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerImage' do - before do - # run before each test - @instance = Kubernetes::V1ContainerImage.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerImage' do - it 'should create an instance of V1ContainerImage' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerImage) - end - end - describe 'test attribute "names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size_bytes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_port_spec.rb b/kubernetes/spec/models/v1_container_port_spec.rb deleted file mode 100644 index 67b47aee..00000000 --- a/kubernetes/spec/models/v1_container_port_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerPort -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerPort' do - before do - # run before each test - @instance = Kubernetes::V1ContainerPort.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerPort' do - it 'should create an instance of V1ContainerPort' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerPort) - end - end - describe 'test attribute "container_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_spec.rb b/kubernetes/spec/models/v1_container_spec.rb deleted file mode 100644 index f074a884..00000000 --- a/kubernetes/spec/models/v1_container_spec.rb +++ /dev/null @@ -1,162 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Container -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Container' do - before do - # run before each test - @instance = Kubernetes::V1Container.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Container' do - it 'should create an instance of V1Container' do - expect(@instance).to be_instance_of(Kubernetes::V1Container) - end - end - describe 'test attribute "args"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "command"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env_from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image_pull_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lifecycle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "liveness_probe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "readiness_probe"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_context"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "stdin"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "stdin_once"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "termination_message_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "termination_message_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tty"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_devices"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_mounts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "working_dir"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_state_running_spec.rb b/kubernetes/spec/models/v1_container_state_running_spec.rb deleted file mode 100644 index 7cc16080..00000000 --- a/kubernetes/spec/models/v1_container_state_running_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerStateRunning -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerStateRunning' do - before do - # run before each test - @instance = Kubernetes::V1ContainerStateRunning.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerStateRunning' do - it 'should create an instance of V1ContainerStateRunning' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerStateRunning) - end - end - describe 'test attribute "started_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_state_spec.rb b/kubernetes/spec/models/v1_container_state_spec.rb deleted file mode 100644 index 58993d4d..00000000 --- a/kubernetes/spec/models/v1_container_state_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerState -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerState' do - before do - # run before each test - @instance = Kubernetes::V1ContainerState.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerState' do - it 'should create an instance of V1ContainerState' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerState) - end - end - describe 'test attribute "running"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "terminated"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "waiting"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_state_terminated_spec.rb b/kubernetes/spec/models/v1_container_state_terminated_spec.rb deleted file mode 100644 index 4e715a3c..00000000 --- a/kubernetes/spec/models/v1_container_state_terminated_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerStateTerminated -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerStateTerminated' do - before do - # run before each test - @instance = Kubernetes::V1ContainerStateTerminated.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerStateTerminated' do - it 'should create an instance of V1ContainerStateTerminated' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerStateTerminated) - end - end - describe 'test attribute "container_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "exit_code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "finished_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "signal"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "started_at"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_state_waiting_spec.rb b/kubernetes/spec/models/v1_container_state_waiting_spec.rb deleted file mode 100644 index cea38cd1..00000000 --- a/kubernetes/spec/models/v1_container_state_waiting_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerStateWaiting -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerStateWaiting' do - before do - # run before each test - @instance = Kubernetes::V1ContainerStateWaiting.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerStateWaiting' do - it 'should create an instance of V1ContainerStateWaiting' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerStateWaiting) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_container_status_spec.rb b/kubernetes/spec/models/v1_container_status_spec.rb deleted file mode 100644 index 75c591aa..00000000 --- a/kubernetes/spec/models/v1_container_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ContainerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ContainerStatus' do - before do - # run before each test - @instance = Kubernetes::V1ContainerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ContainerStatus' do - it 'should create an instance of V1ContainerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ContainerStatus) - end - end - describe 'test attribute "container_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "restart_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_controller_revision_list_spec.rb b/kubernetes/spec/models/v1_controller_revision_list_spec.rb deleted file mode 100644 index 21432c47..00000000 --- a/kubernetes/spec/models/v1_controller_revision_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ControllerRevisionList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ControllerRevisionList' do - before do - # run before each test - @instance = Kubernetes::V1ControllerRevisionList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ControllerRevisionList' do - it 'should create an instance of V1ControllerRevisionList' do - expect(@instance).to be_instance_of(Kubernetes::V1ControllerRevisionList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_controller_revision_spec.rb b/kubernetes/spec/models/v1_controller_revision_spec.rb deleted file mode 100644 index be0221cb..00000000 --- a/kubernetes/spec/models/v1_controller_revision_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ControllerRevision -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ControllerRevision' do - before do - # run before each test - @instance = Kubernetes::V1ControllerRevision.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ControllerRevision' do - it 'should create an instance of V1ControllerRevision' do - expect(@instance).to be_instance_of(Kubernetes::V1ControllerRevision) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb deleted file mode 100644 index c7caed69..00000000 --- a/kubernetes/spec/models/v1_cross_version_object_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CrossVersionObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CrossVersionObjectReference' do - before do - # run before each test - @instance = Kubernetes::V1CrossVersionObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CrossVersionObjectReference' do - it 'should create an instance of V1CrossVersionObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V1CrossVersionObjectReference) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb deleted file mode 100644 index 2ec4da0c..00000000 --- a/kubernetes/spec/models/v1_csi_persistent_volume_source_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1CSIPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1CSIPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1CSIPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1CSIPersistentVolumeSource' do - it 'should create an instance of V1CSIPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1CSIPersistentVolumeSource) - end - end - describe 'test attribute "controller_publish_secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "driver"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_publish_secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_stage_secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_handle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_endpoint_spec.rb b/kubernetes/spec/models/v1_daemon_endpoint_spec.rb deleted file mode 100644 index 32b44b8e..00000000 --- a/kubernetes/spec/models/v1_daemon_endpoint_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonEndpoint -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonEndpoint' do - before do - # run before each test - @instance = Kubernetes::V1DaemonEndpoint.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonEndpoint' do - it 'should create an instance of V1DaemonEndpoint' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonEndpoint) - end - end - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1_daemon_set_condition_spec.rb deleted file mode 100644 index 744c1340..00000000 --- a/kubernetes/spec/models/v1_daemon_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSetCondition' do - it 'should create an instance of V1DaemonSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_list_spec.rb b/kubernetes/spec/models/v1_daemon_set_list_spec.rb deleted file mode 100644 index b598d57b..00000000 --- a/kubernetes/spec/models/v1_daemon_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSetList' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSetList' do - it 'should create an instance of V1DaemonSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_spec.rb b/kubernetes/spec/models/v1_daemon_set_spec.rb deleted file mode 100644 index 05da4e63..00000000 --- a/kubernetes/spec/models/v1_daemon_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSet' do - it 'should create an instance of V1DaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1_daemon_set_spec_spec.rb deleted file mode 100644 index 2965cbdb..00000000 --- a/kubernetes/spec/models/v1_daemon_set_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSetSpec' do - it 'should create an instance of V1DaemonSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_status_spec.rb b/kubernetes/spec/models/v1_daemon_set_status_spec.rb deleted file mode 100644 index 6e263796..00000000 --- a/kubernetes/spec/models/v1_daemon_set_status_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSetStatus' do - it 'should create an instance of V1DaemonSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_available"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_misscheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_ready"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb deleted file mode 100644 index a5faecf1..00000000 --- a/kubernetes/spec/models/v1_daemon_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DaemonSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DaemonSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1DaemonSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DaemonSetUpdateStrategy' do - it 'should create an instance of V1DaemonSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1DaemonSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_delete_options_spec.rb b/kubernetes/spec/models/v1_delete_options_spec.rb deleted file mode 100644 index 8a9ad2e5..00000000 --- a/kubernetes/spec/models/v1_delete_options_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeleteOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeleteOptions' do - before do - # run before each test - @instance = Kubernetes::V1DeleteOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeleteOptions' do - it 'should create an instance of V1DeleteOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1DeleteOptions) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dry_run"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "grace_period_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "orphan_dependents"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "preconditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "propagation_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_condition_spec.rb b/kubernetes/spec/models/v1_deployment_condition_spec.rb deleted file mode 100644 index 3f7db857..00000000 --- a/kubernetes/spec/models/v1_deployment_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeploymentCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeploymentCondition' do - before do - # run before each test - @instance = Kubernetes::V1DeploymentCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeploymentCondition' do - it 'should create an instance of V1DeploymentCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1DeploymentCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_update_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_list_spec.rb b/kubernetes/spec/models/v1_deployment_list_spec.rb deleted file mode 100644 index ac5dcda3..00000000 --- a/kubernetes/spec/models/v1_deployment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeploymentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeploymentList' do - before do - # run before each test - @instance = Kubernetes::V1DeploymentList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeploymentList' do - it 'should create an instance of V1DeploymentList' do - expect(@instance).to be_instance_of(Kubernetes::V1DeploymentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_spec.rb b/kubernetes/spec/models/v1_deployment_spec.rb deleted file mode 100644 index 597fae72..00000000 --- a/kubernetes/spec/models/v1_deployment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Deployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Deployment' do - before do - # run before each test - @instance = Kubernetes::V1Deployment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Deployment' do - it 'should create an instance of V1Deployment' do - expect(@instance).to be_instance_of(Kubernetes::V1Deployment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_spec_spec.rb b/kubernetes/spec/models/v1_deployment_spec_spec.rb deleted file mode 100644 index 43feb665..00000000 --- a/kubernetes/spec/models/v1_deployment_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeploymentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeploymentSpec' do - before do - # run before each test - @instance = Kubernetes::V1DeploymentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeploymentSpec' do - it 'should create an instance of V1DeploymentSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1DeploymentSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "paused"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "progress_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_status_spec.rb b/kubernetes/spec/models/v1_deployment_status_spec.rb deleted file mode 100644 index 2c6af508..00000000 --- a/kubernetes/spec/models/v1_deployment_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeploymentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeploymentStatus' do - before do - # run before each test - @instance = Kubernetes::V1DeploymentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeploymentStatus' do - it 'should create an instance of V1DeploymentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1DeploymentStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unavailable_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_deployment_strategy_spec.rb b/kubernetes/spec/models/v1_deployment_strategy_spec.rb deleted file mode 100644 index 1f0b2dca..00000000 --- a/kubernetes/spec/models/v1_deployment_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DeploymentStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DeploymentStrategy' do - before do - # run before each test - @instance = Kubernetes::V1DeploymentStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DeploymentStrategy' do - it 'should create an instance of V1DeploymentStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1DeploymentStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_downward_api_projection_spec.rb b/kubernetes/spec/models/v1_downward_api_projection_spec.rb deleted file mode 100644 index 5dae95f2..00000000 --- a/kubernetes/spec/models/v1_downward_api_projection_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DownwardAPIProjection -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DownwardAPIProjection' do - before do - # run before each test - @instance = Kubernetes::V1DownwardAPIProjection.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DownwardAPIProjection' do - it 'should create an instance of V1DownwardAPIProjection' do - expect(@instance).to be_instance_of(Kubernetes::V1DownwardAPIProjection) - end - end - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb b/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb deleted file mode 100644 index 07c17c96..00000000 --- a/kubernetes/spec/models/v1_downward_api_volume_file_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DownwardAPIVolumeFile -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DownwardAPIVolumeFile' do - before do - # run before each test - @instance = Kubernetes::V1DownwardAPIVolumeFile.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DownwardAPIVolumeFile' do - it 'should create an instance of V1DownwardAPIVolumeFile' do - expect(@instance).to be_instance_of(Kubernetes::V1DownwardAPIVolumeFile) - end - end - describe 'test attribute "field_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_field_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb b/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb deleted file mode 100644 index 4ba9c746..00000000 --- a/kubernetes/spec/models/v1_downward_api_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1DownwardAPIVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1DownwardAPIVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1DownwardAPIVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1DownwardAPIVolumeSource' do - it 'should create an instance of V1DownwardAPIVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1DownwardAPIVolumeSource) - end - end - describe 'test attribute "default_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb b/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb deleted file mode 100644 index 6b8cd170..00000000 --- a/kubernetes/spec/models/v1_empty_dir_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EmptyDirVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EmptyDirVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1EmptyDirVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EmptyDirVolumeSource' do - it 'should create an instance of V1EmptyDirVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1EmptyDirVolumeSource) - end - end - describe 'test attribute "medium"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "size_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_endpoint_address_spec.rb b/kubernetes/spec/models/v1_endpoint_address_spec.rb deleted file mode 100644 index 50b7b017..00000000 --- a/kubernetes/spec/models/v1_endpoint_address_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EndpointAddress -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EndpointAddress' do - before do - # run before each test - @instance = Kubernetes::V1EndpointAddress.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EndpointAddress' do - it 'should create an instance of V1EndpointAddress' do - expect(@instance).to be_instance_of(Kubernetes::V1EndpointAddress) - end - end - describe 'test attribute "hostname"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_endpoint_port_spec.rb b/kubernetes/spec/models/v1_endpoint_port_spec.rb deleted file mode 100644 index 26f8d080..00000000 --- a/kubernetes/spec/models/v1_endpoint_port_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EndpointPort -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EndpointPort' do - before do - # run before each test - @instance = Kubernetes::V1EndpointPort.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EndpointPort' do - it 'should create an instance of V1EndpointPort' do - expect(@instance).to be_instance_of(Kubernetes::V1EndpointPort) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_endpoint_subset_spec.rb b/kubernetes/spec/models/v1_endpoint_subset_spec.rb deleted file mode 100644 index b81dd8b9..00000000 --- a/kubernetes/spec/models/v1_endpoint_subset_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EndpointSubset -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EndpointSubset' do - before do - # run before each test - @instance = Kubernetes::V1EndpointSubset.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EndpointSubset' do - it 'should create an instance of V1EndpointSubset' do - expect(@instance).to be_instance_of(Kubernetes::V1EndpointSubset) - end - end - describe 'test attribute "addresses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "not_ready_addresses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_endpoints_list_spec.rb b/kubernetes/spec/models/v1_endpoints_list_spec.rb deleted file mode 100644 index b48c0a92..00000000 --- a/kubernetes/spec/models/v1_endpoints_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EndpointsList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EndpointsList' do - before do - # run before each test - @instance = Kubernetes::V1EndpointsList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EndpointsList' do - it 'should create an instance of V1EndpointsList' do - expect(@instance).to be_instance_of(Kubernetes::V1EndpointsList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_endpoints_spec.rb b/kubernetes/spec/models/v1_endpoints_spec.rb deleted file mode 100644 index 44ae7367..00000000 --- a/kubernetes/spec/models/v1_endpoints_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Endpoints -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Endpoints' do - before do - # run before each test - @instance = Kubernetes::V1Endpoints.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Endpoints' do - it 'should create an instance of V1Endpoints' do - expect(@instance).to be_instance_of(Kubernetes::V1Endpoints) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subsets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_env_from_source_spec.rb b/kubernetes/spec/models/v1_env_from_source_spec.rb deleted file mode 100644 index 6a5f218a..00000000 --- a/kubernetes/spec/models/v1_env_from_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EnvFromSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EnvFromSource' do - before do - # run before each test - @instance = Kubernetes::V1EnvFromSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EnvFromSource' do - it 'should create an instance of V1EnvFromSource' do - expect(@instance).to be_instance_of(Kubernetes::V1EnvFromSource) - end - end - describe 'test attribute "config_map_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "prefix"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_env_var_source_spec.rb b/kubernetes/spec/models/v1_env_var_source_spec.rb deleted file mode 100644 index 33a1de01..00000000 --- a/kubernetes/spec/models/v1_env_var_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EnvVarSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EnvVarSource' do - before do - # run before each test - @instance = Kubernetes::V1EnvVarSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EnvVarSource' do - it 'should create an instance of V1EnvVarSource' do - expect(@instance).to be_instance_of(Kubernetes::V1EnvVarSource) - end - end - describe 'test attribute "config_map_key_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "field_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_field_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_key_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_env_var_spec.rb b/kubernetes/spec/models/v1_env_var_spec.rb deleted file mode 100644 index 7f6ca56c..00000000 --- a/kubernetes/spec/models/v1_env_var_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EnvVar -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EnvVar' do - before do - # run before each test - @instance = Kubernetes::V1EnvVar.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EnvVar' do - it 'should create an instance of V1EnvVar' do - expect(@instance).to be_instance_of(Kubernetes::V1EnvVar) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value_from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_event_list_spec.rb b/kubernetes/spec/models/v1_event_list_spec.rb deleted file mode 100644 index ed213ee0..00000000 --- a/kubernetes/spec/models/v1_event_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EventList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EventList' do - before do - # run before each test - @instance = Kubernetes::V1EventList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EventList' do - it 'should create an instance of V1EventList' do - expect(@instance).to be_instance_of(Kubernetes::V1EventList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_event_series_spec.rb b/kubernetes/spec/models/v1_event_series_spec.rb deleted file mode 100644 index b45c5be2..00000000 --- a/kubernetes/spec/models/v1_event_series_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EventSeries -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EventSeries' do - before do - # run before each test - @instance = Kubernetes::V1EventSeries.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EventSeries' do - it 'should create an instance of V1EventSeries' do - expect(@instance).to be_instance_of(Kubernetes::V1EventSeries) - end - end - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_observed_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_event_source_spec.rb b/kubernetes/spec/models/v1_event_source_spec.rb deleted file mode 100644 index 629bef9b..00000000 --- a/kubernetes/spec/models/v1_event_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1EventSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1EventSource' do - before do - # run before each test - @instance = Kubernetes::V1EventSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1EventSource' do - it 'should create an instance of V1EventSource' do - expect(@instance).to be_instance_of(Kubernetes::V1EventSource) - end - end - describe 'test attribute "component"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_event_spec.rb b/kubernetes/spec/models/v1_event_spec.rb deleted file mode 100644 index 0e8cfa51..00000000 --- a/kubernetes/spec/models/v1_event_spec.rb +++ /dev/null @@ -1,138 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Event -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Event' do - before do - # run before each test - @instance = Kubernetes::V1Event.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Event' do - it 'should create an instance of V1Event' do - expect(@instance).to be_instance_of(Kubernetes::V1Event) - end - end - describe 'test attribute "action"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "first_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "involved_object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "related"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reporting_component"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reporting_instance"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "series"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_exec_action_spec.rb b/kubernetes/spec/models/v1_exec_action_spec.rb deleted file mode 100644 index 8f8d3c7e..00000000 --- a/kubernetes/spec/models/v1_exec_action_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ExecAction -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ExecAction' do - before do - # run before each test - @instance = Kubernetes::V1ExecAction.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ExecAction' do - it 'should create an instance of V1ExecAction' do - expect(@instance).to be_instance_of(Kubernetes::V1ExecAction) - end - end - describe 'test attribute "command"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_fc_volume_source_spec.rb b/kubernetes/spec/models/v1_fc_volume_source_spec.rb deleted file mode 100644 index 173847ab..00000000 --- a/kubernetes/spec/models/v1_fc_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1FCVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1FCVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1FCVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1FCVolumeSource' do - it 'should create an instance of V1FCVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1FCVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lun"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_ww_ns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "wwids"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb deleted file mode 100644 index f4fe76d9..00000000 --- a/kubernetes/spec/models/v1_flex_persistent_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1FlexPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1FlexPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1FlexPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1FlexPersistentVolumeSource' do - it 'should create an instance of V1FlexPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1FlexPersistentVolumeSource) - end - end - describe 'test attribute "driver"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_flex_volume_source_spec.rb b/kubernetes/spec/models/v1_flex_volume_source_spec.rb deleted file mode 100644 index 3e2f9bee..00000000 --- a/kubernetes/spec/models/v1_flex_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1FlexVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1FlexVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1FlexVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1FlexVolumeSource' do - it 'should create an instance of V1FlexVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1FlexVolumeSource) - end - end - describe 'test attribute "driver"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_flocker_volume_source_spec.rb b/kubernetes/spec/models/v1_flocker_volume_source_spec.rb deleted file mode 100644 index 46b8208a..00000000 --- a/kubernetes/spec/models/v1_flocker_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1FlockerVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1FlockerVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1FlockerVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1FlockerVolumeSource' do - it 'should create an instance of V1FlockerVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1FlockerVolumeSource) - end - end - describe 'test attribute "dataset_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dataset_uuid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb deleted file mode 100644 index e86aef60..00000000 --- a/kubernetes/spec/models/v1_gce_persistent_disk_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1GCEPersistentDiskVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1GCEPersistentDiskVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1GCEPersistentDiskVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1GCEPersistentDiskVolumeSource' do - it 'should create an instance of V1GCEPersistentDiskVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1GCEPersistentDiskVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "partition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pd_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb b/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb deleted file mode 100644 index b62eedc5..00000000 --- a/kubernetes/spec/models/v1_git_repo_volume_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1GitRepoVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1GitRepoVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1GitRepoVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1GitRepoVolumeSource' do - it 'should create an instance of V1GitRepoVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1GitRepoVolumeSource) - end - end - describe 'test attribute "directory"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "repository"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb deleted file mode 100644 index 122f2f3a..00000000 --- a/kubernetes/spec/models/v1_glusterfs_persistent_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1GlusterfsPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1GlusterfsPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1GlusterfsPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1GlusterfsPersistentVolumeSource' do - it 'should create an instance of V1GlusterfsPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1GlusterfsPersistentVolumeSource) - end - end - describe 'test attribute "endpoints"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "endpoints_namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb b/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb deleted file mode 100644 index 46f72bb1..00000000 --- a/kubernetes/spec/models/v1_glusterfs_volume_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1GlusterfsVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1GlusterfsVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1GlusterfsVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1GlusterfsVolumeSource' do - it 'should create an instance of V1GlusterfsVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1GlusterfsVolumeSource) - end - end - describe 'test attribute "endpoints"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb b/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb deleted file mode 100644 index 7b9cb586..00000000 --- a/kubernetes/spec/models/v1_group_version_for_discovery_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1GroupVersionForDiscovery -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1GroupVersionForDiscovery' do - before do - # run before each test - @instance = Kubernetes::V1GroupVersionForDiscovery.new - end - - after do - # run after each test - end - - describe 'test an instance of V1GroupVersionForDiscovery' do - it 'should create an instance of V1GroupVersionForDiscovery' do - expect(@instance).to be_instance_of(Kubernetes::V1GroupVersionForDiscovery) - end - end - describe 'test attribute "group_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_handler_spec.rb b/kubernetes/spec/models/v1_handler_spec.rb deleted file mode 100644 index 3deede95..00000000 --- a/kubernetes/spec/models/v1_handler_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Handler -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Handler' do - before do - # run before each test - @instance = Kubernetes::V1Handler.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Handler' do - it 'should create an instance of V1Handler' do - expect(@instance).to be_instance_of(Kubernetes::V1Handler) - end - end - describe 'test attribute "exec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "http_get"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tcp_socket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb deleted file mode 100644 index 87c6f673..00000000 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HorizontalPodAutoscalerList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HorizontalPodAutoscalerList' do - before do - # run before each test - @instance = Kubernetes::V1HorizontalPodAutoscalerList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HorizontalPodAutoscalerList' do - it 'should create an instance of V1HorizontalPodAutoscalerList' do - expect(@instance).to be_instance_of(Kubernetes::V1HorizontalPodAutoscalerList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb deleted file mode 100644 index 186e2ae1..00000000 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HorizontalPodAutoscaler -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HorizontalPodAutoscaler' do - before do - # run before each test - @instance = Kubernetes::V1HorizontalPodAutoscaler.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HorizontalPodAutoscaler' do - it 'should create an instance of V1HorizontalPodAutoscaler' do - expect(@instance).to be_instance_of(Kubernetes::V1HorizontalPodAutoscaler) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb deleted file mode 100644 index 45e33c75..00000000 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HorizontalPodAutoscalerSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HorizontalPodAutoscalerSpec' do - before do - # run before each test - @instance = Kubernetes::V1HorizontalPodAutoscalerSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HorizontalPodAutoscalerSpec' do - it 'should create an instance of V1HorizontalPodAutoscalerSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1HorizontalPodAutoscalerSpec) - end - end - describe 'test attribute "max_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_target_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_cpu_utilization_percentage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb deleted file mode 100644 index 0b5f4267..00000000 --- a/kubernetes/spec/models/v1_horizontal_pod_autoscaler_status_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HorizontalPodAutoscalerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HorizontalPodAutoscalerStatus' do - before do - # run before each test - @instance = Kubernetes::V1HorizontalPodAutoscalerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HorizontalPodAutoscalerStatus' do - it 'should create an instance of V1HorizontalPodAutoscalerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1HorizontalPodAutoscalerStatus) - end - end - describe 'test attribute "current_cpu_utilization_percentage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_scale_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_host_alias_spec.rb b/kubernetes/spec/models/v1_host_alias_spec.rb deleted file mode 100644 index 0a410986..00000000 --- a/kubernetes/spec/models/v1_host_alias_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HostAlias -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HostAlias' do - before do - # run before each test - @instance = Kubernetes::V1HostAlias.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HostAlias' do - it 'should create an instance of V1HostAlias' do - expect(@instance).to be_instance_of(Kubernetes::V1HostAlias) - end - end - describe 'test attribute "hostnames"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_host_path_volume_source_spec.rb b/kubernetes/spec/models/v1_host_path_volume_source_spec.rb deleted file mode 100644 index 111c4d2f..00000000 --- a/kubernetes/spec/models/v1_host_path_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HostPathVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HostPathVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1HostPathVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HostPathVolumeSource' do - it 'should create an instance of V1HostPathVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1HostPathVolumeSource) - end - end - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_http_get_action_spec.rb b/kubernetes/spec/models/v1_http_get_action_spec.rb deleted file mode 100644 index 9b84fdce..00000000 --- a/kubernetes/spec/models/v1_http_get_action_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HTTPGetAction -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HTTPGetAction' do - before do - # run before each test - @instance = Kubernetes::V1HTTPGetAction.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HTTPGetAction' do - it 'should create an instance of V1HTTPGetAction' do - expect(@instance).to be_instance_of(Kubernetes::V1HTTPGetAction) - end - end - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "http_headers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scheme"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_http_header_spec.rb b/kubernetes/spec/models/v1_http_header_spec.rb deleted file mode 100644 index 50d50d36..00000000 --- a/kubernetes/spec/models/v1_http_header_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1HTTPHeader -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1HTTPHeader' do - before do - # run before each test - @instance = Kubernetes::V1HTTPHeader.new - end - - after do - # run after each test - end - - describe 'test an instance of V1HTTPHeader' do - it 'should create an instance of V1HTTPHeader' do - expect(@instance).to be_instance_of(Kubernetes::V1HTTPHeader) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_initializer_spec.rb b/kubernetes/spec/models/v1_initializer_spec.rb deleted file mode 100644 index d909a0e6..00000000 --- a/kubernetes/spec/models/v1_initializer_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Initializer -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Initializer' do - before do - # run before each test - @instance = Kubernetes::V1Initializer.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Initializer' do - it 'should create an instance of V1Initializer' do - expect(@instance).to be_instance_of(Kubernetes::V1Initializer) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_initializers_spec.rb b/kubernetes/spec/models/v1_initializers_spec.rb deleted file mode 100644 index 0287c972..00000000 --- a/kubernetes/spec/models/v1_initializers_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Initializers -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Initializers' do - before do - # run before each test - @instance = Kubernetes::V1Initializers.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Initializers' do - it 'should create an instance of V1Initializers' do - expect(@instance).to be_instance_of(Kubernetes::V1Initializers) - end - end - describe 'test attribute "pending"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "result"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_ip_block_spec.rb b/kubernetes/spec/models/v1_ip_block_spec.rb deleted file mode 100644 index 2eead15c..00000000 --- a/kubernetes/spec/models/v1_ip_block_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1IPBlock -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1IPBlock' do - before do - # run before each test - @instance = Kubernetes::V1IPBlock.new - end - - after do - # run after each test - end - - describe 'test an instance of V1IPBlock' do - it 'should create an instance of V1IPBlock' do - expect(@instance).to be_instance_of(Kubernetes::V1IPBlock) - end - end - describe 'test attribute "cidr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "except"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb deleted file mode 100644 index 619a11ca..00000000 --- a/kubernetes/spec/models/v1_iscsi_persistent_volume_source_spec.rb +++ /dev/null @@ -1,102 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ISCSIPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ISCSIPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ISCSIPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ISCSIPersistentVolumeSource' do - it 'should create an instance of V1ISCSIPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ISCSIPersistentVolumeSource) - end - end - describe 'test attribute "chap_auth_discovery"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "chap_auth_session"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "initiator_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iqn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iscsi_interface"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lun"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "portals"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_portal"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb b/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb deleted file mode 100644 index 763ac0de..00000000 --- a/kubernetes/spec/models/v1_iscsi_volume_source_spec.rb +++ /dev/null @@ -1,102 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ISCSIVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ISCSIVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ISCSIVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ISCSIVolumeSource' do - it 'should create an instance of V1ISCSIVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ISCSIVolumeSource) - end - end - describe 'test attribute "chap_auth_discovery"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "chap_auth_session"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "initiator_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iqn"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iscsi_interface"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lun"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "portals"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_portal"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_job_condition_spec.rb b/kubernetes/spec/models/v1_job_condition_spec.rb deleted file mode 100644 index 4caa4ec9..00000000 --- a/kubernetes/spec/models/v1_job_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1JobCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1JobCondition' do - before do - # run before each test - @instance = Kubernetes::V1JobCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1JobCondition' do - it 'should create an instance of V1JobCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1JobCondition) - end - end - describe 'test attribute "last_probe_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_job_list_spec.rb b/kubernetes/spec/models/v1_job_list_spec.rb deleted file mode 100644 index 7232b9e9..00000000 --- a/kubernetes/spec/models/v1_job_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1JobList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1JobList' do - before do - # run before each test - @instance = Kubernetes::V1JobList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1JobList' do - it 'should create an instance of V1JobList' do - expect(@instance).to be_instance_of(Kubernetes::V1JobList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_job_spec.rb b/kubernetes/spec/models/v1_job_spec.rb deleted file mode 100644 index 4d7d06fd..00000000 --- a/kubernetes/spec/models/v1_job_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Job -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Job' do - before do - # run before each test - @instance = Kubernetes::V1Job.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Job' do - it 'should create an instance of V1Job' do - expect(@instance).to be_instance_of(Kubernetes::V1Job) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_job_spec_spec.rb b/kubernetes/spec/models/v1_job_spec_spec.rb deleted file mode 100644 index 540fc615..00000000 --- a/kubernetes/spec/models/v1_job_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1JobSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1JobSpec' do - before do - # run before each test - @instance = Kubernetes::V1JobSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1JobSpec' do - it 'should create an instance of V1JobSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1JobSpec) - end - end - describe 'test attribute "active_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "backoff_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "completions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "manual_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "parallelism"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ttl_seconds_after_finished"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_job_status_spec.rb b/kubernetes/spec/models/v1_job_status_spec.rb deleted file mode 100644 index b7b16562..00000000 --- a/kubernetes/spec/models/v1_job_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1JobStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1JobStatus' do - before do - # run before each test - @instance = Kubernetes::V1JobStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1JobStatus' do - it 'should create an instance of V1JobStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1JobStatus) - end - end - describe 'test attribute "active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "completion_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "failed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "succeeded"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_key_to_path_spec.rb b/kubernetes/spec/models/v1_key_to_path_spec.rb deleted file mode 100644 index faaa69b1..00000000 --- a/kubernetes/spec/models/v1_key_to_path_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1KeyToPath -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1KeyToPath' do - before do - # run before each test - @instance = Kubernetes::V1KeyToPath.new - end - - after do - # run after each test - end - - describe 'test an instance of V1KeyToPath' do - it 'should create an instance of V1KeyToPath' do - expect(@instance).to be_instance_of(Kubernetes::V1KeyToPath) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_label_selector_requirement_spec.rb b/kubernetes/spec/models/v1_label_selector_requirement_spec.rb deleted file mode 100644 index d6a26557..00000000 --- a/kubernetes/spec/models/v1_label_selector_requirement_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LabelSelectorRequirement -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LabelSelectorRequirement' do - before do - # run before each test - @instance = Kubernetes::V1LabelSelectorRequirement.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LabelSelectorRequirement' do - it 'should create an instance of V1LabelSelectorRequirement' do - expect(@instance).to be_instance_of(Kubernetes::V1LabelSelectorRequirement) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "values"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_label_selector_spec.rb b/kubernetes/spec/models/v1_label_selector_spec.rb deleted file mode 100644 index 81801b7a..00000000 --- a/kubernetes/spec/models/v1_label_selector_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LabelSelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LabelSelector' do - before do - # run before each test - @instance = Kubernetes::V1LabelSelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LabelSelector' do - it 'should create an instance of V1LabelSelector' do - expect(@instance).to be_instance_of(Kubernetes::V1LabelSelector) - end - end - describe 'test attribute "match_expressions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "match_labels"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_lifecycle_spec.rb b/kubernetes/spec/models/v1_lifecycle_spec.rb deleted file mode 100644 index 1324b1fa..00000000 --- a/kubernetes/spec/models/v1_lifecycle_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Lifecycle -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Lifecycle' do - before do - # run before each test - @instance = Kubernetes::V1Lifecycle.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Lifecycle' do - it 'should create an instance of V1Lifecycle' do - expect(@instance).to be_instance_of(Kubernetes::V1Lifecycle) - end - end - describe 'test attribute "post_start"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pre_stop"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_limit_range_item_spec.rb b/kubernetes/spec/models/v1_limit_range_item_spec.rb deleted file mode 100644 index 0435cc46..00000000 --- a/kubernetes/spec/models/v1_limit_range_item_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LimitRangeItem -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LimitRangeItem' do - before do - # run before each test - @instance = Kubernetes::V1LimitRangeItem.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LimitRangeItem' do - it 'should create an instance of V1LimitRangeItem' do - expect(@instance).to be_instance_of(Kubernetes::V1LimitRangeItem) - end - end - describe 'test attribute "default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default_request"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_limit_request_ratio"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_limit_range_list_spec.rb b/kubernetes/spec/models/v1_limit_range_list_spec.rb deleted file mode 100644 index 3aa242db..00000000 --- a/kubernetes/spec/models/v1_limit_range_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LimitRangeList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LimitRangeList' do - before do - # run before each test - @instance = Kubernetes::V1LimitRangeList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LimitRangeList' do - it 'should create an instance of V1LimitRangeList' do - expect(@instance).to be_instance_of(Kubernetes::V1LimitRangeList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_limit_range_spec.rb b/kubernetes/spec/models/v1_limit_range_spec.rb deleted file mode 100644 index 4f69729c..00000000 --- a/kubernetes/spec/models/v1_limit_range_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LimitRange -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LimitRange' do - before do - # run before each test - @instance = Kubernetes::V1LimitRange.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LimitRange' do - it 'should create an instance of V1LimitRange' do - expect(@instance).to be_instance_of(Kubernetes::V1LimitRange) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_limit_range_spec_spec.rb b/kubernetes/spec/models/v1_limit_range_spec_spec.rb deleted file mode 100644 index 8a906532..00000000 --- a/kubernetes/spec/models/v1_limit_range_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LimitRangeSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LimitRangeSpec' do - before do - # run before each test - @instance = Kubernetes::V1LimitRangeSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LimitRangeSpec' do - it 'should create an instance of V1LimitRangeSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1LimitRangeSpec) - end - end - describe 'test attribute "limits"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_list_meta_spec.rb b/kubernetes/spec/models/v1_list_meta_spec.rb deleted file mode 100644 index 65860b11..00000000 --- a/kubernetes/spec/models/v1_list_meta_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ListMeta -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ListMeta' do - before do - # run before each test - @instance = Kubernetes::V1ListMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ListMeta' do - it 'should create an instance of V1ListMeta' do - expect(@instance).to be_instance_of(Kubernetes::V1ListMeta) - end - end - describe 'test attribute "continue"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "self_link"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb b/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb deleted file mode 100644 index f4b8268c..00000000 --- a/kubernetes/spec/models/v1_load_balancer_ingress_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LoadBalancerIngress -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LoadBalancerIngress' do - before do - # run before each test - @instance = Kubernetes::V1LoadBalancerIngress.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LoadBalancerIngress' do - it 'should create an instance of V1LoadBalancerIngress' do - expect(@instance).to be_instance_of(Kubernetes::V1LoadBalancerIngress) - end - end - describe 'test attribute "hostname"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_load_balancer_status_spec.rb b/kubernetes/spec/models/v1_load_balancer_status_spec.rb deleted file mode 100644 index e8a8c4b9..00000000 --- a/kubernetes/spec/models/v1_load_balancer_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LoadBalancerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LoadBalancerStatus' do - before do - # run before each test - @instance = Kubernetes::V1LoadBalancerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LoadBalancerStatus' do - it 'should create an instance of V1LoadBalancerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1LoadBalancerStatus) - end - end - describe 'test attribute "ingress"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_local_object_reference_spec.rb b/kubernetes/spec/models/v1_local_object_reference_spec.rb deleted file mode 100644 index 02e1d50a..00000000 --- a/kubernetes/spec/models/v1_local_object_reference_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LocalObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LocalObjectReference' do - before do - # run before each test - @instance = Kubernetes::V1LocalObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LocalObjectReference' do - it 'should create an instance of V1LocalObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V1LocalObjectReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_local_subject_access_review_spec.rb b/kubernetes/spec/models/v1_local_subject_access_review_spec.rb deleted file mode 100644 index a3b69c99..00000000 --- a/kubernetes/spec/models/v1_local_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LocalSubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LocalSubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1LocalSubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LocalSubjectAccessReview' do - it 'should create an instance of V1LocalSubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1LocalSubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_local_volume_source_spec.rb b/kubernetes/spec/models/v1_local_volume_source_spec.rb deleted file mode 100644 index 19ab0ea4..00000000 --- a/kubernetes/spec/models/v1_local_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1LocalVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1LocalVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1LocalVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1LocalVolumeSource' do - it 'should create an instance of V1LocalVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1LocalVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_namespace_list_spec.rb b/kubernetes/spec/models/v1_namespace_list_spec.rb deleted file mode 100644 index bd870b14..00000000 --- a/kubernetes/spec/models/v1_namespace_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NamespaceList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NamespaceList' do - before do - # run before each test - @instance = Kubernetes::V1NamespaceList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NamespaceList' do - it 'should create an instance of V1NamespaceList' do - expect(@instance).to be_instance_of(Kubernetes::V1NamespaceList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_namespace_spec.rb b/kubernetes/spec/models/v1_namespace_spec.rb deleted file mode 100644 index 273fb61f..00000000 --- a/kubernetes/spec/models/v1_namespace_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Namespace -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Namespace' do - before do - # run before each test - @instance = Kubernetes::V1Namespace.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Namespace' do - it 'should create an instance of V1Namespace' do - expect(@instance).to be_instance_of(Kubernetes::V1Namespace) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_namespace_spec_spec.rb b/kubernetes/spec/models/v1_namespace_spec_spec.rb deleted file mode 100644 index 5709d1f3..00000000 --- a/kubernetes/spec/models/v1_namespace_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NamespaceSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NamespaceSpec' do - before do - # run before each test - @instance = Kubernetes::V1NamespaceSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NamespaceSpec' do - it 'should create an instance of V1NamespaceSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1NamespaceSpec) - end - end - describe 'test attribute "finalizers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_namespace_status_spec.rb b/kubernetes/spec/models/v1_namespace_status_spec.rb deleted file mode 100644 index 2ae948a7..00000000 --- a/kubernetes/spec/models/v1_namespace_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NamespaceStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NamespaceStatus' do - before do - # run before each test - @instance = Kubernetes::V1NamespaceStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NamespaceStatus' do - it 'should create an instance of V1NamespaceStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1NamespaceStatus) - end - end - describe 'test attribute "phase"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb b/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb deleted file mode 100644 index 9da8c941..00000000 --- a/kubernetes/spec/models/v1_network_policy_egress_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicyEgressRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicyEgressRule' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicyEgressRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicyEgressRule' do - it 'should create an instance of V1NetworkPolicyEgressRule' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicyEgressRule) - end - end - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb b/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb deleted file mode 100644 index 20f15414..00000000 --- a/kubernetes/spec/models/v1_network_policy_ingress_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicyIngressRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicyIngressRule' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicyIngressRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicyIngressRule' do - it 'should create an instance of V1NetworkPolicyIngressRule' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicyIngressRule) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_list_spec.rb b/kubernetes/spec/models/v1_network_policy_list_spec.rb deleted file mode 100644 index 37f63a3e..00000000 --- a/kubernetes/spec/models/v1_network_policy_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicyList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicyList' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicyList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicyList' do - it 'should create an instance of V1NetworkPolicyList' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicyList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_peer_spec.rb b/kubernetes/spec/models/v1_network_policy_peer_spec.rb deleted file mode 100644 index d4a8a522..00000000 --- a/kubernetes/spec/models/v1_network_policy_peer_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicyPeer -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicyPeer' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicyPeer.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicyPeer' do - it 'should create an instance of V1NetworkPolicyPeer' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicyPeer) - end - end - describe 'test attribute "ip_block"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_port_spec.rb b/kubernetes/spec/models/v1_network_policy_port_spec.rb deleted file mode 100644 index d6570826..00000000 --- a/kubernetes/spec/models/v1_network_policy_port_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicyPort -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicyPort' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicyPort.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicyPort' do - it 'should create an instance of V1NetworkPolicyPort' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicyPort) - end - end - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_spec.rb b/kubernetes/spec/models/v1_network_policy_spec.rb deleted file mode 100644 index 7e01d780..00000000 --- a/kubernetes/spec/models/v1_network_policy_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicy' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicy' do - it 'should create an instance of V1NetworkPolicy' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicy) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_network_policy_spec_spec.rb b/kubernetes/spec/models/v1_network_policy_spec_spec.rb deleted file mode 100644 index e4067601..00000000 --- a/kubernetes/spec/models/v1_network_policy_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NetworkPolicySpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NetworkPolicySpec' do - before do - # run before each test - @instance = Kubernetes::V1NetworkPolicySpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NetworkPolicySpec' do - it 'should create an instance of V1NetworkPolicySpec' do - expect(@instance).to be_instance_of(Kubernetes::V1NetworkPolicySpec) - end - end - describe 'test attribute "egress"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingress"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "policy_types"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_nfs_volume_source_spec.rb b/kubernetes/spec/models/v1_nfs_volume_source_spec.rb deleted file mode 100644 index 6b26a48d..00000000 --- a/kubernetes/spec/models/v1_nfs_volume_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NFSVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NFSVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1NFSVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NFSVolumeSource' do - it 'should create an instance of V1NFSVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1NFSVolumeSource) - end - end - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "server"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_address_spec.rb b/kubernetes/spec/models/v1_node_address_spec.rb deleted file mode 100644 index 9caa4230..00000000 --- a/kubernetes/spec/models/v1_node_address_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeAddress -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeAddress' do - before do - # run before each test - @instance = Kubernetes::V1NodeAddress.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeAddress' do - it 'should create an instance of V1NodeAddress' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeAddress) - end - end - describe 'test attribute "address"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_affinity_spec.rb b/kubernetes/spec/models/v1_node_affinity_spec.rb deleted file mode 100644 index 3867a76c..00000000 --- a/kubernetes/spec/models/v1_node_affinity_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeAffinity -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeAffinity' do - before do - # run before each test - @instance = Kubernetes::V1NodeAffinity.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeAffinity' do - it 'should create an instance of V1NodeAffinity' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeAffinity) - end - end - describe 'test attribute "preferred_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_condition_spec.rb b/kubernetes/spec/models/v1_node_condition_spec.rb deleted file mode 100644 index cf7088a0..00000000 --- a/kubernetes/spec/models/v1_node_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeCondition' do - before do - # run before each test - @instance = Kubernetes::V1NodeCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeCondition' do - it 'should create an instance of V1NodeCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeCondition) - end - end - describe 'test attribute "last_heartbeat_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_config_source_spec.rb b/kubernetes/spec/models/v1_node_config_source_spec.rb deleted file mode 100644 index 5cec0e60..00000000 --- a/kubernetes/spec/models/v1_node_config_source_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeConfigSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeConfigSource' do - before do - # run before each test - @instance = Kubernetes::V1NodeConfigSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeConfigSource' do - it 'should create an instance of V1NodeConfigSource' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeConfigSource) - end - end - describe 'test attribute "config_map"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_config_status_spec.rb b/kubernetes/spec/models/v1_node_config_status_spec.rb deleted file mode 100644 index c62b66da..00000000 --- a/kubernetes/spec/models/v1_node_config_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeConfigStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeConfigStatus' do - before do - # run before each test - @instance = Kubernetes::V1NodeConfigStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeConfigStatus' do - it 'should create an instance of V1NodeConfigStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeConfigStatus) - end - end - describe 'test attribute "active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "assigned"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_known_good"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb b/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb deleted file mode 100644 index 98890e20..00000000 --- a/kubernetes/spec/models/v1_node_daemon_endpoints_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeDaemonEndpoints -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeDaemonEndpoints' do - before do - # run before each test - @instance = Kubernetes::V1NodeDaemonEndpoints.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeDaemonEndpoints' do - it 'should create an instance of V1NodeDaemonEndpoints' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeDaemonEndpoints) - end - end - describe 'test attribute "kubelet_endpoint"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_list_spec.rb b/kubernetes/spec/models/v1_node_list_spec.rb deleted file mode 100644 index 84c3bd89..00000000 --- a/kubernetes/spec/models/v1_node_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeList' do - before do - # run before each test - @instance = Kubernetes::V1NodeList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeList' do - it 'should create an instance of V1NodeList' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_selector_requirement_spec.rb b/kubernetes/spec/models/v1_node_selector_requirement_spec.rb deleted file mode 100644 index 9ebf0c90..00000000 --- a/kubernetes/spec/models/v1_node_selector_requirement_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeSelectorRequirement -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeSelectorRequirement' do - before do - # run before each test - @instance = Kubernetes::V1NodeSelectorRequirement.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeSelectorRequirement' do - it 'should create an instance of V1NodeSelectorRequirement' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeSelectorRequirement) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "values"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_selector_spec.rb b/kubernetes/spec/models/v1_node_selector_spec.rb deleted file mode 100644 index 6975d46b..00000000 --- a/kubernetes/spec/models/v1_node_selector_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeSelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeSelector' do - before do - # run before each test - @instance = Kubernetes::V1NodeSelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeSelector' do - it 'should create an instance of V1NodeSelector' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeSelector) - end - end - describe 'test attribute "node_selector_terms"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_selector_term_spec.rb b/kubernetes/spec/models/v1_node_selector_term_spec.rb deleted file mode 100644 index 3b49e6df..00000000 --- a/kubernetes/spec/models/v1_node_selector_term_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeSelectorTerm -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeSelectorTerm' do - before do - # run before each test - @instance = Kubernetes::V1NodeSelectorTerm.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeSelectorTerm' do - it 'should create an instance of V1NodeSelectorTerm' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeSelectorTerm) - end - end - describe 'test attribute "match_expressions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "match_fields"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_spec.rb b/kubernetes/spec/models/v1_node_spec.rb deleted file mode 100644 index 76f22490..00000000 --- a/kubernetes/spec/models/v1_node_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Node -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Node' do - before do - # run before each test - @instance = Kubernetes::V1Node.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Node' do - it 'should create an instance of V1Node' do - expect(@instance).to be_instance_of(Kubernetes::V1Node) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_spec_spec.rb b/kubernetes/spec/models/v1_node_spec_spec.rb deleted file mode 100644 index f39129e9..00000000 --- a/kubernetes/spec/models/v1_node_spec_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeSpec' do - before do - # run before each test - @instance = Kubernetes::V1NodeSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeSpec' do - it 'should create an instance of V1NodeSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeSpec) - end - end - describe 'test attribute "config_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "external_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_cidr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "provider_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "taints"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unschedulable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_status_spec.rb b/kubernetes/spec/models/v1_node_status_spec.rb deleted file mode 100644 index b5453de8..00000000 --- a/kubernetes/spec/models/v1_node_status_spec.rb +++ /dev/null @@ -1,102 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeStatus' do - before do - # run before each test - @instance = Kubernetes::V1NodeStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeStatus' do - it 'should create an instance of V1NodeStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeStatus) - end - end - describe 'test attribute "addresses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allocatable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "capacity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "daemon_endpoints"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "images"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_info"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "phase"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes_attached"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes_in_use"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_node_system_info_spec.rb b/kubernetes/spec/models/v1_node_system_info_spec.rb deleted file mode 100644 index 3eb234a8..00000000 --- a/kubernetes/spec/models/v1_node_system_info_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NodeSystemInfo -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NodeSystemInfo' do - before do - # run before each test - @instance = Kubernetes::V1NodeSystemInfo.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NodeSystemInfo' do - it 'should create an instance of V1NodeSystemInfo' do - expect(@instance).to be_instance_of(Kubernetes::V1NodeSystemInfo) - end - end - describe 'test attribute "architecture"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "boot_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_runtime_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kernel_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kube_proxy_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kubelet_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "machine_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operating_system"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "os_image"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "system_uuid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_non_resource_attributes_spec.rb b/kubernetes/spec/models/v1_non_resource_attributes_spec.rb deleted file mode 100644 index ff60b71d..00000000 --- a/kubernetes/spec/models/v1_non_resource_attributes_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NonResourceAttributes -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NonResourceAttributes' do - before do - # run before each test - @instance = Kubernetes::V1NonResourceAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NonResourceAttributes' do - it 'should create an instance of V1NonResourceAttributes' do - expect(@instance).to be_instance_of(Kubernetes::V1NonResourceAttributes) - end - end - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verb"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_non_resource_rule_spec.rb b/kubernetes/spec/models/v1_non_resource_rule_spec.rb deleted file mode 100644 index 10cbe116..00000000 --- a/kubernetes/spec/models/v1_non_resource_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1NonResourceRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1NonResourceRule' do - before do - # run before each test - @instance = Kubernetes::V1NonResourceRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1NonResourceRule' do - it 'should create an instance of V1NonResourceRule' do - expect(@instance).to be_instance_of(Kubernetes::V1NonResourceRule) - end - end - describe 'test attribute "non_resource_ur_ls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_object_field_selector_spec.rb b/kubernetes/spec/models/v1_object_field_selector_spec.rb deleted file mode 100644 index 5d6e37bd..00000000 --- a/kubernetes/spec/models/v1_object_field_selector_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ObjectFieldSelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ObjectFieldSelector' do - before do - # run before each test - @instance = Kubernetes::V1ObjectFieldSelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ObjectFieldSelector' do - it 'should create an instance of V1ObjectFieldSelector' do - expect(@instance).to be_instance_of(Kubernetes::V1ObjectFieldSelector) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "field_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_object_meta_spec.rb b/kubernetes/spec/models/v1_object_meta_spec.rb deleted file mode 100644 index adca8306..00000000 --- a/kubernetes/spec/models/v1_object_meta_spec.rb +++ /dev/null @@ -1,132 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ObjectMeta -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ObjectMeta' do - before do - # run before each test - @instance = Kubernetes::V1ObjectMeta.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ObjectMeta' do - it 'should create an instance of V1ObjectMeta' do - expect(@instance).to be_instance_of(Kubernetes::V1ObjectMeta) - end - end - describe 'test attribute "annotations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cluster_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "creation_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deletion_grace_period_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deletion_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "finalizers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "generate_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "initializers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "labels"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "owner_references"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "self_link"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_object_reference_spec.rb b/kubernetes/spec/models/v1_object_reference_spec.rb deleted file mode 100644 index d9b9c84c..00000000 --- a/kubernetes/spec/models/v1_object_reference_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ObjectReference' do - before do - # run before each test - @instance = Kubernetes::V1ObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ObjectReference' do - it 'should create an instance of V1ObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V1ObjectReference) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "field_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_owner_reference_spec.rb b/kubernetes/spec/models/v1_owner_reference_spec.rb deleted file mode 100644 index 30778daa..00000000 --- a/kubernetes/spec/models/v1_owner_reference_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1OwnerReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1OwnerReference' do - before do - # run before each test - @instance = Kubernetes::V1OwnerReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1OwnerReference' do - it 'should create an instance of V1OwnerReference' do - expect(@instance).to be_instance_of(Kubernetes::V1OwnerReference) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "block_owner_deletion"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "controller"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb deleted file mode 100644 index f2a38bca..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaimCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaimCondition' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaimCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaimCondition' do - it 'should create an instance of V1PersistentVolumeClaimCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaimCondition) - end - end - describe 'test attribute "last_probe_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb deleted file mode 100644 index 5e9120de..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaimList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaimList' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaimList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaimList' do - it 'should create an instance of V1PersistentVolumeClaimList' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaimList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb deleted file mode 100644 index 1e3cc333..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaim -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaim' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaim.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaim' do - it 'should create an instance of V1PersistentVolumeClaim' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaim) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb deleted file mode 100644 index fb7bbb73..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_spec_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaimSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaimSpec' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaimSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaimSpec' do - it 'should create an instance of V1PersistentVolumeClaimSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaimSpec) - end - end - describe 'test attribute "access_modes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_class_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb deleted file mode 100644 index 793c2f6c..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaimStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaimStatus' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaimStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaimStatus' do - it 'should create an instance of V1PersistentVolumeClaimStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaimStatus) - end - end - describe 'test attribute "access_modes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "capacity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "phase"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb b/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb deleted file mode 100644 index 90ef64b4..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_claim_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeClaimVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeClaimVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeClaimVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeClaimVolumeSource' do - it 'should create an instance of V1PersistentVolumeClaimVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeClaimVolumeSource) - end - end - describe 'test attribute "claim_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_list_spec.rb b/kubernetes/spec/models/v1_persistent_volume_list_spec.rb deleted file mode 100644 index b3d4499e..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeList' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeList' do - it 'should create an instance of V1PersistentVolumeList' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_spec.rb b/kubernetes/spec/models/v1_persistent_volume_spec.rb deleted file mode 100644 index 4ee3c3f8..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolume -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolume' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolume.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolume' do - it 'should create an instance of V1PersistentVolume' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolume) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb b/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb deleted file mode 100644 index b6db8943..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_spec_spec.rb +++ /dev/null @@ -1,216 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeSpec' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeSpec' do - it 'should create an instance of V1PersistentVolumeSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeSpec) - end - end - describe 'test attribute "access_modes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "aws_elastic_block_store"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_file"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "capacity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cephfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cinder"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "claim_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "csi"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "flex_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "flocker"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gce_persistent_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "glusterfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iscsi"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "local"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mount_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "nfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "persistent_volume_reclaim_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "photon_persistent_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "portworx_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "quobyte"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rbd"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_io"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_class_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storageos"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "vsphere_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_persistent_volume_status_spec.rb b/kubernetes/spec/models/v1_persistent_volume_status_spec.rb deleted file mode 100644 index 3c50421d..00000000 --- a/kubernetes/spec/models/v1_persistent_volume_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PersistentVolumeStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PersistentVolumeStatus' do - before do - # run before each test - @instance = Kubernetes::V1PersistentVolumeStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PersistentVolumeStatus' do - it 'should create an instance of V1PersistentVolumeStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1PersistentVolumeStatus) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "phase"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb deleted file mode 100644 index 50f6669f..00000000 --- a/kubernetes/spec/models/v1_photon_persistent_disk_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PhotonPersistentDiskVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PhotonPersistentDiskVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1PhotonPersistentDiskVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PhotonPersistentDiskVolumeSource' do - it 'should create an instance of V1PhotonPersistentDiskVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1PhotonPersistentDiskVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pd_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_affinity_spec.rb b/kubernetes/spec/models/v1_pod_affinity_spec.rb deleted file mode 100644 index 6eba5cdd..00000000 --- a/kubernetes/spec/models/v1_pod_affinity_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodAffinity -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodAffinity' do - before do - # run before each test - @instance = Kubernetes::V1PodAffinity.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodAffinity' do - it 'should create an instance of V1PodAffinity' do - expect(@instance).to be_instance_of(Kubernetes::V1PodAffinity) - end - end - describe 'test attribute "preferred_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_affinity_term_spec.rb b/kubernetes/spec/models/v1_pod_affinity_term_spec.rb deleted file mode 100644 index d4ea991b..00000000 --- a/kubernetes/spec/models/v1_pod_affinity_term_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodAffinityTerm -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodAffinityTerm' do - before do - # run before each test - @instance = Kubernetes::V1PodAffinityTerm.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodAffinityTerm' do - it 'should create an instance of V1PodAffinityTerm' do - expect(@instance).to be_instance_of(Kubernetes::V1PodAffinityTerm) - end - end - describe 'test attribute "label_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespaces"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "topology_key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb b/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb deleted file mode 100644 index bb4161f2..00000000 --- a/kubernetes/spec/models/v1_pod_anti_affinity_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodAntiAffinity -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodAntiAffinity' do - before do - # run before each test - @instance = Kubernetes::V1PodAntiAffinity.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodAntiAffinity' do - it 'should create an instance of V1PodAntiAffinity' do - expect(@instance).to be_instance_of(Kubernetes::V1PodAntiAffinity) - end - end - describe 'test attribute "preferred_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required_during_scheduling_ignored_during_execution"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_condition_spec.rb b/kubernetes/spec/models/v1_pod_condition_spec.rb deleted file mode 100644 index 8184dd9b..00000000 --- a/kubernetes/spec/models/v1_pod_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodCondition' do - before do - # run before each test - @instance = Kubernetes::V1PodCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodCondition' do - it 'should create an instance of V1PodCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1PodCondition) - end - end - describe 'test attribute "last_probe_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb b/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb deleted file mode 100644 index d704dd01..00000000 --- a/kubernetes/spec/models/v1_pod_dns_config_option_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodDNSConfigOption -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodDNSConfigOption' do - before do - # run before each test - @instance = Kubernetes::V1PodDNSConfigOption.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodDNSConfigOption' do - it 'should create an instance of V1PodDNSConfigOption' do - expect(@instance).to be_instance_of(Kubernetes::V1PodDNSConfigOption) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_dns_config_spec.rb b/kubernetes/spec/models/v1_pod_dns_config_spec.rb deleted file mode 100644 index 4494237d..00000000 --- a/kubernetes/spec/models/v1_pod_dns_config_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodDNSConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodDNSConfig' do - before do - # run before each test - @instance = Kubernetes::V1PodDNSConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodDNSConfig' do - it 'should create an instance of V1PodDNSConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1PodDNSConfig) - end - end - describe 'test attribute "nameservers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "searches"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_list_spec.rb b/kubernetes/spec/models/v1_pod_list_spec.rb deleted file mode 100644 index f4491669..00000000 --- a/kubernetes/spec/models/v1_pod_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodList' do - before do - # run before each test - @instance = Kubernetes::V1PodList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodList' do - it 'should create an instance of V1PodList' do - expect(@instance).to be_instance_of(Kubernetes::V1PodList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb b/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb deleted file mode 100644 index 464ca5e4..00000000 --- a/kubernetes/spec/models/v1_pod_readiness_gate_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodReadinessGate -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodReadinessGate' do - before do - # run before each test - @instance = Kubernetes::V1PodReadinessGate.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodReadinessGate' do - it 'should create an instance of V1PodReadinessGate' do - expect(@instance).to be_instance_of(Kubernetes::V1PodReadinessGate) - end - end - describe 'test attribute "condition_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_security_context_spec.rb b/kubernetes/spec/models/v1_pod_security_context_spec.rb deleted file mode 100644 index 2b421427..00000000 --- a/kubernetes/spec/models/v1_pod_security_context_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodSecurityContext -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodSecurityContext' do - before do - # run before each test - @instance = Kubernetes::V1PodSecurityContext.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodSecurityContext' do - it 'should create an instance of V1PodSecurityContext' do - expect(@instance).to be_instance_of(Kubernetes::V1PodSecurityContext) - end - end - describe 'test attribute "fs_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_non_root"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "supplemental_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sysctls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_spec.rb b/kubernetes/spec/models/v1_pod_spec.rb deleted file mode 100644 index bc7d660a..00000000 --- a/kubernetes/spec/models/v1_pod_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Pod -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Pod' do - before do - # run before each test - @instance = Kubernetes::V1Pod.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Pod' do - it 'should create an instance of V1Pod' do - expect(@instance).to be_instance_of(Kubernetes::V1Pod) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_spec_spec.rb b/kubernetes/spec/models/v1_pod_spec_spec.rb deleted file mode 100644 index e12d231d..00000000 --- a/kubernetes/spec/models/v1_pod_spec_spec.rb +++ /dev/null @@ -1,216 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodSpec' do - before do - # run before each test - @instance = Kubernetes::V1PodSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodSpec' do - it 'should create an instance of V1PodSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1PodSpec) - end - end - describe 'test attribute "active_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "automount_service_account_token"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "containers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dns_config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dns_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "enable_service_links"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_aliases"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ipc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_network"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_pid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "hostname"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image_pull_secrets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "init_containers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "priority"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "priority_class_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "readiness_gates"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "restart_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "runtime_class_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scheduler_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "security_context"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_account"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_account_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "share_process_namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subdomain"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "termination_grace_period_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tolerations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_status_spec.rb b/kubernetes/spec/models/v1_pod_status_spec.rb deleted file mode 100644 index fe62e32b..00000000 --- a/kubernetes/spec/models/v1_pod_status_spec.rb +++ /dev/null @@ -1,102 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodStatus' do - before do - # run before each test - @instance = Kubernetes::V1PodStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodStatus' do - it 'should create an instance of V1PodStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1PodStatus) - end - end - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "container_statuses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "init_container_statuses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "nominated_node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "phase"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "qos_class"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "start_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_template_list_spec.rb b/kubernetes/spec/models/v1_pod_template_list_spec.rb deleted file mode 100644 index 7bfee8d5..00000000 --- a/kubernetes/spec/models/v1_pod_template_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodTemplateList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodTemplateList' do - before do - # run before each test - @instance = Kubernetes::V1PodTemplateList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodTemplateList' do - it 'should create an instance of V1PodTemplateList' do - expect(@instance).to be_instance_of(Kubernetes::V1PodTemplateList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_template_spec.rb b/kubernetes/spec/models/v1_pod_template_spec.rb deleted file mode 100644 index b873a3bc..00000000 --- a/kubernetes/spec/models/v1_pod_template_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodTemplate -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodTemplate' do - before do - # run before each test - @instance = Kubernetes::V1PodTemplate.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodTemplate' do - it 'should create an instance of V1PodTemplate' do - expect(@instance).to be_instance_of(Kubernetes::V1PodTemplate) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_pod_template_spec_spec.rb b/kubernetes/spec/models/v1_pod_template_spec_spec.rb deleted file mode 100644 index a684c84b..00000000 --- a/kubernetes/spec/models/v1_pod_template_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PodTemplateSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PodTemplateSpec' do - before do - # run before each test - @instance = Kubernetes::V1PodTemplateSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PodTemplateSpec' do - it 'should create an instance of V1PodTemplateSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1PodTemplateSpec) - end - end - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_policy_rule_spec.rb b/kubernetes/spec/models/v1_policy_rule_spec.rb deleted file mode 100644 index 70ac9555..00000000 --- a/kubernetes/spec/models/v1_policy_rule_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PolicyRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PolicyRule' do - before do - # run before each test - @instance = Kubernetes::V1PolicyRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PolicyRule' do - it 'should create an instance of V1PolicyRule' do - expect(@instance).to be_instance_of(Kubernetes::V1PolicyRule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_ur_ls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_portworx_volume_source_spec.rb b/kubernetes/spec/models/v1_portworx_volume_source_spec.rb deleted file mode 100644 index 8a9b71e4..00000000 --- a/kubernetes/spec/models/v1_portworx_volume_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PortworxVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PortworxVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1PortworxVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PortworxVolumeSource' do - it 'should create an instance of V1PortworxVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1PortworxVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_preconditions_spec.rb b/kubernetes/spec/models/v1_preconditions_spec.rb deleted file mode 100644 index 8276f3a5..00000000 --- a/kubernetes/spec/models/v1_preconditions_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Preconditions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Preconditions' do - before do - # run before each test - @instance = Kubernetes::V1Preconditions.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Preconditions' do - it 'should create an instance of V1Preconditions' do - expect(@instance).to be_instance_of(Kubernetes::V1Preconditions) - end - end - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb b/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb deleted file mode 100644 index 86161402..00000000 --- a/kubernetes/spec/models/v1_preferred_scheduling_term_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1PreferredSchedulingTerm -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1PreferredSchedulingTerm' do - before do - # run before each test - @instance = Kubernetes::V1PreferredSchedulingTerm.new - end - - after do - # run after each test - end - - describe 'test an instance of V1PreferredSchedulingTerm' do - it 'should create an instance of V1PreferredSchedulingTerm' do - expect(@instance).to be_instance_of(Kubernetes::V1PreferredSchedulingTerm) - end - end - describe 'test attribute "preference"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "weight"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_probe_spec.rb b/kubernetes/spec/models/v1_probe_spec.rb deleted file mode 100644 index 86e56759..00000000 --- a/kubernetes/spec/models/v1_probe_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Probe -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Probe' do - before do - # run before each test - @instance = Kubernetes::V1Probe.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Probe' do - it 'should create an instance of V1Probe' do - expect(@instance).to be_instance_of(Kubernetes::V1Probe) - end - end - describe 'test attribute "exec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "failure_threshold"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "http_get"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "initial_delay_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "period_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "success_threshold"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tcp_socket"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "timeout_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_projected_volume_source_spec.rb b/kubernetes/spec/models/v1_projected_volume_source_spec.rb deleted file mode 100644 index 70343f6f..00000000 --- a/kubernetes/spec/models/v1_projected_volume_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ProjectedVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ProjectedVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ProjectedVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ProjectedVolumeSource' do - it 'should create an instance of V1ProjectedVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ProjectedVolumeSource) - end - end - describe 'test attribute "default_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb b/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb deleted file mode 100644 index b5db2053..00000000 --- a/kubernetes/spec/models/v1_quobyte_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1QuobyteVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1QuobyteVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1QuobyteVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1QuobyteVolumeSource' do - it 'should create an instance of V1QuobyteVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1QuobyteVolumeSource) - end - end - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "registry"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb deleted file mode 100644 index 520e92cc..00000000 --- a/kubernetes/spec/models/v1_rbd_persistent_volume_source_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RBDPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RBDPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1RBDPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RBDPersistentVolumeSource' do - it 'should create an instance of V1RBDPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1RBDPersistentVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "keyring"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pool"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_rbd_volume_source_spec.rb b/kubernetes/spec/models/v1_rbd_volume_source_spec.rb deleted file mode 100644 index 1c3a3722..00000000 --- a/kubernetes/spec/models/v1_rbd_volume_source_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RBDVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RBDVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1RBDVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RBDVolumeSource' do - it 'should create an instance of V1RBDVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1RBDVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "keyring"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "monitors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pool"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replica_set_condition_spec.rb b/kubernetes/spec/models/v1_replica_set_condition_spec.rb deleted file mode 100644 index 5ba15677..00000000 --- a/kubernetes/spec/models/v1_replica_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicaSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicaSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1ReplicaSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicaSetCondition' do - it 'should create an instance of V1ReplicaSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replica_set_list_spec.rb b/kubernetes/spec/models/v1_replica_set_list_spec.rb deleted file mode 100644 index ca300bbb..00000000 --- a/kubernetes/spec/models/v1_replica_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicaSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicaSetList' do - before do - # run before each test - @instance = Kubernetes::V1ReplicaSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicaSetList' do - it 'should create an instance of V1ReplicaSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replica_set_spec.rb b/kubernetes/spec/models/v1_replica_set_spec.rb deleted file mode 100644 index 21989ed6..00000000 --- a/kubernetes/spec/models/v1_replica_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicaSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicaSet' do - before do - # run before each test - @instance = Kubernetes::V1ReplicaSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicaSet' do - it 'should create an instance of V1ReplicaSet' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replica_set_spec_spec.rb b/kubernetes/spec/models/v1_replica_set_spec_spec.rb deleted file mode 100644 index 9558ccc0..00000000 --- a/kubernetes/spec/models/v1_replica_set_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicaSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicaSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1ReplicaSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicaSetSpec' do - it 'should create an instance of V1ReplicaSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replica_set_status_spec.rb b/kubernetes/spec/models/v1_replica_set_status_spec.rb deleted file mode 100644 index affef1c7..00000000 --- a/kubernetes/spec/models/v1_replica_set_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicaSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicaSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1ReplicaSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicaSetStatus' do - it 'should create an instance of V1ReplicaSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicaSetStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fully_labeled_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replication_controller_condition_spec.rb b/kubernetes/spec/models/v1_replication_controller_condition_spec.rb deleted file mode 100644 index 84ecffb8..00000000 --- a/kubernetes/spec/models/v1_replication_controller_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicationControllerCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicationControllerCondition' do - before do - # run before each test - @instance = Kubernetes::V1ReplicationControllerCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicationControllerCondition' do - it 'should create an instance of V1ReplicationControllerCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicationControllerCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replication_controller_list_spec.rb b/kubernetes/spec/models/v1_replication_controller_list_spec.rb deleted file mode 100644 index e8706380..00000000 --- a/kubernetes/spec/models/v1_replication_controller_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicationControllerList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicationControllerList' do - before do - # run before each test - @instance = Kubernetes::V1ReplicationControllerList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicationControllerList' do - it 'should create an instance of V1ReplicationControllerList' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicationControllerList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replication_controller_spec.rb b/kubernetes/spec/models/v1_replication_controller_spec.rb deleted file mode 100644 index 7ebb3509..00000000 --- a/kubernetes/spec/models/v1_replication_controller_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicationController -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicationController' do - before do - # run before each test - @instance = Kubernetes::V1ReplicationController.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicationController' do - it 'should create an instance of V1ReplicationController' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicationController) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replication_controller_spec_spec.rb b/kubernetes/spec/models/v1_replication_controller_spec_spec.rb deleted file mode 100644 index 048b2f6a..00000000 --- a/kubernetes/spec/models/v1_replication_controller_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicationControllerSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicationControllerSpec' do - before do - # run before each test - @instance = Kubernetes::V1ReplicationControllerSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicationControllerSpec' do - it 'should create an instance of V1ReplicationControllerSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicationControllerSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_replication_controller_status_spec.rb b/kubernetes/spec/models/v1_replication_controller_status_spec.rb deleted file mode 100644 index 0fe05ae0..00000000 --- a/kubernetes/spec/models/v1_replication_controller_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ReplicationControllerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ReplicationControllerStatus' do - before do - # run before each test - @instance = Kubernetes::V1ReplicationControllerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ReplicationControllerStatus' do - it 'should create an instance of V1ReplicationControllerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ReplicationControllerStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fully_labeled_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_attributes_spec.rb b/kubernetes/spec/models/v1_resource_attributes_spec.rb deleted file mode 100644 index 939d3605..00000000 --- a/kubernetes/spec/models/v1_resource_attributes_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceAttributes -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceAttributes' do - before do - # run before each test - @instance = Kubernetes::V1ResourceAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceAttributes' do - it 'should create an instance of V1ResourceAttributes' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceAttributes) - end - end - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subresource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verb"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_field_selector_spec.rb b/kubernetes/spec/models/v1_resource_field_selector_spec.rb deleted file mode 100644 index d4ae2b40..00000000 --- a/kubernetes/spec/models/v1_resource_field_selector_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceFieldSelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceFieldSelector' do - before do - # run before each test - @instance = Kubernetes::V1ResourceFieldSelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceFieldSelector' do - it 'should create an instance of V1ResourceFieldSelector' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceFieldSelector) - end - end - describe 'test attribute "container_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "divisor"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_quota_list_spec.rb b/kubernetes/spec/models/v1_resource_quota_list_spec.rb deleted file mode 100644 index ed11470c..00000000 --- a/kubernetes/spec/models/v1_resource_quota_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceQuotaList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceQuotaList' do - before do - # run before each test - @instance = Kubernetes::V1ResourceQuotaList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceQuotaList' do - it 'should create an instance of V1ResourceQuotaList' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceQuotaList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_quota_spec.rb b/kubernetes/spec/models/v1_resource_quota_spec.rb deleted file mode 100644 index 7687ac85..00000000 --- a/kubernetes/spec/models/v1_resource_quota_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceQuota -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceQuota' do - before do - # run before each test - @instance = Kubernetes::V1ResourceQuota.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceQuota' do - it 'should create an instance of V1ResourceQuota' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceQuota) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_quota_spec_spec.rb b/kubernetes/spec/models/v1_resource_quota_spec_spec.rb deleted file mode 100644 index dc6989f2..00000000 --- a/kubernetes/spec/models/v1_resource_quota_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceQuotaSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceQuotaSpec' do - before do - # run before each test - @instance = Kubernetes::V1ResourceQuotaSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceQuotaSpec' do - it 'should create an instance of V1ResourceQuotaSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceQuotaSpec) - end - end - describe 'test attribute "hard"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scopes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_quota_status_spec.rb b/kubernetes/spec/models/v1_resource_quota_status_spec.rb deleted file mode 100644 index 22312006..00000000 --- a/kubernetes/spec/models/v1_resource_quota_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceQuotaStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceQuotaStatus' do - before do - # run before each test - @instance = Kubernetes::V1ResourceQuotaStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceQuotaStatus' do - it 'should create an instance of V1ResourceQuotaStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceQuotaStatus) - end - end - describe 'test attribute "hard"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "used"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_requirements_spec.rb b/kubernetes/spec/models/v1_resource_requirements_spec.rb deleted file mode 100644 index 16479e90..00000000 --- a/kubernetes/spec/models/v1_resource_requirements_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceRequirements -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceRequirements' do - before do - # run before each test - @instance = Kubernetes::V1ResourceRequirements.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceRequirements' do - it 'should create an instance of V1ResourceRequirements' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceRequirements) - end - end - describe 'test attribute "limits"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "requests"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_resource_rule_spec.rb b/kubernetes/spec/models/v1_resource_rule_spec.rb deleted file mode 100644 index 7c82cfac..00000000 --- a/kubernetes/spec/models/v1_resource_rule_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ResourceRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ResourceRule' do - before do - # run before each test - @instance = Kubernetes::V1ResourceRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ResourceRule' do - it 'should create an instance of V1ResourceRule' do - expect(@instance).to be_instance_of(Kubernetes::V1ResourceRule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_role_binding_list_spec.rb b/kubernetes/spec/models/v1_role_binding_list_spec.rb deleted file mode 100644 index c18478c3..00000000 --- a/kubernetes/spec/models/v1_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1RoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RoleBindingList' do - it 'should create an instance of V1RoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1RoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_role_binding_spec.rb b/kubernetes/spec/models/v1_role_binding_spec.rb deleted file mode 100644 index da5da881..00000000 --- a/kubernetes/spec/models/v1_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1RoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RoleBinding' do - it 'should create an instance of V1RoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1RoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_role_list_spec.rb b/kubernetes/spec/models/v1_role_list_spec.rb deleted file mode 100644 index bbb25829..00000000 --- a/kubernetes/spec/models/v1_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RoleList' do - before do - # run before each test - @instance = Kubernetes::V1RoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RoleList' do - it 'should create an instance of V1RoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1RoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_role_ref_spec.rb b/kubernetes/spec/models/v1_role_ref_spec.rb deleted file mode 100644 index f0ead0e8..00000000 --- a/kubernetes/spec/models/v1_role_ref_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RoleRef -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RoleRef' do - before do - # run before each test - @instance = Kubernetes::V1RoleRef.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RoleRef' do - it 'should create an instance of V1RoleRef' do - expect(@instance).to be_instance_of(Kubernetes::V1RoleRef) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_role_spec.rb b/kubernetes/spec/models/v1_role_spec.rb deleted file mode 100644 index 9304d7ba..00000000 --- a/kubernetes/spec/models/v1_role_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Role -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Role' do - before do - # run before each test - @instance = Kubernetes::V1Role.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Role' do - it 'should create an instance of V1Role' do - expect(@instance).to be_instance_of(Kubernetes::V1Role) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb deleted file mode 100644 index d93cd0dd..00000000 --- a/kubernetes/spec/models/v1_rolling_update_daemon_set_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RollingUpdateDaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RollingUpdateDaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1RollingUpdateDaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RollingUpdateDaemonSet' do - it 'should create an instance of V1RollingUpdateDaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateDaemonSet) - end - end - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb b/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb deleted file mode 100644 index b038e9ab..00000000 --- a/kubernetes/spec/models/v1_rolling_update_deployment_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RollingUpdateDeployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RollingUpdateDeployment' do - before do - # run before each test - @instance = Kubernetes::V1RollingUpdateDeployment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RollingUpdateDeployment' do - it 'should create an instance of V1RollingUpdateDeployment' do - expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateDeployment) - end - end - describe 'test attribute "max_surge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb deleted file mode 100644 index fcd4f68c..00000000 --- a/kubernetes/spec/models/v1_rolling_update_stateful_set_strategy_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1RollingUpdateStatefulSetStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1RollingUpdateStatefulSetStrategy' do - before do - # run before each test - @instance = Kubernetes::V1RollingUpdateStatefulSetStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1RollingUpdateStatefulSetStrategy' do - it 'should create an instance of V1RollingUpdateStatefulSetStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1RollingUpdateStatefulSetStrategy) - end - end - describe 'test attribute "partition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb deleted file mode 100644 index 404c94b0..00000000 --- a/kubernetes/spec/models/v1_scale_io_persistent_volume_source_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScaleIOPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScaleIOPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ScaleIOPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScaleIOPersistentVolumeSource' do - it 'should create an instance of V1ScaleIOPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ScaleIOPersistentVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gateway"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protection_domain"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ssl_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_pool"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "system"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb b/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb deleted file mode 100644 index c2d62eda..00000000 --- a/kubernetes/spec/models/v1_scale_io_volume_source_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScaleIOVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScaleIOVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1ScaleIOVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScaleIOVolumeSource' do - it 'should create an instance of V1ScaleIOVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1ScaleIOVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gateway"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protection_domain"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ssl_enabled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_pool"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "system"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scale_spec.rb b/kubernetes/spec/models/v1_scale_spec.rb deleted file mode 100644 index da94eaa8..00000000 --- a/kubernetes/spec/models/v1_scale_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Scale -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Scale' do - before do - # run before each test - @instance = Kubernetes::V1Scale.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Scale' do - it 'should create an instance of V1Scale' do - expect(@instance).to be_instance_of(Kubernetes::V1Scale) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scale_spec_spec.rb b/kubernetes/spec/models/v1_scale_spec_spec.rb deleted file mode 100644 index 8abe391f..00000000 --- a/kubernetes/spec/models/v1_scale_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScaleSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScaleSpec' do - before do - # run before each test - @instance = Kubernetes::V1ScaleSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScaleSpec' do - it 'should create an instance of V1ScaleSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1ScaleSpec) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scale_status_spec.rb b/kubernetes/spec/models/v1_scale_status_spec.rb deleted file mode 100644 index c4f8e530..00000000 --- a/kubernetes/spec/models/v1_scale_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScaleStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScaleStatus' do - before do - # run before each test - @instance = Kubernetes::V1ScaleStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScaleStatus' do - it 'should create an instance of V1ScaleStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ScaleStatus) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scope_selector_spec.rb b/kubernetes/spec/models/v1_scope_selector_spec.rb deleted file mode 100644 index f37584e3..00000000 --- a/kubernetes/spec/models/v1_scope_selector_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScopeSelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScopeSelector' do - before do - # run before each test - @instance = Kubernetes::V1ScopeSelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScopeSelector' do - it 'should create an instance of V1ScopeSelector' do - expect(@instance).to be_instance_of(Kubernetes::V1ScopeSelector) - end - end - describe 'test attribute "match_expressions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb b/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb deleted file mode 100644 index 24b94b3f..00000000 --- a/kubernetes/spec/models/v1_scoped_resource_selector_requirement_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ScopedResourceSelectorRequirement -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ScopedResourceSelectorRequirement' do - before do - # run before each test - @instance = Kubernetes::V1ScopedResourceSelectorRequirement.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ScopedResourceSelectorRequirement' do - it 'should create an instance of V1ScopedResourceSelectorRequirement' do - expect(@instance).to be_instance_of(Kubernetes::V1ScopedResourceSelectorRequirement) - end - end - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "values"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_se_linux_options_spec.rb b/kubernetes/spec/models/v1_se_linux_options_spec.rb deleted file mode 100644 index 947ced27..00000000 --- a/kubernetes/spec/models/v1_se_linux_options_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SELinuxOptions -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SELinuxOptions' do - before do - # run before each test - @instance = Kubernetes::V1SELinuxOptions.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SELinuxOptions' do - it 'should create an instance of V1SELinuxOptions' do - expect(@instance).to be_instance_of(Kubernetes::V1SELinuxOptions) - end - end - describe 'test attribute "level"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_env_source_spec.rb b/kubernetes/spec/models/v1_secret_env_source_spec.rb deleted file mode 100644 index 58c61136..00000000 --- a/kubernetes/spec/models/v1_secret_env_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretEnvSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretEnvSource' do - before do - # run before each test - @instance = Kubernetes::V1SecretEnvSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretEnvSource' do - it 'should create an instance of V1SecretEnvSource' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretEnvSource) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_key_selector_spec.rb b/kubernetes/spec/models/v1_secret_key_selector_spec.rb deleted file mode 100644 index 80227bb6..00000000 --- a/kubernetes/spec/models/v1_secret_key_selector_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretKeySelector -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretKeySelector' do - before do - # run before each test - @instance = Kubernetes::V1SecretKeySelector.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretKeySelector' do - it 'should create an instance of V1SecretKeySelector' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretKeySelector) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_list_spec.rb b/kubernetes/spec/models/v1_secret_list_spec.rb deleted file mode 100644 index 63ca986b..00000000 --- a/kubernetes/spec/models/v1_secret_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretList' do - before do - # run before each test - @instance = Kubernetes::V1SecretList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretList' do - it 'should create an instance of V1SecretList' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_projection_spec.rb b/kubernetes/spec/models/v1_secret_projection_spec.rb deleted file mode 100644 index 9d2aee89..00000000 --- a/kubernetes/spec/models/v1_secret_projection_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretProjection -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretProjection' do - before do - # run before each test - @instance = Kubernetes::V1SecretProjection.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretProjection' do - it 'should create an instance of V1SecretProjection' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretProjection) - end - end - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_reference_spec.rb b/kubernetes/spec/models/v1_secret_reference_spec.rb deleted file mode 100644 index 82412359..00000000 --- a/kubernetes/spec/models/v1_secret_reference_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretReference' do - before do - # run before each test - @instance = Kubernetes::V1SecretReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretReference' do - it 'should create an instance of V1SecretReference' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_spec.rb b/kubernetes/spec/models/v1_secret_spec.rb deleted file mode 100644 index da756aa0..00000000 --- a/kubernetes/spec/models/v1_secret_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Secret -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Secret' do - before do - # run before each test - @instance = Kubernetes::V1Secret.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Secret' do - it 'should create an instance of V1Secret' do - expect(@instance).to be_instance_of(Kubernetes::V1Secret) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "string_data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_secret_volume_source_spec.rb b/kubernetes/spec/models/v1_secret_volume_source_spec.rb deleted file mode 100644 index 3da509d2..00000000 --- a/kubernetes/spec/models/v1_secret_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecretVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecretVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1SecretVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecretVolumeSource' do - it 'should create an instance of V1SecretVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1SecretVolumeSource) - end - end - describe 'test attribute "default_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "optional"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_security_context_spec.rb b/kubernetes/spec/models/v1_security_context_spec.rb deleted file mode 100644 index 805116ce..00000000 --- a/kubernetes/spec/models/v1_security_context_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SecurityContext -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SecurityContext' do - before do - # run before each test - @instance = Kubernetes::V1SecurityContext.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SecurityContext' do - it 'should create an instance of V1SecurityContext' do - expect(@instance).to be_instance_of(Kubernetes::V1SecurityContext) - end - end - describe 'test attribute "allow_privilege_escalation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "capabilities"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "privileged"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "proc_mount"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only_root_filesystem"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_non_root"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "run_as_user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "se_linux_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_self_subject_access_review_spec.rb b/kubernetes/spec/models/v1_self_subject_access_review_spec.rb deleted file mode 100644 index 9d78eda3..00000000 --- a/kubernetes/spec/models/v1_self_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SelfSubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SelfSubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1SelfSubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SelfSubjectAccessReview' do - it 'should create an instance of V1SelfSubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1SelfSubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb deleted file mode 100644 index 032e3fba..00000000 --- a/kubernetes/spec/models/v1_self_subject_access_review_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SelfSubjectAccessReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SelfSubjectAccessReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1SelfSubjectAccessReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SelfSubjectAccessReviewSpec' do - it 'should create an instance of V1SelfSubjectAccessReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1SelfSubjectAccessReviewSpec) - end - end - describe 'test attribute "non_resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb b/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb deleted file mode 100644 index 4b7c1f10..00000000 --- a/kubernetes/spec/models/v1_self_subject_rules_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SelfSubjectRulesReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SelfSubjectRulesReview' do - before do - # run before each test - @instance = Kubernetes::V1SelfSubjectRulesReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SelfSubjectRulesReview' do - it 'should create an instance of V1SelfSubjectRulesReview' do - expect(@instance).to be_instance_of(Kubernetes::V1SelfSubjectRulesReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb b/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb deleted file mode 100644 index c78a208e..00000000 --- a/kubernetes/spec/models/v1_self_subject_rules_review_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SelfSubjectRulesReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SelfSubjectRulesReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1SelfSubjectRulesReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SelfSubjectRulesReviewSpec' do - it 'should create an instance of V1SelfSubjectRulesReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1SelfSubjectRulesReviewSpec) - end - end - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb b/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb deleted file mode 100644 index aeed8d0a..00000000 --- a/kubernetes/spec/models/v1_server_address_by_client_cidr_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServerAddressByClientCIDR -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServerAddressByClientCIDR' do - before do - # run before each test - @instance = Kubernetes::V1ServerAddressByClientCIDR.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServerAddressByClientCIDR' do - it 'should create an instance of V1ServerAddressByClientCIDR' do - expect(@instance).to be_instance_of(Kubernetes::V1ServerAddressByClientCIDR) - end - end - describe 'test attribute "client_cidr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "server_address"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_account_list_spec.rb b/kubernetes/spec/models/v1_service_account_list_spec.rb deleted file mode 100644 index be3ca9cb..00000000 --- a/kubernetes/spec/models/v1_service_account_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceAccountList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceAccountList' do - before do - # run before each test - @instance = Kubernetes::V1ServiceAccountList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceAccountList' do - it 'should create an instance of V1ServiceAccountList' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceAccountList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_account_spec.rb b/kubernetes/spec/models/v1_service_account_spec.rb deleted file mode 100644 index a4c1b068..00000000 --- a/kubernetes/spec/models/v1_service_account_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceAccount -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceAccount' do - before do - # run before each test - @instance = Kubernetes::V1ServiceAccount.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceAccount' do - it 'should create an instance of V1ServiceAccount' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceAccount) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "automount_service_account_token"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "image_pull_secrets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secrets"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_account_token_projection_spec.rb b/kubernetes/spec/models/v1_service_account_token_projection_spec.rb deleted file mode 100644 index 6a3ed643..00000000 --- a/kubernetes/spec/models/v1_service_account_token_projection_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceAccountTokenProjection -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceAccountTokenProjection' do - before do - # run before each test - @instance = Kubernetes::V1ServiceAccountTokenProjection.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceAccountTokenProjection' do - it 'should create an instance of V1ServiceAccountTokenProjection' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceAccountTokenProjection) - end - end - describe 'test attribute "audience"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expiration_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_list_spec.rb b/kubernetes/spec/models/v1_service_list_spec.rb deleted file mode 100644 index 6b91f4fb..00000000 --- a/kubernetes/spec/models/v1_service_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceList' do - before do - # run before each test - @instance = Kubernetes::V1ServiceList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceList' do - it 'should create an instance of V1ServiceList' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_port_spec.rb b/kubernetes/spec/models/v1_service_port_spec.rb deleted file mode 100644 index 2097cd88..00000000 --- a/kubernetes/spec/models/v1_service_port_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServicePort -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServicePort' do - before do - # run before each test - @instance = Kubernetes::V1ServicePort.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServicePort' do - it 'should create an instance of V1ServicePort' do - expect(@instance).to be_instance_of(Kubernetes::V1ServicePort) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_reference_spec.rb b/kubernetes/spec/models/v1_service_reference_spec.rb deleted file mode 100644 index eaffe1ab..00000000 --- a/kubernetes/spec/models/v1_service_reference_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceReference' do - before do - # run before each test - @instance = Kubernetes::V1ServiceReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceReference' do - it 'should create an instance of V1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_spec.rb b/kubernetes/spec/models/v1_service_spec.rb deleted file mode 100644 index ca718dec..00000000 --- a/kubernetes/spec/models/v1_service_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Service -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Service' do - before do - # run before each test - @instance = Kubernetes::V1Service.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Service' do - it 'should create an instance of V1Service' do - expect(@instance).to be_instance_of(Kubernetes::V1Service) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_spec_spec.rb b/kubernetes/spec/models/v1_service_spec_spec.rb deleted file mode 100644 index 2f317963..00000000 --- a/kubernetes/spec/models/v1_service_spec_spec.rb +++ /dev/null @@ -1,114 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceSpec' do - before do - # run before each test - @instance = Kubernetes::V1ServiceSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceSpec' do - it 'should create an instance of V1ServiceSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceSpec) - end - end - describe 'test attribute "cluster_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "external_i_ps"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "external_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "external_traffic_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "health_check_node_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "load_balancer_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "load_balancer_source_ranges"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "publish_not_ready_addresses"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "session_affinity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "session_affinity_config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_service_status_spec.rb b/kubernetes/spec/models/v1_service_status_spec.rb deleted file mode 100644 index 5d8965c4..00000000 --- a/kubernetes/spec/models/v1_service_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1ServiceStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1ServiceStatus' do - before do - # run before each test - @instance = Kubernetes::V1ServiceStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1ServiceStatus' do - it 'should create an instance of V1ServiceStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1ServiceStatus) - end - end - describe 'test attribute "load_balancer"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_session_affinity_config_spec.rb b/kubernetes/spec/models/v1_session_affinity_config_spec.rb deleted file mode 100644 index 12f949b5..00000000 --- a/kubernetes/spec/models/v1_session_affinity_config_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SessionAffinityConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SessionAffinityConfig' do - before do - # run before each test - @instance = Kubernetes::V1SessionAffinityConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SessionAffinityConfig' do - it 'should create an instance of V1SessionAffinityConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1SessionAffinityConfig) - end - end - describe 'test attribute "client_ip"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1_stateful_set_condition_spec.rb deleted file mode 100644 index 0040da72..00000000 --- a/kubernetes/spec/models/v1_stateful_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSetCondition' do - it 'should create an instance of V1StatefulSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_list_spec.rb b/kubernetes/spec/models/v1_stateful_set_list_spec.rb deleted file mode 100644 index 8f5e60fe..00000000 --- a/kubernetes/spec/models/v1_stateful_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSetList' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSetList' do - it 'should create an instance of V1StatefulSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_spec.rb b/kubernetes/spec/models/v1_stateful_set_spec.rb deleted file mode 100644 index 11460ced..00000000 --- a/kubernetes/spec/models/v1_stateful_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSet' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSet' do - it 'should create an instance of V1StatefulSet' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1_stateful_set_spec_spec.rb deleted file mode 100644 index b6ca49ad..00000000 --- a/kubernetes/spec/models/v1_stateful_set_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSetSpec' do - it 'should create an instance of V1StatefulSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetSpec) - end - end - describe 'test attribute "pod_management_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_claim_templates"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_status_spec.rb b/kubernetes/spec/models/v1_stateful_set_status_spec.rb deleted file mode 100644 index a5cd839b..00000000 --- a/kubernetes/spec/models/v1_stateful_set_status_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSetStatus' do - it 'should create an instance of V1StatefulSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb deleted file mode 100644 index 2ae98062..00000000 --- a/kubernetes/spec/models/v1_stateful_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatefulSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatefulSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1StatefulSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatefulSetUpdateStrategy' do - it 'should create an instance of V1StatefulSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1StatefulSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_status_cause_spec.rb b/kubernetes/spec/models/v1_status_cause_spec.rb deleted file mode 100644 index 9d0c14f4..00000000 --- a/kubernetes/spec/models/v1_status_cause_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatusCause -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatusCause' do - before do - # run before each test - @instance = Kubernetes::V1StatusCause.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatusCause' do - it 'should create an instance of V1StatusCause' do - expect(@instance).to be_instance_of(Kubernetes::V1StatusCause) - end - end - describe 'test attribute "field"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_status_details_spec.rb b/kubernetes/spec/models/v1_status_details_spec.rb deleted file mode 100644 index 36d56d7e..00000000 --- a/kubernetes/spec/models/v1_status_details_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StatusDetails -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StatusDetails' do - before do - # run before each test - @instance = Kubernetes::V1StatusDetails.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StatusDetails' do - it 'should create an instance of V1StatusDetails' do - expect(@instance).to be_instance_of(Kubernetes::V1StatusDetails) - end - end - describe 'test attribute "causes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "retry_after_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_status_spec.rb b/kubernetes/spec/models/v1_status_spec.rb deleted file mode 100644 index 27609d4c..00000000 --- a/kubernetes/spec/models/v1_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Status -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Status' do - before do - # run before each test - @instance = Kubernetes::V1Status.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Status' do - it 'should create an instance of V1Status' do - expect(@instance).to be_instance_of(Kubernetes::V1Status) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "code"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "details"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_storage_class_list_spec.rb b/kubernetes/spec/models/v1_storage_class_list_spec.rb deleted file mode 100644 index 96e350ed..00000000 --- a/kubernetes/spec/models/v1_storage_class_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StorageClassList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StorageClassList' do - before do - # run before each test - @instance = Kubernetes::V1StorageClassList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StorageClassList' do - it 'should create an instance of V1StorageClassList' do - expect(@instance).to be_instance_of(Kubernetes::V1StorageClassList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_storage_class_spec.rb b/kubernetes/spec/models/v1_storage_class_spec.rb deleted file mode 100644 index 36e9c8c1..00000000 --- a/kubernetes/spec/models/v1_storage_class_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StorageClass -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StorageClass' do - before do - # run before each test - @instance = Kubernetes::V1StorageClass.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StorageClass' do - it 'should create an instance of V1StorageClass' do - expect(@instance).to be_instance_of(Kubernetes::V1StorageClass) - end - end - describe 'test attribute "allow_volume_expansion"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_topologies"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mount_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "parameters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "provisioner"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reclaim_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_binding_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb b/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb deleted file mode 100644 index cde5d17e..00000000 --- a/kubernetes/spec/models/v1_storage_os_persistent_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StorageOSPersistentVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StorageOSPersistentVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1StorageOSPersistentVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StorageOSPersistentVolumeSource' do - it 'should create an instance of V1StorageOSPersistentVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1StorageOSPersistentVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb b/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb deleted file mode 100644 index e1414e27..00000000 --- a/kubernetes/spec/models/v1_storage_os_volume_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1StorageOSVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1StorageOSVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1StorageOSVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1StorageOSVolumeSource' do - it 'should create an instance of V1StorageOSVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1StorageOSVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_subject_access_review_spec.rb b/kubernetes/spec/models/v1_subject_access_review_spec.rb deleted file mode 100644 index 82b23a51..00000000 --- a/kubernetes/spec/models/v1_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1SubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SubjectAccessReview' do - it 'should create an instance of V1SubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1SubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb deleted file mode 100644 index ce0522f2..00000000 --- a/kubernetes/spec/models/v1_subject_access_review_spec_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SubjectAccessReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SubjectAccessReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1SubjectAccessReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SubjectAccessReviewSpec' do - it 'should create an instance of V1SubjectAccessReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1SubjectAccessReviewSpec) - end - end - describe 'test attribute "extra"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_subject_access_review_status_spec.rb b/kubernetes/spec/models/v1_subject_access_review_status_spec.rb deleted file mode 100644 index 49f00344..00000000 --- a/kubernetes/spec/models/v1_subject_access_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SubjectAccessReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SubjectAccessReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1SubjectAccessReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SubjectAccessReviewStatus' do - it 'should create an instance of V1SubjectAccessReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1SubjectAccessReviewStatus) - end - end - describe 'test attribute "allowed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "denied"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "evaluation_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb b/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb deleted file mode 100644 index bab6ad9c..00000000 --- a/kubernetes/spec/models/v1_subject_rules_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1SubjectRulesReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1SubjectRulesReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1SubjectRulesReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1SubjectRulesReviewStatus' do - it 'should create an instance of V1SubjectRulesReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1SubjectRulesReviewStatus) - end - end - describe 'test attribute "evaluation_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "incomplete"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_subject_spec.rb b/kubernetes/spec/models/v1_subject_spec.rb deleted file mode 100644 index 3ccc2260..00000000 --- a/kubernetes/spec/models/v1_subject_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Subject -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Subject' do - before do - # run before each test - @instance = Kubernetes::V1Subject.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Subject' do - it 'should create an instance of V1Subject' do - expect(@instance).to be_instance_of(Kubernetes::V1Subject) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_sysctl_spec.rb b/kubernetes/spec/models/v1_sysctl_spec.rb deleted file mode 100644 index c67a5e86..00000000 --- a/kubernetes/spec/models/v1_sysctl_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Sysctl -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Sysctl' do - before do - # run before each test - @instance = Kubernetes::V1Sysctl.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Sysctl' do - it 'should create an instance of V1Sysctl' do - expect(@instance).to be_instance_of(Kubernetes::V1Sysctl) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_taint_spec.rb b/kubernetes/spec/models/v1_taint_spec.rb deleted file mode 100644 index 207fd089..00000000 --- a/kubernetes/spec/models/v1_taint_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Taint -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Taint' do - before do - # run before each test - @instance = Kubernetes::V1Taint.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Taint' do - it 'should create an instance of V1Taint' do - expect(@instance).to be_instance_of(Kubernetes::V1Taint) - end - end - describe 'test attribute "effect"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time_added"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_tcp_socket_action_spec.rb b/kubernetes/spec/models/v1_tcp_socket_action_spec.rb deleted file mode 100644 index dc0dbb40..00000000 --- a/kubernetes/spec/models/v1_tcp_socket_action_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TCPSocketAction -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TCPSocketAction' do - before do - # run before each test - @instance = Kubernetes::V1TCPSocketAction.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TCPSocketAction' do - it 'should create an instance of V1TCPSocketAction' do - expect(@instance).to be_instance_of(Kubernetes::V1TCPSocketAction) - end - end - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_token_review_spec.rb b/kubernetes/spec/models/v1_token_review_spec.rb deleted file mode 100644 index c168659f..00000000 --- a/kubernetes/spec/models/v1_token_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TokenReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TokenReview' do - before do - # run before each test - @instance = Kubernetes::V1TokenReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TokenReview' do - it 'should create an instance of V1TokenReview' do - expect(@instance).to be_instance_of(Kubernetes::V1TokenReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_token_review_spec_spec.rb b/kubernetes/spec/models/v1_token_review_spec_spec.rb deleted file mode 100644 index 77f3113b..00000000 --- a/kubernetes/spec/models/v1_token_review_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TokenReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TokenReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1TokenReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TokenReviewSpec' do - it 'should create an instance of V1TokenReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1TokenReviewSpec) - end - end - describe 'test attribute "audiences"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "token"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_token_review_status_spec.rb b/kubernetes/spec/models/v1_token_review_status_spec.rb deleted file mode 100644 index 490d88aa..00000000 --- a/kubernetes/spec/models/v1_token_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TokenReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TokenReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1TokenReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TokenReviewStatus' do - it 'should create an instance of V1TokenReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1TokenReviewStatus) - end - end - describe 'test attribute "audiences"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "authenticated"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_toleration_spec.rb b/kubernetes/spec/models/v1_toleration_spec.rb deleted file mode 100644 index 5f1ba38b..00000000 --- a/kubernetes/spec/models/v1_toleration_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Toleration -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Toleration' do - before do - # run before each test - @instance = Kubernetes::V1Toleration.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Toleration' do - it 'should create an instance of V1Toleration' do - expect(@instance).to be_instance_of(Kubernetes::V1Toleration) - end - end - describe 'test attribute "effect"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operator"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "toleration_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb b/kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb deleted file mode 100644 index 41e40fad..00000000 --- a/kubernetes/spec/models/v1_topology_selector_label_requirement_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TopologySelectorLabelRequirement -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TopologySelectorLabelRequirement' do - before do - # run before each test - @instance = Kubernetes::V1TopologySelectorLabelRequirement.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TopologySelectorLabelRequirement' do - it 'should create an instance of V1TopologySelectorLabelRequirement' do - expect(@instance).to be_instance_of(Kubernetes::V1TopologySelectorLabelRequirement) - end - end - describe 'test attribute "key"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "values"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_topology_selector_term_spec.rb b/kubernetes/spec/models/v1_topology_selector_term_spec.rb deleted file mode 100644 index 1d4d21e9..00000000 --- a/kubernetes/spec/models/v1_topology_selector_term_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TopologySelectorTerm -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TopologySelectorTerm' do - before do - # run before each test - @instance = Kubernetes::V1TopologySelectorTerm.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TopologySelectorTerm' do - it 'should create an instance of V1TopologySelectorTerm' do - expect(@instance).to be_instance_of(Kubernetes::V1TopologySelectorTerm) - end - end - describe 'test attribute "match_label_expressions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb b/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb deleted file mode 100644 index 20543b31..00000000 --- a/kubernetes/spec/models/v1_typed_local_object_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1TypedLocalObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1TypedLocalObjectReference' do - before do - # run before each test - @instance = Kubernetes::V1TypedLocalObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1TypedLocalObjectReference' do - it 'should create an instance of V1TypedLocalObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V1TypedLocalObjectReference) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_user_info_spec.rb b/kubernetes/spec/models/v1_user_info_spec.rb deleted file mode 100644 index 4a4830da..00000000 --- a/kubernetes/spec/models/v1_user_info_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1UserInfo -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1UserInfo' do - before do - # run before each test - @instance = Kubernetes::V1UserInfo.new - end - - after do - # run after each test - end - - describe 'test an instance of V1UserInfo' do - it 'should create an instance of V1UserInfo' do - expect(@instance).to be_instance_of(Kubernetes::V1UserInfo) - end - end - describe 'test attribute "extra"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "username"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_attachment_list_spec.rb b/kubernetes/spec/models/v1_volume_attachment_list_spec.rb deleted file mode 100644 index 55757c8c..00000000 --- a/kubernetes/spec/models/v1_volume_attachment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeAttachmentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeAttachmentList' do - before do - # run before each test - @instance = Kubernetes::V1VolumeAttachmentList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeAttachmentList' do - it 'should create an instance of V1VolumeAttachmentList' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1_volume_attachment_source_spec.rb deleted file mode 100644 index 6a884089..00000000 --- a/kubernetes/spec/models/v1_volume_attachment_source_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeAttachmentSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeAttachmentSource' do - before do - # run before each test - @instance = Kubernetes::V1VolumeAttachmentSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeAttachmentSource' do - it 'should create an instance of V1VolumeAttachmentSource' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentSource) - end - end - describe 'test attribute "persistent_volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_attachment_spec.rb b/kubernetes/spec/models/v1_volume_attachment_spec.rb deleted file mode 100644 index e2e3bd60..00000000 --- a/kubernetes/spec/models/v1_volume_attachment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeAttachment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeAttachment' do - before do - # run before each test - @instance = Kubernetes::V1VolumeAttachment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeAttachment' do - it 'should create an instance of V1VolumeAttachment' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb deleted file mode 100644 index 493b256f..00000000 --- a/kubernetes/spec/models/v1_volume_attachment_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeAttachmentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeAttachmentSpec' do - before do - # run before each test - @instance = Kubernetes::V1VolumeAttachmentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeAttachmentSpec' do - it 'should create an instance of V1VolumeAttachmentSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentSpec) - end - end - describe 'test attribute "attacher"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_attachment_status_spec.rb b/kubernetes/spec/models/v1_volume_attachment_status_spec.rb deleted file mode 100644 index 20104a9c..00000000 --- a/kubernetes/spec/models/v1_volume_attachment_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeAttachmentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeAttachmentStatus' do - before do - # run before each test - @instance = Kubernetes::V1VolumeAttachmentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeAttachmentStatus' do - it 'should create an instance of V1VolumeAttachmentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeAttachmentStatus) - end - end - describe 'test attribute "attach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attached"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attachment_metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "detach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_device_spec.rb b/kubernetes/spec/models/v1_volume_device_spec.rb deleted file mode 100644 index e72208a7..00000000 --- a/kubernetes/spec/models/v1_volume_device_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeDevice -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeDevice' do - before do - # run before each test - @instance = Kubernetes::V1VolumeDevice.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeDevice' do - it 'should create an instance of V1VolumeDevice' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeDevice) - end - end - describe 'test attribute "device_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_error_spec.rb b/kubernetes/spec/models/v1_volume_error_spec.rb deleted file mode 100644 index b008c98a..00000000 --- a/kubernetes/spec/models/v1_volume_error_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeError -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeError' do - before do - # run before each test - @instance = Kubernetes::V1VolumeError.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeError' do - it 'should create an instance of V1VolumeError' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeError) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_mount_spec.rb b/kubernetes/spec/models/v1_volume_mount_spec.rb deleted file mode 100644 index 2ccb3c53..00000000 --- a/kubernetes/spec/models/v1_volume_mount_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeMount -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeMount' do - before do - # run before each test - @instance = Kubernetes::V1VolumeMount.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeMount' do - it 'should create an instance of V1VolumeMount' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeMount) - end - end - describe 'test attribute "mount_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mount_propagation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "read_only"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "sub_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_node_affinity_spec.rb b/kubernetes/spec/models/v1_volume_node_affinity_spec.rb deleted file mode 100644 index 8a98597d..00000000 --- a/kubernetes/spec/models/v1_volume_node_affinity_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeNodeAffinity -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeNodeAffinity' do - before do - # run before each test - @instance = Kubernetes::V1VolumeNodeAffinity.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeNodeAffinity' do - it 'should create an instance of V1VolumeNodeAffinity' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeNodeAffinity) - end - end - describe 'test attribute "required"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_projection_spec.rb b/kubernetes/spec/models/v1_volume_projection_spec.rb deleted file mode 100644 index fc47a7e6..00000000 --- a/kubernetes/spec/models/v1_volume_projection_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VolumeProjection -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VolumeProjection' do - before do - # run before each test - @instance = Kubernetes::V1VolumeProjection.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VolumeProjection' do - it 'should create an instance of V1VolumeProjection' do - expect(@instance).to be_instance_of(Kubernetes::V1VolumeProjection) - end - end - describe 'test attribute "config_map"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "downward_api"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_account_token"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_volume_spec.rb b/kubernetes/spec/models/v1_volume_spec.rb deleted file mode 100644 index 4be5c59c..00000000 --- a/kubernetes/spec/models/v1_volume_spec.rb +++ /dev/null @@ -1,204 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1Volume -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1Volume' do - before do - # run before each test - @instance = Kubernetes::V1Volume.new - end - - after do - # run after each test - end - - describe 'test an instance of V1Volume' do - it 'should create an instance of V1Volume' do - expect(@instance).to be_instance_of(Kubernetes::V1Volume) - end - end - describe 'test attribute "aws_elastic_block_store"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "azure_file"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cephfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "cinder"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "config_map"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "downward_api"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "empty_dir"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fc"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "flex_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "flocker"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "gce_persistent_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "git_repo"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "glusterfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "host_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "iscsi"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "nfs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "persistent_volume_claim"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "photon_persistent_disk"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "portworx_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "projected"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "quobyte"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rbd"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_io"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storageos"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "vsphere_volume"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb b/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb deleted file mode 100644 index acb8a1ab..00000000 --- a/kubernetes/spec/models/v1_vsphere_virtual_disk_volume_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1VsphereVirtualDiskVolumeSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1VsphereVirtualDiskVolumeSource' do - before do - # run before each test - @instance = Kubernetes::V1VsphereVirtualDiskVolumeSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1VsphereVirtualDiskVolumeSource' do - it 'should create an instance of V1VsphereVirtualDiskVolumeSource' do - expect(@instance).to be_instance_of(Kubernetes::V1VsphereVirtualDiskVolumeSource) - end - end - describe 'test attribute "fs_type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_policy_id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage_policy_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_watch_event_spec.rb b/kubernetes/spec/models/v1_watch_event_spec.rb deleted file mode 100644 index 2f646780..00000000 --- a/kubernetes/spec/models/v1_watch_event_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1WatchEvent -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1WatchEvent' do - before do - # run before each test - @instance = Kubernetes::V1WatchEvent.new - end - - after do - # run after each test - end - - describe 'test an instance of V1WatchEvent' do - it 'should create an instance of V1WatchEvent' do - expect(@instance).to be_instance_of(Kubernetes::V1WatchEvent) - end - end - describe 'test attribute "object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb b/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb deleted file mode 100644 index 126ff924..00000000 --- a/kubernetes/spec/models/v1_weighted_pod_affinity_term_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1WeightedPodAffinityTerm -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1WeightedPodAffinityTerm' do - before do - # run before each test - @instance = Kubernetes::V1WeightedPodAffinityTerm.new - end - - after do - # run after each test - end - - describe 'test an instance of V1WeightedPodAffinityTerm' do - it 'should create an instance of V1WeightedPodAffinityTerm' do - expect(@instance).to be_instance_of(Kubernetes::V1WeightedPodAffinityTerm) - end - end - describe 'test attribute "pod_affinity_term"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "weight"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb b/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb deleted file mode 100644 index 51ecdf4d..00000000 --- a/kubernetes/spec/models/v1alpha1_aggregation_rule_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1AggregationRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1AggregationRule' do - before do - # run before each test - @instance = Kubernetes::V1alpha1AggregationRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1AggregationRule' do - it 'should create an instance of V1alpha1AggregationRule' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1AggregationRule) - end - end - describe 'test attribute "cluster_role_selectors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb deleted file mode 100644 index c597d34f..00000000 --- a/kubernetes/spec/models/v1alpha1_audit_sink_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1AuditSinkList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1AuditSinkList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1AuditSinkList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1AuditSinkList' do - it 'should create an instance of V1alpha1AuditSinkList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSinkList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_audit_sink_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_spec.rb deleted file mode 100644 index 7a8222ac..00000000 --- a/kubernetes/spec/models/v1alpha1_audit_sink_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1AuditSink -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1AuditSink' do - before do - # run before each test - @instance = Kubernetes::V1alpha1AuditSink.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1AuditSink' do - it 'should create an instance of V1alpha1AuditSink' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSink) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb b/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb deleted file mode 100644 index c220d8f3..00000000 --- a/kubernetes/spec/models/v1alpha1_audit_sink_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1AuditSinkSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1AuditSinkSpec' do - before do - # run before each test - @instance = Kubernetes::V1alpha1AuditSinkSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1AuditSinkSpec' do - it 'should create an instance of V1alpha1AuditSinkSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1AuditSinkSpec) - end - end - describe 'test attribute "policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "webhook"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb deleted file mode 100644 index d30c311b..00000000 --- a/kubernetes/spec/models/v1alpha1_cluster_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1ClusterRoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1ClusterRoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1ClusterRoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1ClusterRoleBindingList' do - it 'should create an instance of V1alpha1ClusterRoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ClusterRoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb deleted file mode 100644 index 6ed9d8fc..00000000 --- a/kubernetes/spec/models/v1alpha1_cluster_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1ClusterRoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1ClusterRoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1alpha1ClusterRoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1ClusterRoleBinding' do - it 'should create an instance of V1alpha1ClusterRoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ClusterRoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb deleted file mode 100644 index 880a2000..00000000 --- a/kubernetes/spec/models/v1alpha1_cluster_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1ClusterRoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1ClusterRoleList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1ClusterRoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1ClusterRoleList' do - it 'should create an instance of V1alpha1ClusterRoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ClusterRoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb b/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb deleted file mode 100644 index 98981b34..00000000 --- a/kubernetes/spec/models/v1alpha1_cluster_role_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1ClusterRole -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1ClusterRole' do - before do - # run before each test - @instance = Kubernetes::V1alpha1ClusterRole.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1ClusterRole' do - it 'should create an instance of V1alpha1ClusterRole' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ClusterRole) - end - end - describe 'test attribute "aggregation_rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb deleted file mode 100644 index 7dfc963c..00000000 --- a/kubernetes/spec/models/v1alpha1_initializer_configuration_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1InitializerConfigurationList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1InitializerConfigurationList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1InitializerConfigurationList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1InitializerConfigurationList' do - it 'should create an instance of V1alpha1InitializerConfigurationList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1InitializerConfigurationList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb deleted file mode 100644 index 117aef3b..00000000 --- a/kubernetes/spec/models/v1alpha1_initializer_configuration_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1InitializerConfiguration -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1InitializerConfiguration' do - before do - # run before each test - @instance = Kubernetes::V1alpha1InitializerConfiguration.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1InitializerConfiguration' do - it 'should create an instance of V1alpha1InitializerConfiguration' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1InitializerConfiguration) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "initializers"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_initializer_spec.rb b/kubernetes/spec/models/v1alpha1_initializer_spec.rb deleted file mode 100644 index aff0e0bf..00000000 --- a/kubernetes/spec/models/v1alpha1_initializer_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Initializer -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Initializer' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Initializer.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Initializer' do - it 'should create an instance of V1alpha1Initializer' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Initializer) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb deleted file mode 100644 index de742b6a..00000000 --- a/kubernetes/spec/models/v1alpha1_pod_preset_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PodPresetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PodPresetList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PodPresetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PodPresetList' do - it 'should create an instance of V1alpha1PodPresetList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PodPresetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb deleted file mode 100644 index 4baf80ed..00000000 --- a/kubernetes/spec/models/v1alpha1_pod_preset_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PodPreset -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PodPreset' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PodPreset.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PodPreset' do - it 'should create an instance of V1alpha1PodPreset' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PodPreset) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb b/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb deleted file mode 100644 index f264df3c..00000000 --- a/kubernetes/spec/models/v1alpha1_pod_preset_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PodPresetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PodPresetSpec' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PodPresetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PodPresetSpec' do - it 'should create an instance of V1alpha1PodPresetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PodPresetSpec) - end - end - describe 'test attribute "env"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "env_from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_mounts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volumes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb b/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb deleted file mode 100644 index 57e78dbc..00000000 --- a/kubernetes/spec/models/v1alpha1_policy_rule_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PolicyRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PolicyRule' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PolicyRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PolicyRule' do - it 'should create an instance of V1alpha1PolicyRule' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PolicyRule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_ur_ls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_policy_spec.rb b/kubernetes/spec/models/v1alpha1_policy_spec.rb deleted file mode 100644 index b7085b85..00000000 --- a/kubernetes/spec/models/v1alpha1_policy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Policy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Policy' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Policy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Policy' do - it 'should create an instance of V1alpha1Policy' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Policy) - end - end - describe 'test attribute "level"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "stages"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb b/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb deleted file mode 100644 index e24c19cb..00000000 --- a/kubernetes/spec/models/v1alpha1_priority_class_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PriorityClassList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PriorityClassList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PriorityClassList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PriorityClassList' do - it 'should create an instance of V1alpha1PriorityClassList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PriorityClassList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_priority_class_spec.rb b/kubernetes/spec/models/v1alpha1_priority_class_spec.rb deleted file mode 100644 index 205027c1..00000000 --- a/kubernetes/spec/models/v1alpha1_priority_class_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1PriorityClass -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1PriorityClass' do - before do - # run before each test - @instance = Kubernetes::V1alpha1PriorityClass.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1PriorityClass' do - it 'should create an instance of V1alpha1PriorityClass' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1PriorityClass) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "global_default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb b/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb deleted file mode 100644 index fef71040..00000000 --- a/kubernetes/spec/models/v1alpha1_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1RoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1RoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1RoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1RoleBindingList' do - it 'should create an instance of V1alpha1RoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1RoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_role_binding_spec.rb b/kubernetes/spec/models/v1alpha1_role_binding_spec.rb deleted file mode 100644 index 5d67cf86..00000000 --- a/kubernetes/spec/models/v1alpha1_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1RoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1RoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1alpha1RoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1RoleBinding' do - it 'should create an instance of V1alpha1RoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1RoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_role_list_spec.rb b/kubernetes/spec/models/v1alpha1_role_list_spec.rb deleted file mode 100644 index 05020c46..00000000 --- a/kubernetes/spec/models/v1alpha1_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1RoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1RoleList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1RoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1RoleList' do - it 'should create an instance of V1alpha1RoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1RoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_role_ref_spec.rb b/kubernetes/spec/models/v1alpha1_role_ref_spec.rb deleted file mode 100644 index 435a1527..00000000 --- a/kubernetes/spec/models/v1alpha1_role_ref_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1RoleRef -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1RoleRef' do - before do - # run before each test - @instance = Kubernetes::V1alpha1RoleRef.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1RoleRef' do - it 'should create an instance of V1alpha1RoleRef' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1RoleRef) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_role_spec.rb b/kubernetes/spec/models/v1alpha1_role_spec.rb deleted file mode 100644 index 9b850906..00000000 --- a/kubernetes/spec/models/v1alpha1_role_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Role -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Role' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Role.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Role' do - it 'should create an instance of V1alpha1Role' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Role) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_rule_spec.rb b/kubernetes/spec/models/v1alpha1_rule_spec.rb deleted file mode 100644 index 90995e3e..00000000 --- a/kubernetes/spec/models/v1alpha1_rule_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Rule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Rule' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Rule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Rule' do - it 'should create an instance of V1alpha1Rule' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Rule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_service_reference_spec.rb b/kubernetes/spec/models/v1alpha1_service_reference_spec.rb deleted file mode 100644 index 506a9df8..00000000 --- a/kubernetes/spec/models/v1alpha1_service_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1ServiceReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1ServiceReference' do - before do - # run before each test - @instance = Kubernetes::V1alpha1ServiceReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1ServiceReference' do - it 'should create an instance of V1alpha1ServiceReference' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1ServiceReference) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_subject_spec.rb b/kubernetes/spec/models/v1alpha1_subject_spec.rb deleted file mode 100644 index 88483ba7..00000000 --- a/kubernetes/spec/models/v1alpha1_subject_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Subject -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Subject' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Subject.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Subject' do - it 'should create an instance of V1alpha1Subject' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Subject) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb deleted file mode 100644 index b4fc199a..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_attachment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeAttachmentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeAttachmentList' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeAttachmentList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeAttachmentList' do - it 'should create an instance of V1alpha1VolumeAttachmentList' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb deleted file mode 100644 index e13cf5ba..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_attachment_source_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeAttachmentSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeAttachmentSource' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeAttachmentSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeAttachmentSource' do - it 'should create an instance of V1alpha1VolumeAttachmentSource' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentSource) - end - end - describe 'test attribute "persistent_volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb deleted file mode 100644 index 324dc641..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_attachment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeAttachment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeAttachment' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeAttachment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeAttachment' do - it 'should create an instance of V1alpha1VolumeAttachment' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb deleted file mode 100644 index 736fffb7..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_attachment_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeAttachmentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeAttachmentSpec' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeAttachmentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeAttachmentSpec' do - it 'should create an instance of V1alpha1VolumeAttachmentSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentSpec) - end - end - describe 'test attribute "attacher"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb b/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb deleted file mode 100644 index 3db95785..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_attachment_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeAttachmentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeAttachmentStatus' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeAttachmentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeAttachmentStatus' do - it 'should create an instance of V1alpha1VolumeAttachmentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeAttachmentStatus) - end - end - describe 'test attribute "attach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attached"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attachment_metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "detach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_volume_error_spec.rb b/kubernetes/spec/models/v1alpha1_volume_error_spec.rb deleted file mode 100644 index 9872cf6a..00000000 --- a/kubernetes/spec/models/v1alpha1_volume_error_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1VolumeError -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1VolumeError' do - before do - # run before each test - @instance = Kubernetes::V1alpha1VolumeError.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1VolumeError' do - it 'should create an instance of V1alpha1VolumeError' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1VolumeError) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb deleted file mode 100644 index 36e3361c..00000000 --- a/kubernetes/spec/models/v1alpha1_webhook_client_config_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1WebhookClientConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1WebhookClientConfig' do - before do - # run before each test - @instance = Kubernetes::V1alpha1WebhookClientConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1WebhookClientConfig' do - it 'should create an instance of V1alpha1WebhookClientConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1WebhookClientConfig) - end - end - describe 'test attribute "ca_bundle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_webhook_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_spec.rb deleted file mode 100644 index 54b3d86d..00000000 --- a/kubernetes/spec/models/v1alpha1_webhook_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1Webhook -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1Webhook' do - before do - # run before each test - @instance = Kubernetes::V1alpha1Webhook.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1Webhook' do - it 'should create an instance of V1alpha1Webhook' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1Webhook) - end - end - describe 'test attribute "client_config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "throttle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb b/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb deleted file mode 100644 index 9677b22a..00000000 --- a/kubernetes/spec/models/v1alpha1_webhook_throttle_config_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1alpha1WebhookThrottleConfig -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1alpha1WebhookThrottleConfig' do - before do - # run before each test - @instance = Kubernetes::V1alpha1WebhookThrottleConfig.new - end - - after do - # run after each test - end - - describe 'test an instance of V1alpha1WebhookThrottleConfig' do - it 'should create an instance of V1alpha1WebhookThrottleConfig' do - expect(@instance).to be_instance_of(Kubernetes::V1alpha1WebhookThrottleConfig) - end - end - describe 'test attribute "burst"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "qps"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb b/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb deleted file mode 100644 index 66112d29..00000000 --- a/kubernetes/spec/models/v1beta1_aggregation_rule_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1AggregationRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1AggregationRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1AggregationRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1AggregationRule' do - it 'should create an instance of V1beta1AggregationRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1AggregationRule) - end - end - describe 'test attribute "cluster_role_selectors"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb b/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb deleted file mode 100644 index 128be9e2..00000000 --- a/kubernetes/spec/models/v1beta1_api_service_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1APIServiceCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1APIServiceCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1APIServiceCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1APIServiceCondition' do - it 'should create an instance of V1beta1APIServiceCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1APIServiceCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_api_service_list_spec.rb b/kubernetes/spec/models/v1beta1_api_service_list_spec.rb deleted file mode 100644 index 0f1768c8..00000000 --- a/kubernetes/spec/models/v1beta1_api_service_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1APIServiceList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1APIServiceList' do - before do - # run before each test - @instance = Kubernetes::V1beta1APIServiceList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1APIServiceList' do - it 'should create an instance of V1beta1APIServiceList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1APIServiceList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_api_service_spec.rb b/kubernetes/spec/models/v1beta1_api_service_spec.rb deleted file mode 100644 index 3ebae515..00000000 --- a/kubernetes/spec/models/v1beta1_api_service_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1APIService -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1APIService' do - before do - # run before each test - @instance = Kubernetes::V1beta1APIService.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1APIService' do - it 'should create an instance of V1beta1APIService' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1APIService) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb b/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb deleted file mode 100644 index 97400daa..00000000 --- a/kubernetes/spec/models/v1beta1_api_service_spec_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1APIServiceSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1APIServiceSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1APIServiceSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1APIServiceSpec' do - it 'should create an instance of V1beta1APIServiceSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1APIServiceSpec) - end - end - describe 'test attribute "ca_bundle"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group_priority_minimum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "insecure_skip_tls_verify"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version_priority"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_api_service_status_spec.rb b/kubernetes/spec/models/v1beta1_api_service_status_spec.rb deleted file mode 100644 index 0ed81766..00000000 --- a/kubernetes/spec/models/v1beta1_api_service_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1APIServiceStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1APIServiceStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1APIServiceStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1APIServiceStatus' do - it 'should create an instance of V1beta1APIServiceStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1APIServiceStatus) - end - end - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb deleted file mode 100644 index f2848123..00000000 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_condition_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CertificateSigningRequestCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CertificateSigningRequestCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1CertificateSigningRequestCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CertificateSigningRequestCondition' do - it 'should create an instance of V1beta1CertificateSigningRequestCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CertificateSigningRequestCondition) - end - end - describe 'test attribute "last_update_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb deleted file mode 100644 index 51cc7ad7..00000000 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CertificateSigningRequestList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CertificateSigningRequestList' do - before do - # run before each test - @instance = Kubernetes::V1beta1CertificateSigningRequestList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CertificateSigningRequestList' do - it 'should create an instance of V1beta1CertificateSigningRequestList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CertificateSigningRequestList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb deleted file mode 100644 index 78327e73..00000000 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CertificateSigningRequest -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CertificateSigningRequest' do - before do - # run before each test - @instance = Kubernetes::V1beta1CertificateSigningRequest.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CertificateSigningRequest' do - it 'should create an instance of V1beta1CertificateSigningRequest' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CertificateSigningRequest) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb deleted file mode 100644 index b1e8c397..00000000 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_spec_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CertificateSigningRequestSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CertificateSigningRequestSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1CertificateSigningRequestSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CertificateSigningRequestSpec' do - it 'should create an instance of V1beta1CertificateSigningRequestSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CertificateSigningRequestSpec) - end - end - describe 'test attribute "extra"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "request"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "usages"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "username"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb b/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb deleted file mode 100644 index 45ed3a81..00000000 --- a/kubernetes/spec/models/v1beta1_certificate_signing_request_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CertificateSigningRequestStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CertificateSigningRequestStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1CertificateSigningRequestStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CertificateSigningRequestStatus' do - it 'should create an instance of V1beta1CertificateSigningRequestStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CertificateSigningRequestStatus) - end - end - describe 'test attribute "certificate"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb deleted file mode 100644 index 0ae5c574..00000000 --- a/kubernetes/spec/models/v1beta1_cluster_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ClusterRoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ClusterRoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1beta1ClusterRoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ClusterRoleBindingList' do - it 'should create an instance of V1beta1ClusterRoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ClusterRoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb deleted file mode 100644 index 418c7631..00000000 --- a/kubernetes/spec/models/v1beta1_cluster_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ClusterRoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ClusterRoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1beta1ClusterRoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ClusterRoleBinding' do - it 'should create an instance of V1beta1ClusterRoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ClusterRoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb deleted file mode 100644 index be7419c4..00000000 --- a/kubernetes/spec/models/v1beta1_cluster_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ClusterRoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ClusterRoleList' do - before do - # run before each test - @instance = Kubernetes::V1beta1ClusterRoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ClusterRoleList' do - it 'should create an instance of V1beta1ClusterRoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ClusterRoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cluster_role_spec.rb b/kubernetes/spec/models/v1beta1_cluster_role_spec.rb deleted file mode 100644 index ea8b53ea..00000000 --- a/kubernetes/spec/models/v1beta1_cluster_role_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ClusterRole -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ClusterRole' do - before do - # run before each test - @instance = Kubernetes::V1beta1ClusterRole.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ClusterRole' do - it 'should create an instance of V1beta1ClusterRole' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ClusterRole) - end - end - describe 'test attribute "aggregation_rule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb b/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb deleted file mode 100644 index 7f0870c7..00000000 --- a/kubernetes/spec/models/v1beta1_controller_revision_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ControllerRevisionList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ControllerRevisionList' do - before do - # run before each test - @instance = Kubernetes::V1beta1ControllerRevisionList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ControllerRevisionList' do - it 'should create an instance of V1beta1ControllerRevisionList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ControllerRevisionList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_controller_revision_spec.rb b/kubernetes/spec/models/v1beta1_controller_revision_spec.rb deleted file mode 100644 index c8012486..00000000 --- a/kubernetes/spec/models/v1beta1_controller_revision_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ControllerRevision -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ControllerRevision' do - before do - # run before each test - @instance = Kubernetes::V1beta1ControllerRevision.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ControllerRevision' do - it 'should create an instance of V1beta1ControllerRevision' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ControllerRevision) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb deleted file mode 100644 index 36e1e793..00000000 --- a/kubernetes/spec/models/v1beta1_cron_job_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CronJobList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CronJobList' do - before do - # run before each test - @instance = Kubernetes::V1beta1CronJobList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CronJobList' do - it 'should create an instance of V1beta1CronJobList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CronJobList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cron_job_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_spec.rb deleted file mode 100644 index f84c6b94..00000000 --- a/kubernetes/spec/models/v1beta1_cron_job_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CronJob -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CronJob' do - before do - # run before each test - @instance = Kubernetes::V1beta1CronJob.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CronJob' do - it 'should create an instance of V1beta1CronJob' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CronJob) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb deleted file mode 100644 index 9f2ec4d4..00000000 --- a/kubernetes/spec/models/v1beta1_cron_job_spec_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CronJobSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CronJobSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1CronJobSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CronJobSpec' do - it 'should create an instance of V1beta1CronJobSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CronJobSpec) - end - end - describe 'test attribute "concurrency_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "failed_jobs_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "job_template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "schedule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "starting_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "successful_jobs_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "suspend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb b/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb deleted file mode 100644 index fdf0e9b4..00000000 --- a/kubernetes/spec/models/v1beta1_cron_job_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CronJobStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CronJobStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1CronJobStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CronJobStatus' do - it 'should create an instance of V1beta1CronJobStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CronJobStatus) - end - end - describe 'test attribute "active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_schedule_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb deleted file mode 100644 index 0c099fed..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_column_definition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceColumnDefinition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceColumnDefinition' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceColumnDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceColumnDefinition' do - it 'should create an instance of V1beta1CustomResourceColumnDefinition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceColumnDefinition) - end - end - describe 'test attribute "json_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "priority"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb deleted file mode 100644 index b55c2b1a..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_conversion_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceConversion -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceConversion' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceConversion.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceConversion' do - it 'should create an instance of V1beta1CustomResourceConversion' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceConversion) - end - end - describe 'test attribute "strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "webhook_client_config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb deleted file mode 100644 index 86a1e55a..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionCondition' do - it 'should create an instance of V1beta1CustomResourceDefinitionCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb deleted file mode 100644 index 717faf8b..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionList' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionList' do - it 'should create an instance of V1beta1CustomResourceDefinitionList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb deleted file mode 100644 index 66d79f41..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_names_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionNames -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionNames' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionNames.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionNames' do - it 'should create an instance of V1beta1CustomResourceDefinitionNames' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionNames) - end - end - describe 'test attribute "categories"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "list_kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "plural"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "short_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "singular"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb deleted file mode 100644 index 273d560c..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinition' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinition' do - it 'should create an instance of V1beta1CustomResourceDefinition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinition) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb deleted file mode 100644 index 67365bce..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_spec_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionSpec' do - it 'should create an instance of V1beta1CustomResourceDefinitionSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionSpec) - end - end - describe 'test attribute "additional_printer_columns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conversion"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scope"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subresources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "validation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb deleted file mode 100644 index d77cca20..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionStatus' do - it 'should create an instance of V1beta1CustomResourceDefinitionStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionStatus) - end - end - describe 'test attribute "accepted_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "stored_versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb deleted file mode 100644 index 1ac9c885..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_definition_version_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceDefinitionVersion -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceDefinitionVersion' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceDefinitionVersion.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceDefinitionVersion' do - it 'should create an instance of V1beta1CustomResourceDefinitionVersion' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceDefinitionVersion) - end - end - describe 'test attribute "additional_printer_columns"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "schema"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "served"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "storage"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subresources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb deleted file mode 100644 index 8291d2dc..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_subresource_scale_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceSubresourceScale -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceSubresourceScale' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceSubresourceScale.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceSubresourceScale' do - it 'should create an instance of V1beta1CustomResourceSubresourceScale' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceSubresourceScale) - end - end - describe 'test attribute "label_selector_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec_replicas_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status_replicas_path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb deleted file mode 100644 index fe6f51ba..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_subresources_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceSubresources -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceSubresources' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceSubresources.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceSubresources' do - it 'should create an instance of V1beta1CustomResourceSubresources' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceSubresources) - end - end - describe 'test attribute "scale"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb b/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb deleted file mode 100644 index c0252d0b..00000000 --- a/kubernetes/spec/models/v1beta1_custom_resource_validation_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1CustomResourceValidation -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1CustomResourceValidation' do - before do - # run before each test - @instance = Kubernetes::V1beta1CustomResourceValidation.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1CustomResourceValidation' do - it 'should create an instance of V1beta1CustomResourceValidation' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1CustomResourceValidation) - end - end - describe 'test attribute "open_apiv3_schema"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb deleted file mode 100644 index b610d729..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSetCondition' do - it 'should create an instance of V1beta1DaemonSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb deleted file mode 100644 index b9d0bed7..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSetList' do - it 'should create an instance of V1beta1DaemonSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_spec.rb deleted file mode 100644 index 103141cd..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSet' do - it 'should create an instance of V1beta1DaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb deleted file mode 100644 index 78ff7841..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_spec_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSetSpec' do - it 'should create an instance of V1beta1DaemonSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb deleted file mode 100644 index bcc7bd00..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_status_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSetStatus' do - it 'should create an instance of V1beta1DaemonSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_available"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_misscheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_ready"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb deleted file mode 100644 index 1ed1b60a..00000000 --- a/kubernetes/spec/models/v1beta1_daemon_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1DaemonSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1DaemonSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta1DaemonSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1DaemonSetUpdateStrategy' do - it 'should create an instance of V1beta1DaemonSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1DaemonSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_event_list_spec.rb b/kubernetes/spec/models/v1beta1_event_list_spec.rb deleted file mode 100644 index 1d02b886..00000000 --- a/kubernetes/spec/models/v1beta1_event_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1EventList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1EventList' do - before do - # run before each test - @instance = Kubernetes::V1beta1EventList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1EventList' do - it 'should create an instance of V1beta1EventList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1EventList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_event_series_spec.rb b/kubernetes/spec/models/v1beta1_event_series_spec.rb deleted file mode 100644 index 1409132e..00000000 --- a/kubernetes/spec/models/v1beta1_event_series_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1EventSeries -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1EventSeries' do - before do - # run before each test - @instance = Kubernetes::V1beta1EventSeries.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1EventSeries' do - it 'should create an instance of V1beta1EventSeries' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1EventSeries) - end - end - describe 'test attribute "count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_observed_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_event_spec.rb b/kubernetes/spec/models/v1beta1_event_spec.rb deleted file mode 100644 index ea4262a0..00000000 --- a/kubernetes/spec/models/v1beta1_event_spec.rb +++ /dev/null @@ -1,138 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Event -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Event' do - before do - # run before each test - @instance = Kubernetes::V1beta1Event.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Event' do - it 'should create an instance of V1beta1Event' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Event) - end - end - describe 'test attribute "action"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deprecated_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deprecated_first_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deprecated_last_timestamp"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "deprecated_source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "event_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "note"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "regarding"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "related"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reporting_controller"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reporting_instance"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "series"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_eviction_spec.rb b/kubernetes/spec/models/v1beta1_eviction_spec.rb deleted file mode 100644 index 7af59a34..00000000 --- a/kubernetes/spec/models/v1beta1_eviction_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Eviction -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Eviction' do - before do - # run before each test - @instance = Kubernetes::V1beta1Eviction.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Eviction' do - it 'should create an instance of V1beta1Eviction' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Eviction) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "delete_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_external_documentation_spec.rb b/kubernetes/spec/models/v1beta1_external_documentation_spec.rb deleted file mode 100644 index fc8ae1b6..00000000 --- a/kubernetes/spec/models/v1beta1_external_documentation_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ExternalDocumentation -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ExternalDocumentation' do - before do - # run before each test - @instance = Kubernetes::V1beta1ExternalDocumentation.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ExternalDocumentation' do - it 'should create an instance of V1beta1ExternalDocumentation' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ExternalDocumentation) - end - end - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "url"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb b/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb deleted file mode 100644 index 0dfb3247..00000000 --- a/kubernetes/spec/models/v1beta1_http_ingress_path_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1HTTPIngressPath -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1HTTPIngressPath' do - before do - # run before each test - @instance = Kubernetes::V1beta1HTTPIngressPath.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1HTTPIngressPath' do - it 'should create an instance of V1beta1HTTPIngressPath' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1HTTPIngressPath) - end - end - describe 'test attribute "backend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb b/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb deleted file mode 100644 index 1804cccb..00000000 --- a/kubernetes/spec/models/v1beta1_http_ingress_rule_value_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1HTTPIngressRuleValue -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1HTTPIngressRuleValue' do - before do - # run before each test - @instance = Kubernetes::V1beta1HTTPIngressRuleValue.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1HTTPIngressRuleValue' do - it 'should create an instance of V1beta1HTTPIngressRuleValue' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1HTTPIngressRuleValue) - end - end - describe 'test attribute "paths"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb b/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb deleted file mode 100644 index bbc20fb1..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_backend_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressBackend -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressBackend' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressBackend.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressBackend' do - it 'should create an instance of V1beta1IngressBackend' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressBackend) - end - end - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_list_spec.rb b/kubernetes/spec/models/v1beta1_ingress_list_spec.rb deleted file mode 100644 index 6c34fd3b..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressList' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressList' do - it 'should create an instance of V1beta1IngressList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb b/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb deleted file mode 100644 index 0ad8fb03..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressRule' do - it 'should create an instance of V1beta1IngressRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressRule) - end - end - describe 'test attribute "host"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "http"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_spec.rb b/kubernetes/spec/models/v1beta1_ingress_spec.rb deleted file mode 100644 index 7283418e..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Ingress -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Ingress' do - before do - # run before each test - @instance = Kubernetes::V1beta1Ingress.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Ingress' do - it 'should create an instance of V1beta1Ingress' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Ingress) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb b/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb deleted file mode 100644 index 8a6dd025..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressSpec' do - it 'should create an instance of V1beta1IngressSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressSpec) - end - end - describe 'test attribute "backend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "tls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_status_spec.rb b/kubernetes/spec/models/v1beta1_ingress_status_spec.rb deleted file mode 100644 index 8119224a..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_status_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressStatus' do - it 'should create an instance of V1beta1IngressStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressStatus) - end - end - describe 'test attribute "load_balancer"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb b/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb deleted file mode 100644 index 415e26f9..00000000 --- a/kubernetes/spec/models/v1beta1_ingress_tls_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IngressTLS -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IngressTLS' do - before do - # run before each test - @instance = Kubernetes::V1beta1IngressTLS.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IngressTLS' do - it 'should create an instance of V1beta1IngressTLS' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IngressTLS) - end - end - describe 'test attribute "hosts"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "secret_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_ip_block_spec.rb b/kubernetes/spec/models/v1beta1_ip_block_spec.rb deleted file mode 100644 index 786c9eba..00000000 --- a/kubernetes/spec/models/v1beta1_ip_block_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1IPBlock -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1IPBlock' do - before do - # run before each test - @instance = Kubernetes::V1beta1IPBlock.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1IPBlock' do - it 'should create an instance of V1beta1IPBlock' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1IPBlock) - end - end - describe 'test attribute "cidr"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "except"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb b/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb deleted file mode 100644 index 0f3cb918..00000000 --- a/kubernetes/spec/models/v1beta1_job_template_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1JobTemplateSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1JobTemplateSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1JobTemplateSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1JobTemplateSpec' do - it 'should create an instance of V1beta1JobTemplateSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JobTemplateSpec) - end - end - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb b/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb deleted file mode 100644 index dbf3dcbb..00000000 --- a/kubernetes/spec/models/v1beta1_json_schema_props_spec.rb +++ /dev/null @@ -1,252 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1JSONSchemaProps -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1JSONSchemaProps' do - before do - # run before each test - @instance = Kubernetes::V1beta1JSONSchemaProps.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1JSONSchemaProps' do - it 'should create an instance of V1beta1JSONSchemaProps' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1JSONSchemaProps) - end - end - describe 'test attribute "ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "schema"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "additional_items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "additional_properties"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "all_of"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "any_of"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "definitions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "dependencies"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "enum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "example"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "exclusive_maximum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "exclusive_minimum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "external_docs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "format"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "id"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_length"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_properties"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "maximum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_length"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_properties"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "minimum"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "multiple_of"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "_not"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "one_of"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pattern"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pattern_properties"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "properties"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "required"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "title"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unique_items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_lease_list_spec.rb b/kubernetes/spec/models/v1beta1_lease_list_spec.rb deleted file mode 100644 index 977a5e11..00000000 --- a/kubernetes/spec/models/v1beta1_lease_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1LeaseList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1LeaseList' do - before do - # run before each test - @instance = Kubernetes::V1beta1LeaseList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1LeaseList' do - it 'should create an instance of V1beta1LeaseList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1LeaseList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_lease_spec.rb b/kubernetes/spec/models/v1beta1_lease_spec.rb deleted file mode 100644 index 81b21a99..00000000 --- a/kubernetes/spec/models/v1beta1_lease_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Lease -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Lease' do - before do - # run before each test - @instance = Kubernetes::V1beta1Lease.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Lease' do - it 'should create an instance of V1beta1Lease' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Lease) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_lease_spec_spec.rb b/kubernetes/spec/models/v1beta1_lease_spec_spec.rb deleted file mode 100644 index bcef389d..00000000 --- a/kubernetes/spec/models/v1beta1_lease_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1LeaseSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1LeaseSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1LeaseSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1LeaseSpec' do - it 'should create an instance of V1beta1LeaseSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1LeaseSpec) - end - end - describe 'test attribute "acquire_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "holder_identity"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lease_duration_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "lease_transitions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "renew_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb deleted file mode 100644 index cdafe3b4..00000000 --- a/kubernetes/spec/models/v1beta1_local_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1LocalSubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1LocalSubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1beta1LocalSubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1LocalSubjectAccessReview' do - it 'should create an instance of V1beta1LocalSubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1LocalSubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb deleted file mode 100644 index 59fbbfd1..00000000 --- a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1MutatingWebhookConfigurationList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1MutatingWebhookConfigurationList' do - before do - # run before each test - @instance = Kubernetes::V1beta1MutatingWebhookConfigurationList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1MutatingWebhookConfigurationList' do - it 'should create an instance of V1beta1MutatingWebhookConfigurationList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1MutatingWebhookConfigurationList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb b/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb deleted file mode 100644 index 12d811d9..00000000 --- a/kubernetes/spec/models/v1beta1_mutating_webhook_configuration_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1MutatingWebhookConfiguration -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1MutatingWebhookConfiguration' do - before do - # run before each test - @instance = Kubernetes::V1beta1MutatingWebhookConfiguration.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1MutatingWebhookConfiguration' do - it 'should create an instance of V1beta1MutatingWebhookConfiguration' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1MutatingWebhookConfiguration) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "webhooks"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb deleted file mode 100644 index ec0a0c7c..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_egress_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicyEgressRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicyEgressRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicyEgressRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicyEgressRule' do - it 'should create an instance of V1beta1NetworkPolicyEgressRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicyEgressRule) - end - end - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "to"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb deleted file mode 100644 index 23c824f1..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_ingress_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicyIngressRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicyIngressRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicyIngressRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicyIngressRule' do - it 'should create an instance of V1beta1NetworkPolicyIngressRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicyIngressRule) - end - end - describe 'test attribute "from"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ports"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb deleted file mode 100644 index 24fcefac..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicyList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicyList' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicyList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicyList' do - it 'should create an instance of V1beta1NetworkPolicyList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicyList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb deleted file mode 100644 index da4e54c8..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_peer_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicyPeer -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicyPeer' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicyPeer.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicyPeer' do - it 'should create an instance of V1beta1NetworkPolicyPeer' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicyPeer) - end - end - describe 'test attribute "ip_block"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb deleted file mode 100644 index 7653fc0d..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_port_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicyPort -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicyPort' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicyPort.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicyPort' do - it 'should create an instance of V1beta1NetworkPolicyPort' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicyPort) - end - end - describe 'test attribute "port"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "protocol"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_spec.rb deleted file mode 100644 index 2aa9a484..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicy' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicy' do - it 'should create an instance of V1beta1NetworkPolicy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicy) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb b/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb deleted file mode 100644 index 07e367ae..00000000 --- a/kubernetes/spec/models/v1beta1_network_policy_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NetworkPolicySpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NetworkPolicySpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1NetworkPolicySpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NetworkPolicySpec' do - it 'should create an instance of V1beta1NetworkPolicySpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NetworkPolicySpec) - end - end - describe 'test attribute "egress"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ingress"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pod_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "policy_types"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb b/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb deleted file mode 100644 index 35c85128..00000000 --- a/kubernetes/spec/models/v1beta1_non_resource_attributes_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NonResourceAttributes -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NonResourceAttributes' do - before do - # run before each test - @instance = Kubernetes::V1beta1NonResourceAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NonResourceAttributes' do - it 'should create an instance of V1beta1NonResourceAttributes' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NonResourceAttributes) - end - end - describe 'test attribute "path"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verb"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb b/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb deleted file mode 100644 index 5974a748..00000000 --- a/kubernetes/spec/models/v1beta1_non_resource_rule_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1NonResourceRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1NonResourceRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1NonResourceRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1NonResourceRule' do - it 'should create an instance of V1beta1NonResourceRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1NonResourceRule) - end - end - describe 'test attribute "non_resource_ur_ls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb deleted file mode 100644 index 34349696..00000000 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PodDisruptionBudgetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PodDisruptionBudgetList' do - before do - # run before each test - @instance = Kubernetes::V1beta1PodDisruptionBudgetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PodDisruptionBudgetList' do - it 'should create an instance of V1beta1PodDisruptionBudgetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodDisruptionBudgetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb deleted file mode 100644 index b0d5be9c..00000000 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PodDisruptionBudget -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PodDisruptionBudget' do - before do - # run before each test - @instance = Kubernetes::V1beta1PodDisruptionBudget.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PodDisruptionBudget' do - it 'should create an instance of V1beta1PodDisruptionBudget' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodDisruptionBudget) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb deleted file mode 100644 index 9c2791aa..00000000 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PodDisruptionBudgetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PodDisruptionBudgetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1PodDisruptionBudgetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PodDisruptionBudgetSpec' do - it 'should create an instance of V1beta1PodDisruptionBudgetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodDisruptionBudgetSpec) - end - end - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_available"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb b/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb deleted file mode 100644 index 8aea209d..00000000 --- a/kubernetes/spec/models/v1beta1_pod_disruption_budget_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PodDisruptionBudgetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PodDisruptionBudgetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1PodDisruptionBudgetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PodDisruptionBudgetStatus' do - it 'should create an instance of V1beta1PodDisruptionBudgetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PodDisruptionBudgetStatus) - end - end - describe 'test attribute "current_healthy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_healthy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disrupted_pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "disruptions_allowed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "expected_pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_policy_rule_spec.rb b/kubernetes/spec/models/v1beta1_policy_rule_spec.rb deleted file mode 100644 index 07c2e17c..00000000 --- a/kubernetes/spec/models/v1beta1_policy_rule_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PolicyRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PolicyRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1PolicyRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PolicyRule' do - it 'should create an instance of V1beta1PolicyRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PolicyRule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_ur_ls"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb b/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb deleted file mode 100644 index 0eebaef0..00000000 --- a/kubernetes/spec/models/v1beta1_priority_class_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PriorityClassList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PriorityClassList' do - before do - # run before each test - @instance = Kubernetes::V1beta1PriorityClassList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PriorityClassList' do - it 'should create an instance of V1beta1PriorityClassList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PriorityClassList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_priority_class_spec.rb b/kubernetes/spec/models/v1beta1_priority_class_spec.rb deleted file mode 100644 index db44e270..00000000 --- a/kubernetes/spec/models/v1beta1_priority_class_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1PriorityClass -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1PriorityClass' do - before do - # run before each test - @instance = Kubernetes::V1beta1PriorityClass.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1PriorityClass' do - it 'should create an instance of V1beta1PriorityClass' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1PriorityClass) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "description"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "global_default"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb deleted file mode 100644 index cc7c6500..00000000 --- a/kubernetes/spec/models/v1beta1_replica_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ReplicaSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ReplicaSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1ReplicaSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ReplicaSetCondition' do - it 'should create an instance of V1beta1ReplicaSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ReplicaSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb deleted file mode 100644 index 94539aa2..00000000 --- a/kubernetes/spec/models/v1beta1_replica_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ReplicaSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ReplicaSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta1ReplicaSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ReplicaSetList' do - it 'should create an instance of V1beta1ReplicaSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ReplicaSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_replica_set_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_spec.rb deleted file mode 100644 index be824d5e..00000000 --- a/kubernetes/spec/models/v1beta1_replica_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ReplicaSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ReplicaSet' do - before do - # run before each test - @instance = Kubernetes::V1beta1ReplicaSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ReplicaSet' do - it 'should create an instance of V1beta1ReplicaSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ReplicaSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb deleted file mode 100644 index 75295510..00000000 --- a/kubernetes/spec/models/v1beta1_replica_set_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ReplicaSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ReplicaSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1ReplicaSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ReplicaSetSpec' do - it 'should create an instance of V1beta1ReplicaSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ReplicaSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb b/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb deleted file mode 100644 index d1ec49c6..00000000 --- a/kubernetes/spec/models/v1beta1_replica_set_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ReplicaSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ReplicaSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1ReplicaSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ReplicaSetStatus' do - it 'should create an instance of V1beta1ReplicaSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ReplicaSetStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fully_labeled_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb b/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb deleted file mode 100644 index 68485638..00000000 --- a/kubernetes/spec/models/v1beta1_resource_attributes_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ResourceAttributes -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ResourceAttributes' do - before do - # run before each test - @instance = Kubernetes::V1beta1ResourceAttributes.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ResourceAttributes' do - it 'should create an instance of V1beta1ResourceAttributes' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ResourceAttributes) - end - end - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subresource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verb"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_resource_rule_spec.rb b/kubernetes/spec/models/v1beta1_resource_rule_spec.rb deleted file mode 100644 index d080cd1b..00000000 --- a/kubernetes/spec/models/v1beta1_resource_rule_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ResourceRule -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ResourceRule' do - before do - # run before each test - @instance = Kubernetes::V1beta1ResourceRule.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ResourceRule' do - it 'should create an instance of V1beta1ResourceRule' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ResourceRule) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_names"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "verbs"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb b/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb deleted file mode 100644 index 72d88b27..00000000 --- a/kubernetes/spec/models/v1beta1_role_binding_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RoleBindingList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RoleBindingList' do - before do - # run before each test - @instance = Kubernetes::V1beta1RoleBindingList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RoleBindingList' do - it 'should create an instance of V1beta1RoleBindingList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RoleBindingList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_role_binding_spec.rb b/kubernetes/spec/models/v1beta1_role_binding_spec.rb deleted file mode 100644 index 34fd87fb..00000000 --- a/kubernetes/spec/models/v1beta1_role_binding_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RoleBinding -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RoleBinding' do - before do - # run before each test - @instance = Kubernetes::V1beta1RoleBinding.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RoleBinding' do - it 'should create an instance of V1beta1RoleBinding' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RoleBinding) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "role_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "subjects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_role_list_spec.rb b/kubernetes/spec/models/v1beta1_role_list_spec.rb deleted file mode 100644 index 847297ad..00000000 --- a/kubernetes/spec/models/v1beta1_role_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RoleList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RoleList' do - before do - # run before each test - @instance = Kubernetes::V1beta1RoleList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RoleList' do - it 'should create an instance of V1beta1RoleList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RoleList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_role_ref_spec.rb b/kubernetes/spec/models/v1beta1_role_ref_spec.rb deleted file mode 100644 index 9eabb21b..00000000 --- a/kubernetes/spec/models/v1beta1_role_ref_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RoleRef -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RoleRef' do - before do - # run before each test - @instance = Kubernetes::V1beta1RoleRef.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RoleRef' do - it 'should create an instance of V1beta1RoleRef' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RoleRef) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_role_spec.rb b/kubernetes/spec/models/v1beta1_role_spec.rb deleted file mode 100644 index 055a3399..00000000 --- a/kubernetes/spec/models/v1beta1_role_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Role -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Role' do - before do - # run before each test - @instance = Kubernetes::V1beta1Role.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Role' do - it 'should create an instance of V1beta1Role' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Role) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb deleted file mode 100644 index 27dee101..00000000 --- a/kubernetes/spec/models/v1beta1_rolling_update_daemon_set_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RollingUpdateDaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RollingUpdateDaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1beta1RollingUpdateDaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RollingUpdateDaemonSet' do - it 'should create an instance of V1beta1RollingUpdateDaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RollingUpdateDaemonSet) - end - end - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb deleted file mode 100644 index 8bf2cf16..00000000 --- a/kubernetes/spec/models/v1beta1_rolling_update_stateful_set_strategy_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RollingUpdateStatefulSetStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RollingUpdateStatefulSetStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta1RollingUpdateStatefulSetStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RollingUpdateStatefulSetStrategy' do - it 'should create an instance of V1beta1RollingUpdateStatefulSetStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RollingUpdateStatefulSetStrategy) - end - end - describe 'test attribute "partition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb b/kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb deleted file mode 100644 index f2e902d7..00000000 --- a/kubernetes/spec/models/v1beta1_rule_with_operations_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1RuleWithOperations -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1RuleWithOperations' do - before do - # run before each test - @instance = Kubernetes::V1beta1RuleWithOperations.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1RuleWithOperations' do - it 'should create an instance of V1beta1RuleWithOperations' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1RuleWithOperations) - end - end - describe 'test attribute "api_groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_versions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "operations"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resources"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb deleted file mode 100644 index ec55f8b9..00000000 --- a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SelfSubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SelfSubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1beta1SelfSubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SelfSubjectAccessReview' do - it 'should create an instance of V1beta1SelfSubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SelfSubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb deleted file mode 100644 index 970b72a0..00000000 --- a/kubernetes/spec/models/v1beta1_self_subject_access_review_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SelfSubjectAccessReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SelfSubjectAccessReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1SelfSubjectAccessReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SelfSubjectAccessReviewSpec' do - it 'should create an instance of V1beta1SelfSubjectAccessReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SelfSubjectAccessReviewSpec) - end - end - describe 'test attribute "non_resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb deleted file mode 100644 index 1e871c99..00000000 --- a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SelfSubjectRulesReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SelfSubjectRulesReview' do - before do - # run before each test - @instance = Kubernetes::V1beta1SelfSubjectRulesReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SelfSubjectRulesReview' do - it 'should create an instance of V1beta1SelfSubjectRulesReview' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SelfSubjectRulesReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb deleted file mode 100644 index dd99944f..00000000 --- a/kubernetes/spec/models/v1beta1_self_subject_rules_review_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SelfSubjectRulesReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SelfSubjectRulesReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1SelfSubjectRulesReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SelfSubjectRulesReviewSpec' do - it 'should create an instance of V1beta1SelfSubjectRulesReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SelfSubjectRulesReviewSpec) - end - end - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb deleted file mode 100644 index ed60eb9f..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSetCondition' do - it 'should create an instance of V1beta1StatefulSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb deleted file mode 100644 index fc7a449b..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSetList' do - it 'should create an instance of V1beta1StatefulSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_spec.rb deleted file mode 100644 index 8e1742b7..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSet' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSet' do - it 'should create an instance of V1beta1StatefulSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb deleted file mode 100644 index 85069df2..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSetSpec' do - it 'should create an instance of V1beta1StatefulSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetSpec) - end - end - describe 'test attribute "pod_management_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_claim_templates"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb deleted file mode 100644 index e1796e41..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_status_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSetStatus' do - it 'should create an instance of V1beta1StatefulSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb deleted file mode 100644 index 13d592c9..00000000 --- a/kubernetes/spec/models/v1beta1_stateful_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StatefulSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StatefulSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta1StatefulSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StatefulSetUpdateStrategy' do - it 'should create an instance of V1beta1StatefulSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StatefulSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb b/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb deleted file mode 100644 index a8c0236a..00000000 --- a/kubernetes/spec/models/v1beta1_storage_class_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StorageClassList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StorageClassList' do - before do - # run before each test - @instance = Kubernetes::V1beta1StorageClassList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StorageClassList' do - it 'should create an instance of V1beta1StorageClassList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StorageClassList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_storage_class_spec.rb b/kubernetes/spec/models/v1beta1_storage_class_spec.rb deleted file mode 100644 index fe67ecda..00000000 --- a/kubernetes/spec/models/v1beta1_storage_class_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1StorageClass -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1StorageClass' do - before do - # run before each test - @instance = Kubernetes::V1beta1StorageClass.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1StorageClass' do - it 'should create an instance of V1beta1StorageClass' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1StorageClass) - end - end - describe 'test attribute "allow_volume_expansion"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "allowed_topologies"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "mount_options"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "parameters"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "provisioner"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reclaim_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_binding_mode"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb deleted file mode 100644 index 5957316e..00000000 --- a/kubernetes/spec/models/v1beta1_subject_access_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SubjectAccessReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SubjectAccessReview' do - before do - # run before each test - @instance = Kubernetes::V1beta1SubjectAccessReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SubjectAccessReview' do - it 'should create an instance of V1beta1SubjectAccessReview' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SubjectAccessReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb deleted file mode 100644 index 7ea62c6d..00000000 --- a/kubernetes/spec/models/v1beta1_subject_access_review_spec_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SubjectAccessReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SubjectAccessReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1SubjectAccessReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SubjectAccessReviewSpec' do - it 'should create an instance of V1beta1SubjectAccessReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SubjectAccessReviewSpec) - end - end - describe 'test attribute "extra"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_attributes"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb b/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb deleted file mode 100644 index 4d7e5eaa..00000000 --- a/kubernetes/spec/models/v1beta1_subject_access_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SubjectAccessReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SubjectAccessReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1SubjectAccessReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SubjectAccessReviewStatus' do - it 'should create an instance of V1beta1SubjectAccessReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SubjectAccessReviewStatus) - end - end - describe 'test attribute "allowed"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "denied"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "evaluation_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb b/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb deleted file mode 100644 index 8c5a5d4a..00000000 --- a/kubernetes/spec/models/v1beta1_subject_rules_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1SubjectRulesReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1SubjectRulesReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1SubjectRulesReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1SubjectRulesReviewStatus' do - it 'should create an instance of V1beta1SubjectRulesReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1SubjectRulesReviewStatus) - end - end - describe 'test attribute "evaluation_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "incomplete"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "non_resource_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource_rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_subject_spec.rb b/kubernetes/spec/models/v1beta1_subject_spec.rb deleted file mode 100644 index 5b6efe5f..00000000 --- a/kubernetes/spec/models/v1beta1_subject_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Subject -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Subject' do - before do - # run before each test - @instance = Kubernetes::V1beta1Subject.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Subject' do - it 'should create an instance of V1beta1Subject' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Subject) - end - end - describe 'test attribute "api_group"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_token_review_spec.rb b/kubernetes/spec/models/v1beta1_token_review_spec.rb deleted file mode 100644 index 49c589cd..00000000 --- a/kubernetes/spec/models/v1beta1_token_review_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1TokenReview -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1TokenReview' do - before do - # run before each test - @instance = Kubernetes::V1beta1TokenReview.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1TokenReview' do - it 'should create an instance of V1beta1TokenReview' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1TokenReview) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb b/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb deleted file mode 100644 index 43fac9e3..00000000 --- a/kubernetes/spec/models/v1beta1_token_review_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1TokenReviewSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1TokenReviewSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1TokenReviewSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1TokenReviewSpec' do - it 'should create an instance of V1beta1TokenReviewSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1TokenReviewSpec) - end - end - describe 'test attribute "audiences"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "token"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_token_review_status_spec.rb b/kubernetes/spec/models/v1beta1_token_review_status_spec.rb deleted file mode 100644 index 9a61e0b8..00000000 --- a/kubernetes/spec/models/v1beta1_token_review_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1TokenReviewStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1TokenReviewStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1TokenReviewStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1TokenReviewStatus' do - it 'should create an instance of V1beta1TokenReviewStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1TokenReviewStatus) - end - end - describe 'test attribute "audiences"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "authenticated"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "user"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_user_info_spec.rb b/kubernetes/spec/models/v1beta1_user_info_spec.rb deleted file mode 100644 index 923f13d6..00000000 --- a/kubernetes/spec/models/v1beta1_user_info_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1UserInfo -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1UserInfo' do - before do - # run before each test - @instance = Kubernetes::V1beta1UserInfo.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1UserInfo' do - it 'should create an instance of V1beta1UserInfo' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1UserInfo) - end - end - describe 'test attribute "extra"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "groups"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "uid"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "username"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb deleted file mode 100644 index c7fccbcd..00000000 --- a/kubernetes/spec/models/v1beta1_validating_webhook_configuration_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ValidatingWebhookConfigurationList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ValidatingWebhookConfigurationList' do - before do - # run before each test - @instance = Kubernetes::V1beta1ValidatingWebhookConfigurationList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ValidatingWebhookConfigurationList' do - it 'should create an instance of V1beta1ValidatingWebhookConfigurationList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ValidatingWebhookConfigurationList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb b/kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb deleted file mode 100644 index caf6e943..00000000 --- a/kubernetes/spec/models/v1beta1_validating_webhook_configuration_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1ValidatingWebhookConfiguration -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1ValidatingWebhookConfiguration' do - before do - # run before each test - @instance = Kubernetes::V1beta1ValidatingWebhookConfiguration.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1ValidatingWebhookConfiguration' do - it 'should create an instance of V1beta1ValidatingWebhookConfiguration' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1ValidatingWebhookConfiguration) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "webhooks"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb deleted file mode 100644 index ce007fd1..00000000 --- a/kubernetes/spec/models/v1beta1_volume_attachment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeAttachmentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeAttachmentList' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeAttachmentList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeAttachmentList' do - it 'should create an instance of V1beta1VolumeAttachmentList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb deleted file mode 100644 index 7fa738a6..00000000 --- a/kubernetes/spec/models/v1beta1_volume_attachment_source_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeAttachmentSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeAttachmentSource' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeAttachmentSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeAttachmentSource' do - it 'should create an instance of V1beta1VolumeAttachmentSource' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentSource) - end - end - describe 'test attribute "persistent_volume_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb deleted file mode 100644 index cd51f465..00000000 --- a/kubernetes/spec/models/v1beta1_volume_attachment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeAttachment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeAttachment' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeAttachment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeAttachment' do - it 'should create an instance of V1beta1VolumeAttachment' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb deleted file mode 100644 index 26d18071..00000000 --- a/kubernetes/spec/models/v1beta1_volume_attachment_spec_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeAttachmentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeAttachmentSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeAttachmentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeAttachmentSpec' do - it 'should create an instance of V1beta1VolumeAttachmentSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentSpec) - end - end - describe 'test attribute "attacher"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "node_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "source"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb b/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb deleted file mode 100644 index 2d1d609e..00000000 --- a/kubernetes/spec/models/v1beta1_volume_attachment_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeAttachmentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeAttachmentStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeAttachmentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeAttachmentStatus' do - it 'should create an instance of V1beta1VolumeAttachmentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeAttachmentStatus) - end - end - describe 'test attribute "attach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attached"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "attachment_metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "detach_error"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_volume_error_spec.rb b/kubernetes/spec/models/v1beta1_volume_error_spec.rb deleted file mode 100644 index 5bcba142..00000000 --- a/kubernetes/spec/models/v1beta1_volume_error_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1VolumeError -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1VolumeError' do - before do - # run before each test - @instance = Kubernetes::V1beta1VolumeError.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1VolumeError' do - it 'should create an instance of V1beta1VolumeError' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1VolumeError) - end - end - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta1_webhook_spec.rb b/kubernetes/spec/models/v1beta1_webhook_spec.rb deleted file mode 100644 index 90b7510b..00000000 --- a/kubernetes/spec/models/v1beta1_webhook_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta1Webhook -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta1Webhook' do - before do - # run before each test - @instance = Kubernetes::V1beta1Webhook.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta1Webhook' do - it 'should create an instance of V1beta1Webhook' do - expect(@instance).to be_instance_of(Kubernetes::V1beta1Webhook) - end - end - describe 'test attribute "client_config"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "failure_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "namespace_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "rules"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "side_effects"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb b/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb deleted file mode 100644 index 4ca2776e..00000000 --- a/kubernetes/spec/models/v1beta2_controller_revision_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ControllerRevisionList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ControllerRevisionList' do - before do - # run before each test - @instance = Kubernetes::V1beta2ControllerRevisionList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ControllerRevisionList' do - it 'should create an instance of V1beta2ControllerRevisionList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ControllerRevisionList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_controller_revision_spec.rb b/kubernetes/spec/models/v1beta2_controller_revision_spec.rb deleted file mode 100644 index 679b1682..00000000 --- a/kubernetes/spec/models/v1beta2_controller_revision_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ControllerRevision -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ControllerRevision' do - before do - # run before each test - @instance = Kubernetes::V1beta2ControllerRevision.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ControllerRevision' do - it 'should create an instance of V1beta2ControllerRevision' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ControllerRevision) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "data"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb deleted file mode 100644 index ea3bc19f..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSetCondition' do - it 'should create an instance of V1beta2DaemonSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb deleted file mode 100644 index 8f5df550..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSetList' do - it 'should create an instance of V1beta2DaemonSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_spec.rb deleted file mode 100644 index 83ec5d87..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSet' do - it 'should create an instance of V1beta2DaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb deleted file mode 100644 index 91710a1e..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSetSpec' do - it 'should create an instance of V1beta2DaemonSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb deleted file mode 100644 index 37c2e7d6..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_status_spec.rb +++ /dev/null @@ -1,96 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSetStatus' do - it 'should create an instance of V1beta2DaemonSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_available"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_misscheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_ready"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "number_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_number_scheduled"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb deleted file mode 100644 index 4e8e93e1..00000000 --- a/kubernetes/spec/models/v1beta2_daemon_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DaemonSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DaemonSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta2DaemonSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DaemonSetUpdateStrategy' do - it 'should create an instance of V1beta2DaemonSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DaemonSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb b/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb deleted file mode 100644 index 6d03a200..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_condition_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DeploymentCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DeploymentCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta2DeploymentCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DeploymentCondition' do - it 'should create an instance of V1beta2DeploymentCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DeploymentCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_update_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_list_spec.rb b/kubernetes/spec/models/v1beta2_deployment_list_spec.rb deleted file mode 100644 index 3a431c99..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DeploymentList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DeploymentList' do - before do - # run before each test - @instance = Kubernetes::V1beta2DeploymentList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DeploymentList' do - it 'should create an instance of V1beta2DeploymentList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DeploymentList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_spec.rb b/kubernetes/spec/models/v1beta2_deployment_spec.rb deleted file mode 100644 index 3f8c3bb4..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2Deployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2Deployment' do - before do - # run before each test - @instance = Kubernetes::V1beta2Deployment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2Deployment' do - it 'should create an instance of V1beta2Deployment' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2Deployment) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb b/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb deleted file mode 100644 index 035438ee..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DeploymentSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DeploymentSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta2DeploymentSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DeploymentSpec' do - it 'should create an instance of V1beta2DeploymentSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DeploymentSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "paused"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "progress_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_status_spec.rb b/kubernetes/spec/models/v1beta2_deployment_status_spec.rb deleted file mode 100644 index 30de32b8..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_status_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DeploymentStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DeploymentStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta2DeploymentStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DeploymentStatus' do - it 'should create an instance of V1beta2DeploymentStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DeploymentStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "unavailable_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb b/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb deleted file mode 100644 index 6215361c..00000000 --- a/kubernetes/spec/models/v1beta2_deployment_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2DeploymentStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2DeploymentStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta2DeploymentStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2DeploymentStrategy' do - it 'should create an instance of V1beta2DeploymentStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2DeploymentStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb deleted file mode 100644 index cecfce22..00000000 --- a/kubernetes/spec/models/v1beta2_replica_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ReplicaSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ReplicaSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta2ReplicaSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ReplicaSetCondition' do - it 'should create an instance of V1beta2ReplicaSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ReplicaSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb deleted file mode 100644 index 1eccff94..00000000 --- a/kubernetes/spec/models/v1beta2_replica_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ReplicaSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ReplicaSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta2ReplicaSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ReplicaSetList' do - it 'should create an instance of V1beta2ReplicaSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ReplicaSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_replica_set_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_spec.rb deleted file mode 100644 index 3f7670a5..00000000 --- a/kubernetes/spec/models/v1beta2_replica_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ReplicaSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ReplicaSet' do - before do - # run before each test - @instance = Kubernetes::V1beta2ReplicaSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ReplicaSet' do - it 'should create an instance of V1beta2ReplicaSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ReplicaSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb deleted file mode 100644 index 8de6f7d6..00000000 --- a/kubernetes/spec/models/v1beta2_replica_set_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ReplicaSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ReplicaSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta2ReplicaSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ReplicaSetSpec' do - it 'should create an instance of V1beta2ReplicaSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ReplicaSetSpec) - end - end - describe 'test attribute "min_ready_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb b/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb deleted file mode 100644 index 2241f825..00000000 --- a/kubernetes/spec/models/v1beta2_replica_set_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ReplicaSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ReplicaSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta2ReplicaSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ReplicaSetStatus' do - it 'should create an instance of V1beta2ReplicaSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ReplicaSetStatus) - end - end - describe 'test attribute "available_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "fully_labeled_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb deleted file mode 100644 index 412cd3bf..00000000 --- a/kubernetes/spec/models/v1beta2_rolling_update_daemon_set_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2RollingUpdateDaemonSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2RollingUpdateDaemonSet' do - before do - # run before each test - @instance = Kubernetes::V1beta2RollingUpdateDaemonSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2RollingUpdateDaemonSet' do - it 'should create an instance of V1beta2RollingUpdateDaemonSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2RollingUpdateDaemonSet) - end - end - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb deleted file mode 100644 index d9bc59db..00000000 --- a/kubernetes/spec/models/v1beta2_rolling_update_deployment_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2RollingUpdateDeployment -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2RollingUpdateDeployment' do - before do - # run before each test - @instance = Kubernetes::V1beta2RollingUpdateDeployment.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2RollingUpdateDeployment' do - it 'should create an instance of V1beta2RollingUpdateDeployment' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2RollingUpdateDeployment) - end - end - describe 'test attribute "max_surge"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "max_unavailable"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb b/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb deleted file mode 100644 index 60be044d..00000000 --- a/kubernetes/spec/models/v1beta2_rolling_update_stateful_set_strategy_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2RollingUpdateStatefulSetStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2RollingUpdateStatefulSetStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta2RollingUpdateStatefulSetStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2RollingUpdateStatefulSetStrategy' do - it 'should create an instance of V1beta2RollingUpdateStatefulSetStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2RollingUpdateStatefulSetStrategy) - end - end - describe 'test attribute "partition"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_scale_spec.rb b/kubernetes/spec/models/v1beta2_scale_spec.rb deleted file mode 100644 index 2a30258b..00000000 --- a/kubernetes/spec/models/v1beta2_scale_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2Scale -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2Scale' do - before do - # run before each test - @instance = Kubernetes::V1beta2Scale.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2Scale' do - it 'should create an instance of V1beta2Scale' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2Scale) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_scale_spec_spec.rb b/kubernetes/spec/models/v1beta2_scale_spec_spec.rb deleted file mode 100644 index f9e196c3..00000000 --- a/kubernetes/spec/models/v1beta2_scale_spec_spec.rb +++ /dev/null @@ -1,42 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ScaleSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ScaleSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta2ScaleSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ScaleSpec' do - it 'should create an instance of V1beta2ScaleSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ScaleSpec) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_scale_status_spec.rb b/kubernetes/spec/models/v1beta2_scale_status_spec.rb deleted file mode 100644 index 4413be3a..00000000 --- a/kubernetes/spec/models/v1beta2_scale_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2ScaleStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2ScaleStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta2ScaleStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2ScaleStatus' do - it 'should create an instance of V1beta2ScaleStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2ScaleStatus) - end - end - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb deleted file mode 100644 index 0eac1fcf..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSetCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSetCondition' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSetCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSetCondition' do - it 'should create an instance of V1beta2StatefulSetCondition' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb deleted file mode 100644 index bd516821..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSetList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSetList' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSetList.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSetList' do - it 'should create an instance of V1beta2StatefulSetList' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_spec.rb deleted file mode 100644 index 40f7fd24..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSet -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSet' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSet.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSet' do - it 'should create an instance of V1beta2StatefulSet' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSet) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb deleted file mode 100644 index 2c3878ea..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_spec_spec.rb +++ /dev/null @@ -1,84 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSetSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSetSpec' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSetSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSetSpec' do - it 'should create an instance of V1beta2StatefulSetSpec' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetSpec) - end - end - describe 'test attribute "pod_management_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "revision_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "service_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_strategy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "volume_claim_templates"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb deleted file mode 100644 index eea6c283..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_status_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSetStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSetStatus' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSetStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSetStatus' do - it 'should create an instance of V1beta2StatefulSetStatus' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetStatus) - end - end - describe 'test attribute "collision_count"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "ready_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "update_revision"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "updated_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb b/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb deleted file mode 100644 index 67bef96a..00000000 --- a/kubernetes/spec/models/v1beta2_stateful_set_update_strategy_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V1beta2StatefulSetUpdateStrategy -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V1beta2StatefulSetUpdateStrategy' do - before do - # run before each test - @instance = Kubernetes::V1beta2StatefulSetUpdateStrategy.new - end - - after do - # run after each test - end - - describe 'test an instance of V1beta2StatefulSetUpdateStrategy' do - it 'should create an instance of V1beta2StatefulSetUpdateStrategy' do - expect(@instance).to be_instance_of(Kubernetes::V1beta2StatefulSetUpdateStrategy) - end - end - describe 'test attribute "rolling_update"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb deleted file mode 100644 index b0a00402..00000000 --- a/kubernetes/spec/models/v2alpha1_cron_job_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2alpha1CronJobList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2alpha1CronJobList' do - before do - # run before each test - @instance = Kubernetes::V2alpha1CronJobList.new - end - - after do - # run after each test - end - - describe 'test an instance of V2alpha1CronJobList' do - it 'should create an instance of V2alpha1CronJobList' do - expect(@instance).to be_instance_of(Kubernetes::V2alpha1CronJobList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2alpha1_cron_job_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_spec.rb deleted file mode 100644 index d889fca6..00000000 --- a/kubernetes/spec/models/v2alpha1_cron_job_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2alpha1CronJob -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2alpha1CronJob' do - before do - # run before each test - @instance = Kubernetes::V2alpha1CronJob.new - end - - after do - # run after each test - end - - describe 'test an instance of V2alpha1CronJob' do - it 'should create an instance of V2alpha1CronJob' do - expect(@instance).to be_instance_of(Kubernetes::V2alpha1CronJob) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb deleted file mode 100644 index 6a378f4b..00000000 --- a/kubernetes/spec/models/v2alpha1_cron_job_spec_spec.rb +++ /dev/null @@ -1,78 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2alpha1CronJobSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2alpha1CronJobSpec' do - before do - # run before each test - @instance = Kubernetes::V2alpha1CronJobSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2alpha1CronJobSpec' do - it 'should create an instance of V2alpha1CronJobSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2alpha1CronJobSpec) - end - end - describe 'test attribute "concurrency_policy"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "failed_jobs_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "job_template"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "schedule"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "starting_deadline_seconds"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "successful_jobs_history_limit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "suspend"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb b/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb deleted file mode 100644 index 167fb0a5..00000000 --- a/kubernetes/spec/models/v2alpha1_cron_job_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2alpha1CronJobStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2alpha1CronJobStatus' do - before do - # run before each test - @instance = Kubernetes::V2alpha1CronJobStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2alpha1CronJobStatus' do - it 'should create an instance of V2alpha1CronJobStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2alpha1CronJobStatus) - end - end - describe 'test attribute "active"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_schedule_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb b/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb deleted file mode 100644 index cc0a5cf5..00000000 --- a/kubernetes/spec/models/v2alpha1_job_template_spec_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2alpha1JobTemplateSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2alpha1JobTemplateSpec' do - before do - # run before each test - @instance = Kubernetes::V2alpha1JobTemplateSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2alpha1JobTemplateSpec' do - it 'should create an instance of V2alpha1JobTemplateSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2alpha1JobTemplateSpec) - end - end - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb deleted file mode 100644 index c9545de6..00000000 --- a/kubernetes/spec/models/v2beta1_cross_version_object_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1CrossVersionObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1CrossVersionObjectReference' do - before do - # run before each test - @instance = Kubernetes::V2beta1CrossVersionObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1CrossVersionObjectReference' do - it 'should create an instance of V2beta1CrossVersionObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1CrossVersionObjectReference) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb deleted file mode 100644 index 86262497..00000000 --- a/kubernetes/spec/models/v2beta1_external_metric_source_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ExternalMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ExternalMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta1ExternalMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ExternalMetricSource' do - it 'should create an instance of V2beta1ExternalMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ExternalMetricSource) - end - end - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb deleted file mode 100644 index 16f2387c..00000000 --- a/kubernetes/spec/models/v2beta1_external_metric_status_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ExternalMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ExternalMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1ExternalMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ExternalMetricStatus' do - it 'should create an instance of V2beta1ExternalMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ExternalMetricStatus) - end - end - describe 'test attribute "current_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb deleted file mode 100644 index c46ee26b..00000000 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1HorizontalPodAutoscalerCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1HorizontalPodAutoscalerCondition' do - before do - # run before each test - @instance = Kubernetes::V2beta1HorizontalPodAutoscalerCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1HorizontalPodAutoscalerCondition' do - it 'should create an instance of V2beta1HorizontalPodAutoscalerCondition' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1HorizontalPodAutoscalerCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb deleted file mode 100644 index cfb4eb69..00000000 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1HorizontalPodAutoscalerList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1HorizontalPodAutoscalerList' do - before do - # run before each test - @instance = Kubernetes::V2beta1HorizontalPodAutoscalerList.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1HorizontalPodAutoscalerList' do - it 'should create an instance of V2beta1HorizontalPodAutoscalerList' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1HorizontalPodAutoscalerList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb deleted file mode 100644 index 4193d897..00000000 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1HorizontalPodAutoscaler -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1HorizontalPodAutoscaler' do - before do - # run before each test - @instance = Kubernetes::V2beta1HorizontalPodAutoscaler.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1HorizontalPodAutoscaler' do - it 'should create an instance of V2beta1HorizontalPodAutoscaler' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1HorizontalPodAutoscaler) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb deleted file mode 100644 index 81853b9c..00000000 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1HorizontalPodAutoscalerSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1HorizontalPodAutoscalerSpec' do - before do - # run before each test - @instance = Kubernetes::V2beta1HorizontalPodAutoscalerSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1HorizontalPodAutoscalerSpec' do - it 'should create an instance of V2beta1HorizontalPodAutoscalerSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1HorizontalPodAutoscalerSpec) - end - end - describe 'test attribute "max_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_target_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb deleted file mode 100644 index c0999d5d..00000000 --- a/kubernetes/spec/models/v2beta1_horizontal_pod_autoscaler_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1HorizontalPodAutoscalerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1HorizontalPodAutoscalerStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1HorizontalPodAutoscalerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1HorizontalPodAutoscalerStatus' do - it 'should create an instance of V2beta1HorizontalPodAutoscalerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1HorizontalPodAutoscalerStatus) - end - end - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_scale_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_metric_spec_spec.rb b/kubernetes/spec/models/v2beta1_metric_spec_spec.rb deleted file mode 100644 index c796cf35..00000000 --- a/kubernetes/spec/models/v2beta1_metric_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1MetricSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1MetricSpec' do - before do - # run before each test - @instance = Kubernetes::V2beta1MetricSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1MetricSpec' do - it 'should create an instance of V2beta1MetricSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1MetricSpec) - end - end - describe 'test attribute "external"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_metric_status_spec.rb deleted file mode 100644 index 0c08969d..00000000 --- a/kubernetes/spec/models/v2beta1_metric_status_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1MetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1MetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1MetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1MetricStatus' do - it 'should create an instance of V2beta1MetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1MetricStatus) - end - end - describe 'test attribute "external"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb deleted file mode 100644 index 9419578f..00000000 --- a/kubernetes/spec/models/v2beta1_object_metric_source_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ObjectMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ObjectMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta1ObjectMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ObjectMetricSource' do - it 'should create an instance of V2beta1ObjectMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ObjectMetricSource) - end - end - describe 'test attribute "average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb deleted file mode 100644 index b0f90d11..00000000 --- a/kubernetes/spec/models/v2beta1_object_metric_status_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ObjectMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ObjectMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1ObjectMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ObjectMetricStatus' do - it 'should create an instance of V2beta1ObjectMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ObjectMetricStatus) - end - end - describe 'test attribute "average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb deleted file mode 100644 index 0e6ea329..00000000 --- a/kubernetes/spec/models/v2beta1_pods_metric_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1PodsMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1PodsMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta1PodsMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1PodsMetricSource' do - it 'should create an instance of V2beta1PodsMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1PodsMetricSource) - end - end - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb deleted file mode 100644 index bdfb9fc4..00000000 --- a/kubernetes/spec/models/v2beta1_pods_metric_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1PodsMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1PodsMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1PodsMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1PodsMetricStatus' do - it 'should create an instance of V2beta1PodsMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1PodsMetricStatus) - end - end - describe 'test attribute "current_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric_name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb b/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb deleted file mode 100644 index 116518f6..00000000 --- a/kubernetes/spec/models/v2beta1_resource_metric_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ResourceMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ResourceMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta1ResourceMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ResourceMetricSource' do - it 'should create an instance of V2beta1ResourceMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ResourceMetricSource) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_average_utilization"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb b/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb deleted file mode 100644 index deb5ee0e..00000000 --- a/kubernetes/spec/models/v2beta1_resource_metric_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta1ResourceMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta1ResourceMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta1ResourceMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta1ResourceMetricStatus' do - it 'should create an instance of V2beta1ResourceMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta1ResourceMetricStatus) - end - end - describe 'test attribute "current_average_utilization"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb b/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb deleted file mode 100644 index b4171c46..00000000 --- a/kubernetes/spec/models/v2beta2_cross_version_object_reference_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2CrossVersionObjectReference -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2CrossVersionObjectReference' do - before do - # run before each test - @instance = Kubernetes::V2beta2CrossVersionObjectReference.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2CrossVersionObjectReference' do - it 'should create an instance of V2beta2CrossVersionObjectReference' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2CrossVersionObjectReference) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb deleted file mode 100644 index f79d26da..00000000 --- a/kubernetes/spec/models/v2beta2_external_metric_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ExternalMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ExternalMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta2ExternalMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ExternalMetricSource' do - it 'should create an instance of V2beta2ExternalMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ExternalMetricSource) - end - end - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb deleted file mode 100644 index 9e671d26..00000000 --- a/kubernetes/spec/models/v2beta2_external_metric_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ExternalMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ExternalMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2ExternalMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ExternalMetricStatus' do - it 'should create an instance of V2beta2ExternalMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ExternalMetricStatus) - end - end - describe 'test attribute "current"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb deleted file mode 100644 index 5fdeee03..00000000 --- a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_condition_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerCondition -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2HorizontalPodAutoscalerCondition' do - before do - # run before each test - @instance = Kubernetes::V2beta2HorizontalPodAutoscalerCondition.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2HorizontalPodAutoscalerCondition' do - it 'should create an instance of V2beta2HorizontalPodAutoscalerCondition' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerCondition) - end - end - describe 'test attribute "last_transition_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "message"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "reason"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb deleted file mode 100644 index 0ff9f4b8..00000000 --- a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_list_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerList -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2HorizontalPodAutoscalerList' do - before do - # run before each test - @instance = Kubernetes::V2beta2HorizontalPodAutoscalerList.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2HorizontalPodAutoscalerList' do - it 'should create an instance of V2beta2HorizontalPodAutoscalerList' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerList) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "items"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb deleted file mode 100644 index f70af63e..00000000 --- a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscaler -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2HorizontalPodAutoscaler' do - before do - # run before each test - @instance = Kubernetes::V2beta2HorizontalPodAutoscaler.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2HorizontalPodAutoscaler' do - it 'should create an instance of V2beta2HorizontalPodAutoscaler' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscaler) - end - end - describe 'test attribute "api_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "kind"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metadata"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "spec"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "status"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb deleted file mode 100644 index ccd9e284..00000000 --- a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_spec_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2HorizontalPodAutoscalerSpec' do - before do - # run before each test - @instance = Kubernetes::V2beta2HorizontalPodAutoscalerSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2HorizontalPodAutoscalerSpec' do - it 'should create an instance of V2beta2HorizontalPodAutoscalerSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerSpec) - end - end - describe 'test attribute "max_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "min_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "scale_target_ref"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb b/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb deleted file mode 100644 index 3010e56a..00000000 --- a/kubernetes/spec/models/v2beta2_horizontal_pod_autoscaler_status_spec.rb +++ /dev/null @@ -1,72 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2HorizontalPodAutoscalerStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2HorizontalPodAutoscalerStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2HorizontalPodAutoscalerStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2HorizontalPodAutoscalerStatus' do - it 'should create an instance of V2beta2HorizontalPodAutoscalerStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2HorizontalPodAutoscalerStatus) - end - end - describe 'test attribute "conditions"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_metrics"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "current_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "desired_replicas"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "last_scale_time"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "observed_generation"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_metric_identifier_spec.rb b/kubernetes/spec/models/v2beta2_metric_identifier_spec.rb deleted file mode 100644 index a47bd179..00000000 --- a/kubernetes/spec/models/v2beta2_metric_identifier_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2MetricIdentifier -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2MetricIdentifier' do - before do - # run before each test - @instance = Kubernetes::V2beta2MetricIdentifier.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2MetricIdentifier' do - it 'should create an instance of V2beta2MetricIdentifier' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricIdentifier) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "selector"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_metric_spec_spec.rb b/kubernetes/spec/models/v2beta2_metric_spec_spec.rb deleted file mode 100644 index f0b4f8b0..00000000 --- a/kubernetes/spec/models/v2beta2_metric_spec_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2MetricSpec -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2MetricSpec' do - before do - # run before each test - @instance = Kubernetes::V2beta2MetricSpec.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2MetricSpec' do - it 'should create an instance of V2beta2MetricSpec' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricSpec) - end - end - describe 'test attribute "external"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_metric_status_spec.rb deleted file mode 100644 index 87b9a587..00000000 --- a/kubernetes/spec/models/v2beta2_metric_status_spec.rb +++ /dev/null @@ -1,66 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2MetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2MetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2MetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2MetricStatus' do - it 'should create an instance of V2beta2MetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricStatus) - end - end - describe 'test attribute "external"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "pods"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "resource"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_metric_target_spec.rb b/kubernetes/spec/models/v2beta2_metric_target_spec.rb deleted file mode 100644 index c625e472..00000000 --- a/kubernetes/spec/models/v2beta2_metric_target_spec.rb +++ /dev/null @@ -1,60 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2MetricTarget -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2MetricTarget' do - before do - # run before each test - @instance = Kubernetes::V2beta2MetricTarget.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2MetricTarget' do - it 'should create an instance of V2beta2MetricTarget' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricTarget) - end - end - describe 'test attribute "average_utilization"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "type"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb b/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb deleted file mode 100644 index c82336b1..00000000 --- a/kubernetes/spec/models/v2beta2_metric_value_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2MetricValueStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2MetricValueStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2MetricValueStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2MetricValueStatus' do - it 'should create an instance of V2beta2MetricValueStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2MetricValueStatus) - end - end - describe 'test attribute "average_utilization"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "average_value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "value"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb deleted file mode 100644 index 61c7642b..00000000 --- a/kubernetes/spec/models/v2beta2_object_metric_source_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ObjectMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ObjectMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta2ObjectMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ObjectMetricSource' do - it 'should create an instance of V2beta2ObjectMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ObjectMetricSource) - end - end - describe 'test attribute "described_object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb deleted file mode 100644 index ce7d00d3..00000000 --- a/kubernetes/spec/models/v2beta2_object_metric_status_spec.rb +++ /dev/null @@ -1,54 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ObjectMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ObjectMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2ObjectMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ObjectMetricStatus' do - it 'should create an instance of V2beta2ObjectMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ObjectMetricStatus) - end - end - describe 'test attribute "current"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "described_object"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb deleted file mode 100644 index 2862550e..00000000 --- a/kubernetes/spec/models/v2beta2_pods_metric_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2PodsMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2PodsMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta2PodsMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2PodsMetricSource' do - it 'should create an instance of V2beta2PodsMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2PodsMetricSource) - end - end - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb deleted file mode 100644 index 517b0af7..00000000 --- a/kubernetes/spec/models/v2beta2_pods_metric_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2PodsMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2PodsMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2PodsMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2PodsMetricStatus' do - it 'should create an instance of V2beta2PodsMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2PodsMetricStatus) - end - end - describe 'test attribute "current"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "metric"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb b/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb deleted file mode 100644 index 0be37789..00000000 --- a/kubernetes/spec/models/v2beta2_resource_metric_source_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ResourceMetricSource -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ResourceMetricSource' do - before do - # run before each test - @instance = Kubernetes::V2beta2ResourceMetricSource.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ResourceMetricSource' do - it 'should create an instance of V2beta2ResourceMetricSource' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ResourceMetricSource) - end - end - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "target"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb b/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb deleted file mode 100644 index 2c5d1e1e..00000000 --- a/kubernetes/spec/models/v2beta2_resource_metric_status_spec.rb +++ /dev/null @@ -1,48 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::V2beta2ResourceMetricStatus -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'V2beta2ResourceMetricStatus' do - before do - # run before each test - @instance = Kubernetes::V2beta2ResourceMetricStatus.new - end - - after do - # run after each test - end - - describe 'test an instance of V2beta2ResourceMetricStatus' do - it 'should create an instance of V2beta2ResourceMetricStatus' do - expect(@instance).to be_instance_of(Kubernetes::V2beta2ResourceMetricStatus) - end - end - describe 'test attribute "current"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "name"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - diff --git a/kubernetes/spec/models/version_info_spec.rb b/kubernetes/spec/models/version_info_spec.rb deleted file mode 100644 index cbb8d9bf..00000000 --- a/kubernetes/spec/models/version_info_spec.rb +++ /dev/null @@ -1,90 +0,0 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end - -require 'spec_helper' -require 'json' -require 'date' - -# Unit tests for Kubernetes::VersionInfo -# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) -# Please update as you see appropriate -describe 'VersionInfo' do - before do - # run before each test - @instance = Kubernetes::VersionInfo.new - end - - after do - # run after each test - end - - describe 'test an instance of VersionInfo' do - it 'should create an instance of VersionInfo' do - expect(@instance).to be_instance_of(Kubernetes::VersionInfo) - end - end - describe 'test attribute "build_date"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "compiler"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "git_commit"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "git_tree_state"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "git_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "go_version"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "major"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "minor"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - - describe 'test attribute "platform"' do - it 'should work' do - # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers - end - end - -end - From eda4f607b3f1b51e18384dc70ef4e7b7fd8ea882 Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Tue, 26 Feb 2019 22:07:08 +0900 Subject: [PATCH 20/48] Fix tests NoMethodError: undefined method `file_fixture' --- kubernetes/spec/helpers/file_fixtures.rb | 2 +- kubernetes/spec/spec_helper.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kubernetes/spec/helpers/file_fixtures.rb b/kubernetes/spec/helpers/file_fixtures.rb index a7baa920..feb6e130 100644 --- a/kubernetes/spec/helpers/file_fixtures.rb +++ b/kubernetes/spec/helpers/file_fixtures.rb @@ -31,6 +31,6 @@ def file_fixture(fixture_name) end end - extend FileFixtures + Object.include FileFixtures end end diff --git a/kubernetes/spec/spec_helper.rb b/kubernetes/spec/spec_helper.rb index 6160b4d2..19683946 100644 --- a/kubernetes/spec/spec_helper.rb +++ b/kubernetes/spec/spec_helper.rb @@ -12,6 +12,7 @@ # load the gem require 'kubernetes' +require 'helpers/file_fixtures' # The following was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. From 82f30a861ca7f2d8e97f17f40fcb1050c08f487f Mon Sep 17 00:00:00 2001 From: David Rubin Date: Tue, 19 Feb 2019 17:07:46 +0100 Subject: [PATCH 21/48] Add travis --- .travis-ci.yml | 8 ++++++++ .travis.yml | 4 ++++ kubernetes/Gemfile.lock | 44 ++++++++++++++++++++--------------------- 3 files changed, 33 insertions(+), 23 deletions(-) create mode 100644 .travis-ci.yml create mode 100644 .travis.yml diff --git a/.travis-ci.yml b/.travis-ci.yml new file mode 100644 index 00000000..81b044d6 --- /dev/null +++ b/.travis-ci.yml @@ -0,0 +1,8 @@ +language: ruby +gemfile: kubernetes/Gemfile +cache: bundler +sudo: false +before_install: + - gem update --system + - gem install bundler +script: sh -e 'cd kubernetes && bundle exec rspec' \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..88017905 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +gemfile: kubernetes/Gemfile +rvm: + - 2.6 +script: sh -c 'cd kubernetes && bundle exec rspec' diff --git a/kubernetes/Gemfile.lock b/kubernetes/Gemfile.lock index f9b811b9..ff97527e 100644 --- a/kubernetes/Gemfile.lock +++ b/kubernetes/Gemfile.lock @@ -1,49 +1,49 @@ PATH remote: . specs: - kubernetes (1.0.0.pre.alpha1) + kubernetes (1.0.0.pre.alpha2) json (~> 2.1, >= 2.1.0) typhoeus (~> 1.0, >= 1.0.1) GEM remote: https://rubygems.org/ specs: - ZenTest (4.11.1) - addressable (2.5.2) + ZenTest (4.11.2) + addressable (2.6.0) public_suffix (>= 2.0.2, < 4.0) autotest (4.4.6) ZenTest (>= 4.4.1) - autotest-fsevent (0.2.13) + autotest-fsevent (0.2.14) sys-uname autotest-growl (0.2.16) autotest-rails-pure (4.1.2) crack (0.4.3) safe_yaml (~> 1.0.0) diff-lcs (1.3) - ethon (0.11.0) + ethon (0.12.0) ffi (>= 1.3.0) - ffi (1.9.18) - hashdiff (0.3.7) + ffi (1.10.0) + hashdiff (0.3.8) json (2.1.0) - public_suffix (3.0.0) + public_suffix (3.0.3) rake (12.0.0) - rspec (3.7.0) - rspec-core (~> 3.7.0) - rspec-expectations (~> 3.7.0) - rspec-mocks (~> 3.7.0) - rspec-core (3.7.0) - rspec-support (~> 3.7.0) - rspec-expectations (3.7.0) + rspec (3.8.0) + rspec-core (~> 3.8.0) + rspec-expectations (~> 3.8.0) + rspec-mocks (~> 3.8.0) + rspec-core (3.8.0) + rspec-support (~> 3.8.0) + rspec-expectations (3.8.2) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-mocks (3.7.0) + rspec-support (~> 3.8.0) + rspec-mocks (3.8.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.7.0) - rspec-support (3.7.0) + rspec-support (~> 3.8.0) + rspec-support (3.8.0) safe_yaml (1.0.4) - sys-uname (1.0.3) + sys-uname (1.0.4) ffi (>= 1.0.0) - typhoeus (1.3.0) + typhoeus (1.3.1) ethon (>= 0.9.0) vcr (3.0.3) webmock (1.24.6) @@ -65,5 +65,3 @@ DEPENDENCIES vcr (~> 3.0, >= 3.0.1) webmock (~> 1.24, >= 1.24.3) -BUNDLED WITH - 1.13.6 From 3f31f148aefa4f1946670f170e0bd6acb1b0bd88 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Fri, 1 Mar 2019 08:59:15 +0100 Subject: [PATCH 22/48] Delete duplicate file Not sure how this snuck in my PR in #33 --- .travis-ci.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .travis-ci.yml diff --git a/.travis-ci.yml b/.travis-ci.yml deleted file mode 100644 index 81b044d6..00000000 --- a/.travis-ci.yml +++ /dev/null @@ -1,8 +0,0 @@ -language: ruby -gemfile: kubernetes/Gemfile -cache: bundler -sudo: false -before_install: - - gem update --system - - gem install bundler -script: sh -e 'cd kubernetes && bundle exec rspec' \ No newline at end of file From 2ea4294037b6679f5bd740e776fbcf7341791c69 Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Sat, 2 Mar 2019 13:45:28 +0900 Subject: [PATCH 23/48] Move hand-written codes to a another folder --- kubernetes/kubernetes.gemspec | 2 +- kubernetes/{lib => src}/kubernetes/config/error.rb | 0 kubernetes/{lib => src}/kubernetes/config/incluster_config.rb | 0 kubernetes/{lib => src}/kubernetes/config/kube_config.rb | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename kubernetes/{lib => src}/kubernetes/config/error.rb (100%) rename kubernetes/{lib => src}/kubernetes/config/incluster_config.rb (100%) rename kubernetes/{lib => src}/kubernetes/config/kube_config.rb (100%) diff --git a/kubernetes/kubernetes.gemspec b/kubernetes/kubernetes.gemspec index b872383e..00fea0f9 100644 --- a/kubernetes/kubernetes.gemspec +++ b/kubernetes/kubernetes.gemspec @@ -41,5 +41,5 @@ Gem::Specification.new do |s| s.files = `find *`.split("\n").uniq.sort.select{|f| !f.empty? } s.test_files = `find spec/*`.split("\n") s.executables = [] - s.require_paths = ["lib"] + s.require_paths = ["lib", "src"] end diff --git a/kubernetes/lib/kubernetes/config/error.rb b/kubernetes/src/kubernetes/config/error.rb similarity index 100% rename from kubernetes/lib/kubernetes/config/error.rb rename to kubernetes/src/kubernetes/config/error.rb diff --git a/kubernetes/lib/kubernetes/config/incluster_config.rb b/kubernetes/src/kubernetes/config/incluster_config.rb similarity index 100% rename from kubernetes/lib/kubernetes/config/incluster_config.rb rename to kubernetes/src/kubernetes/config/incluster_config.rb diff --git a/kubernetes/lib/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb similarity index 100% rename from kubernetes/lib/kubernetes/config/kube_config.rb rename to kubernetes/src/kubernetes/config/kube_config.rb From e06dbfa985d8c55ea12c3660fa5f3556ee7044d1 Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Sat, 2 Mar 2019 13:56:28 +0900 Subject: [PATCH 24/48] Move hand-written codes to a another folder (utils.rb) --- kubernetes/{lib => src}/kubernetes/utils.rb | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename kubernetes/{lib => src}/kubernetes/utils.rb (100%) diff --git a/kubernetes/lib/kubernetes/utils.rb b/kubernetes/src/kubernetes/utils.rb similarity index 100% rename from kubernetes/lib/kubernetes/utils.rb rename to kubernetes/src/kubernetes/utils.rb From 0fae617b26a21126acc2b7c85ebe5e2cf1e2be57 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Thu, 7 Mar 2019 23:01:16 -0800 Subject: [PATCH 25/48] Improve default loading. --- examples/namespace/namespace.rb | 5 ++-- examples/simple/simple.rb | 6 +--- kubernetes/lib/kubernetes/configuration.rb | 29 +++++++++++++++++++ .../src/kubernetes/config/incluster_config.rb | 4 +++ .../src/kubernetes/config/kube_config.rb | 4 +-- 5 files changed, 38 insertions(+), 10 deletions(-) diff --git a/examples/namespace/namespace.rb b/examples/namespace/namespace.rb index 56b6f4dc..fcdb2478 100644 --- a/examples/namespace/namespace.rb +++ b/examples/namespace/namespace.rb @@ -1,9 +1,8 @@ require 'kubernetes' require 'pp' -kube_config = Kubernetes::KubeConfig.new("#{ENV['HOME']}/.kube/config") -config = Kubernetes::Configuration.new() -kube_config.configure(config) + +config = Kubernetes::Configuration.default_config() client = Kubernetes::CoreV1Api.new(Kubernetes::ApiClient.new(config)) name = 'temp' diff --git a/examples/simple/simple.rb b/examples/simple/simple.rb index 931a5f14..96e32512 100644 --- a/examples/simple/simple.rb +++ b/examples/simple/simple.rb @@ -1,11 +1,7 @@ require 'kubernetes' require 'pp' -kube_config = Kubernetes::KubeConfig.new("#{ENV['HOME']}/.kube/config") -config = Kubernetes::Configuration.new() - -kube_config.configure(config) - +config = Kubernetes::Configuration.default_config() client = Kubernetes::CoreV1Api.new(Kubernetes::ApiClient.new(config)) pp client.list_namespaced_pod('default') diff --git a/kubernetes/lib/kubernetes/configuration.rb b/kubernetes/lib/kubernetes/configuration.rb index 1b59a3ee..e7c92826 100644 --- a/kubernetes/lib/kubernetes/configuration.rb +++ b/kubernetes/lib/kubernetes/configuration.rb @@ -153,6 +153,35 @@ def self.default @@default ||= Configuration.new end + def self.default_config() + # KUBECONFIG environment variable + result = Configuration.new() + kc = "#{ENV['KUBECONFIG']}" + if File.exist?(kc) + k_config = KubeConfig.new(kc) + k_config.configure(result) + return result + end + # default home location + kc = "#{ENV['HOME']}/.kube/config" + if File.exist?(kc) + k_config = KubeConfig.new(kc) + k_config.configure(result) + return result + end + # In cluster config + if InClusterConfig::is_in_cluster() + k_config = InClusterConfig.new() + k_config.configure(result) + return result + end + + result.scheme = 'http' + result.host = 'localhost:8080' + return result + end + + def configure yield(self) if block_given? end diff --git a/kubernetes/src/kubernetes/config/incluster_config.rb b/kubernetes/src/kubernetes/config/incluster_config.rb index d0dd6229..8911fa21 100644 --- a/kubernetes/src/kubernetes/config/incluster_config.rb +++ b/kubernetes/src/kubernetes/config/incluster_config.rb @@ -36,6 +36,10 @@ def validate raise ConfigError.new("Service token file does not exists") unless File.file?(self.ca_cert) end + def self.is_in_cluster() + return File.exist?(SERVICE_TOKEN_FILENAME) && File.exist?(SERVICE_CA_CERT_FILENAME) + end + def env @env ||= ENV @env diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index 6c107e5a..c54cdf1d 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -73,8 +73,8 @@ def configure(configuration, context_name=nil) c.base_path = server.path if server.scheme == 'https' - c.verify_ssl = cluster['verify-ssl'] - c.verify_ssl_host = cluster['verify-ssl'] + c.verify_ssl = !!cluster['verify-ssl'] + c.verify_ssl_host = !!cluster['verify-ssl'] c.ssl_ca_cert = cluster['certificate-authority'] c.cert_file = user['client-certificate'] c.key_file = user['client-key'] From f09b1a9d9923583bc103422119eadbf88aaadeb7 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 11 Mar 2019 07:42:18 -0700 Subject: [PATCH 26/48] Add tests for default loading, address comments. --- kubernetes/lib/kubernetes/configuration.rb | 29 --------- kubernetes/spec/config/kube_config_spec.rb | 59 ++++++++++++++++++- .../spec/fixtures/files/config/.kube/config | 16 +++++ .../spec/fixtures/files/config/config_2 | 15 +++++ kubernetes/spec/helpers/file_fixtures.rb | 2 +- .../src/kubernetes/config/incluster_config.rb | 2 +- .../src/kubernetes/config/kube_config.rb | 13 +++- 7 files changed, 103 insertions(+), 33 deletions(-) create mode 100644 kubernetes/spec/fixtures/files/config/.kube/config create mode 100644 kubernetes/spec/fixtures/files/config/config_2 diff --git a/kubernetes/lib/kubernetes/configuration.rb b/kubernetes/lib/kubernetes/configuration.rb index e7c92826..1b59a3ee 100644 --- a/kubernetes/lib/kubernetes/configuration.rb +++ b/kubernetes/lib/kubernetes/configuration.rb @@ -153,35 +153,6 @@ def self.default @@default ||= Configuration.new end - def self.default_config() - # KUBECONFIG environment variable - result = Configuration.new() - kc = "#{ENV['KUBECONFIG']}" - if File.exist?(kc) - k_config = KubeConfig.new(kc) - k_config.configure(result) - return result - end - # default home location - kc = "#{ENV['HOME']}/.kube/config" - if File.exist?(kc) - k_config = KubeConfig.new(kc) - k_config.configure(result) - return result - end - # In cluster config - if InClusterConfig::is_in_cluster() - k_config = InClusterConfig.new() - k_config.configure(result) - return result - end - - result.scheme = 'http' - result.host = 'localhost:8080' - return result - end - - def configure yield(self) if block_given? end diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 7d6a26bb..7a25cdc2 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -13,12 +13,13 @@ # limitations under the License. require 'base64' -require 'spec_helper' require 'config/matchers' require 'fixtures/config/kube_config_hash' require 'helpers/file_fixtures' +require 'spec_helper' require 'kubernetes/config/kube_config' +require 'kubernetes/loader' describe Kubernetes::KubeConfig do @@ -247,5 +248,61 @@ expect(kube_config.send(:create_temp_file_with_base64content, content)).to eq(expected_path) end end + + context 'load from defaults' do + before(:each) do + # Clear out everything before each run. + ENV['HOME'] = nil + ENV['KUBECONFIG'] = nil + ENV['KUBERNETES_SERVICE_HOST'] = nil + ENV['KUBERNETES_SERVICE_PORT'] = nil + + # Suppress warnings + warn_level = $VERBOSE + $VERBOSE = nil + Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = '/non/existent/file/token' + Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = '/non/existent/file/ca.crt' + $VERBOSE = warn_level + end + + it 'should load from KUBECONFIG' do + ENV['KUBECONFIG'] = Kubernetes::Testing::file_fixture('config/config_2').to_s + ENV['HOME'] = Kubernetes::Testing::file_fixture('config').to_s + config = Kubernetes::Configuration::default_config + + expect(config.host).to eq('other:8080') + end + + it 'should load from HOME' do + ENV['HOME'] = Kubernetes::Testing::file_fixture('config').to_s + config = Kubernetes::Configuration::default_config + + expect(config.host).to eq('firstconfig:8080') + end + + it 'should load from cluster' do + ENV['KUBERNETES_SERVICE_HOST'] = 'kubernetes' + ENV['KUBERNETES_SERVICE_PORT'] = '8888' + + # Suppress warnings + warn_level = $VERBOSE + $VERBOSE = nil + + # Override constants for token and cert locations + Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = Kubernetes::Testing::file_fixture('config/config').to_s + Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + $VERBOSE = warn_level + + config = Kubernetes::Configuration::default_config + + expect(config.host).to eq('kubernetes:8888') + end + + it 'should default to localhost' do + config = Kubernetes::Configuration::default_config + + expect(config.host).to eq('localhost:8080') + end + end end end diff --git a/kubernetes/spec/fixtures/files/config/.kube/config b/kubernetes/spec/fixtures/files/config/.kube/config new file mode 100644 index 00000000..fd98e679 --- /dev/null +++ b/kubernetes/spec/fixtures/files/config/.kube/config @@ -0,0 +1,16 @@ +apiVersion: v1 +clusters: +- name: default + cluster: + server: http://firstconfig:8080 +contexts: +- name: first_user + context: + cluster: default + user: first_user +current-context: first_user +kind: Config +preferences: {} +users: +- name: first_user + token: foobar \ No newline at end of file diff --git a/kubernetes/spec/fixtures/files/config/config_2 b/kubernetes/spec/fixtures/files/config/config_2 new file mode 100644 index 00000000..ff94db76 --- /dev/null +++ b/kubernetes/spec/fixtures/files/config/config_2 @@ -0,0 +1,15 @@ +apiVersion: v1 +clusters: +- name: default + cluster: + server: http://other:8080 +contexts: +- name: some_user + context: + cluster: default + user: someone +current-context: some_user +kind: Config +preferences: {} +users: +- name: someone \ No newline at end of file diff --git a/kubernetes/spec/helpers/file_fixtures.rb b/kubernetes/spec/helpers/file_fixtures.rb index 21716aff..17c1bcd4 100644 --- a/kubernetes/spec/helpers/file_fixtures.rb +++ b/kubernetes/spec/helpers/file_fixtures.rb @@ -28,7 +28,7 @@ def file_fixture(fixture_name) path else msg = "the directory '%s' does not contain a file named '%s'" - raise ArgumentError, msg % [file_fixture_path, fixture_name] + raise ArgumentError, msg % [FIXTURES_DIR_PATH, fixture_name] end end end diff --git a/kubernetes/src/kubernetes/config/incluster_config.rb b/kubernetes/src/kubernetes/config/incluster_config.rb index 8911fa21..ebf475a5 100644 --- a/kubernetes/src/kubernetes/config/incluster_config.rb +++ b/kubernetes/src/kubernetes/config/incluster_config.rb @@ -36,7 +36,7 @@ def validate raise ConfigError.new("Service token file does not exists") unless File.file?(self.ca_cert) end - def self.is_in_cluster() + def self.in_cluster?() return File.exist?(SERVICE_TOKEN_FILENAME) && File.exist?(SERVICE_CA_CERT_FILENAME) end diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index c54cdf1d..e7cf4e17 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -57,6 +57,9 @@ def config def configure(configuration, context_name=nil) context = context_name ? self.find_context(context_name) : self.current_context + if !context + return + end user = context['user'] || {} cluster = context['cluster'] || {} @@ -92,6 +95,9 @@ def find_cluster(name) def find_user(name) self.find_by_name(self.config['users'], 'user', name).tap do |user| + if !user + return + end create_temp_file_and_set(user, 'client-certificate') create_temp_file_and_set(user, 'client-key') # If tokenFile is specified, then set token @@ -122,7 +128,9 @@ def find_context(name) end def current_context - find_context(self.config['current-context']) + if self.config + find_context(self.config['current-context']) + end end protected @@ -133,6 +141,9 @@ def find_by_name(list, key, name) end def create_temp_file_and_set(obj, key) + if !obj + return + end if !obj[key] && obj["#{key}-data"] obj[key] = create_temp_file_with_base64content(obj["#{key}-data"]) end From a873dcb85ccd3a662a615584db02c92df76b962b Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 11 Mar 2019 11:55:17 -0700 Subject: [PATCH 27/48] Separate out the loader code from the generated code. --- kubernetes/src/kubernetes/loader.rb | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 kubernetes/src/kubernetes/loader.rb diff --git a/kubernetes/src/kubernetes/loader.rb b/kubernetes/src/kubernetes/loader.rb new file mode 100644 index 00000000..295490e9 --- /dev/null +++ b/kubernetes/src/kubernetes/loader.rb @@ -0,0 +1,48 @@ +# Copyright 2019 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'kubernetes/config/incluster_config' +require 'kubernetes/config/kube_config' + +module Kubernetes + class Configuration + def self.default_config() + # KUBECONFIG environment variable + result = Configuration.new() + kc = "#{ENV['KUBECONFIG']}" + if File.exist?(kc) + k_config = KubeConfig.new(kc) + k_config.configure(result) + return result + end + # default home location + kc = "#{ENV['HOME']}/.kube/config" + if File.exist?(kc) + k_config = KubeConfig.new(kc) + k_config.configure(result) + return result + end + # In cluster config + if InClusterConfig::in_cluster? + k_config = InClusterConfig.new() + k_config.configure(result) + return result + end + + result.scheme = 'http' + result.host = 'localhost:8080' + return result + end + end +end \ No newline at end of file From 43885e7be545e2ba92dc379c5c12dff58cdc4472 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 12 Mar 2019 18:30:02 -0700 Subject: [PATCH 28/48] Add style linting with rubocop --- .travis.yml | 6 +- kubernetes/Gemfile | 1 + kubernetes/Gemfile.lock | 22 +++ kubernetes/spec/config/kube_config_spec.rb | 45 +---- kubernetes/spec/utils_spec.rb | 28 +++ .../src/kubernetes/config/incluster_config.rb | 40 +++-- .../src/kubernetes/config/kube_config.rb | 164 +++++++++--------- kubernetes/src/kubernetes/loader.rb | 65 +++---- kubernetes/src/kubernetes/utils.rb | 42 ++++- 9 files changed, 241 insertions(+), 172 deletions(-) diff --git a/.travis.yml b/.travis.yml index 88017905..bb1e30ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,8 @@ gemfile: kubernetes/Gemfile rvm: - 2.6 -script: sh -c 'cd kubernetes && bundle exec rspec' + +script: +- cd kubernetes +- bundle exec rubocop ./src +- bundle exec rspec diff --git a/kubernetes/Gemfile b/kubernetes/Gemfile index d255a3ab..beefe220 100644 --- a/kubernetes/Gemfile +++ b/kubernetes/Gemfile @@ -4,4 +4,5 @@ gemspec group :development, :test do gem 'rake', '~> 12.0.0' + gem 'rubocop', '~> 0.65.0' end diff --git a/kubernetes/Gemfile.lock b/kubernetes/Gemfile.lock index ff97527e..7564f974 100644 --- a/kubernetes/Gemfile.lock +++ b/kubernetes/Gemfile.lock @@ -11,6 +11,7 @@ GEM ZenTest (4.11.2) addressable (2.6.0) public_suffix (>= 2.0.2, < 4.0) + ast (2.4.0) autotest (4.4.6) ZenTest (>= 4.4.1) autotest-fsevent (0.2.14) @@ -24,8 +25,15 @@ GEM ffi (>= 1.3.0) ffi (1.10.0) hashdiff (0.3.8) + jaro_winkler (1.5.2) json (2.1.0) + parallel (1.14.0) + parser (2.6.0.0) + ast (~> 2.4.0) + powerpack (0.1.2) + psych (3.1.0) public_suffix (3.0.3) + rainbow (3.0.0) rake (12.0.0) rspec (3.8.0) rspec-core (~> 3.8.0) @@ -40,11 +48,22 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.8.0) rspec-support (3.8.0) + rubocop (0.65.0) + jaro_winkler (~> 1.5.1) + parallel (~> 1.10) + parser (>= 2.5, != 2.5.1.1) + powerpack (~> 0.1) + psych (>= 3.1.0) + rainbow (>= 2.2.2, < 4.0) + ruby-progressbar (~> 1.7) + unicode-display_width (~> 1.4.0) + ruby-progressbar (1.10.0) safe_yaml (1.0.4) sys-uname (1.0.4) ffi (>= 1.0.0) typhoeus (1.3.1) ethon (>= 0.9.0) + unicode-display_width (1.4.1) vcr (3.0.3) webmock (1.24.6) addressable (>= 2.3.6) @@ -62,6 +81,9 @@ DEPENDENCIES kubernetes! rake (~> 12.0.0) rspec (~> 3.6, >= 3.6.0) + rubocop (~> 0.65.0) vcr (~> 3.0, >= 3.0.1) webmock (~> 1.24, >= 1.24.3) +BUNDLED WITH + 1.16.1 diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 7a25cdc2..8bd1ef43 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -222,43 +222,17 @@ end end - context '#create_temp_file_with_base64content' do - context 'when it is called at first time' do - it 'should return temp file path' do - expected_path = 'tempfile-path' - content = TEST_DATA_BASE64 - io = double('io') - expect(io).to receive(:path).and_return(expected_path) - expect(io).to receive(:write).with(TEST_DATA) - allow(Tempfile).to receive(:open).and_yield(io) - - expect(kube_config.send(:create_temp_file_with_base64content, content)).to eq(expected_path) - end - end - - context 'when it is already called' do - it 'should return cached value' do - expected_path = 'tempfile-path' - content = TEST_DATA_BASE64 - Kubernetes::KubeConfig.class_eval { class_variable_get(:@@temp_files)[content] = expected_path} - io = double('io') - expect(io).not_to receive(:path) - expect(io).not_to receive(:write).with(TEST_DATA) - expect(kube_config.send(:create_temp_file_with_base64content, content)).to eq(expected_path) - end - end - - context 'load from defaults' do - before(:each) do - # Clear out everything before each run. - ENV['HOME'] = nil - ENV['KUBECONFIG'] = nil - ENV['KUBERNETES_SERVICE_HOST'] = nil - ENV['KUBERNETES_SERVICE_PORT'] = nil + context 'load from defaults' do + before(:each) do + # Clear out everything before each run. + ENV['HOME'] = nil + ENV['KUBECONFIG'] = nil + ENV['KUBERNETES_SERVICE_HOST'] = nil + ENV['KUBERNETES_SERVICE_PORT'] = nil - # Suppress warnings - warn_level = $VERBOSE + # Suppress warnings + warn_level = $VERBOSE $VERBOSE = nil Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = '/non/existent/file/token' Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = '/non/existent/file/ca.crt' @@ -304,5 +278,4 @@ expect(config.host).to eq('localhost:8080') end end - end end diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb index 112aabc3..431ec303 100644 --- a/kubernetes/spec/utils_spec.rb +++ b/kubernetes/spec/utils_spec.rb @@ -72,4 +72,32 @@ expect(actual).to be_same_configuration_as(expected) end end + + context '#create_temp_file_with_base64content' do + context 'when it is called at first time' do + it 'should return temp file path' do + expected_path = 'tempfile-path' + content = TEST_DATA_BASE64 + io = double('io') + expect(io).to receive(:path).and_return(expected_path) + expect(io).to receive(:write).with(TEST_DATA) + allow(Tempfile).to receive(:open).and_yield(io) + + expect(Kubernetes.create_temp_file_with_base64content(content)).to eq(expected_path) + end + end + + context 'when it is already called' do + it 'should return cached value' do + expected_path = 'tempfile-path' + content = TEST_DATA_BASE64 + Kubernetes::cache_temp_file(content, expected_path) + io = double('io') + expect(io).not_to receive(:path) + expect(io).not_to receive(:write).with(TEST_DATA) + + expect(Kubernetes.create_temp_file_with_base64content(content)).to eq(expected_path) + end + end + end end diff --git a/kubernetes/src/kubernetes/config/incluster_config.rb b/kubernetes/src/kubernetes/config/incluster_config.rb index ebf475a5..b551afdd 100644 --- a/kubernetes/src/kubernetes/config/incluster_config.rb +++ b/kubernetes/src/kubernetes/config/incluster_config.rb @@ -16,28 +16,35 @@ require 'kubernetes/config/error' module Kubernetes - + # The InClusterConfig class represents configuration for authn/authz in a + # Kubernetes cluster. class InClusterConfig - - SERVICE_HOST_ENV_NAME = "KUBERNETES_SERVICE_HOST" - SERVICE_PORT_ENV_NAME = "KUBERNETES_SERVICE_PORT" - SERVICE_TOKEN_FILENAME = "/var/run/secrets/kubernetes.io/serviceaccount/token" - SERVICE_CA_CERT_FILENAME = "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" + # rubocop:disable LineLength + SERVICE_HOST_ENV_NAME = 'KUBERNETES_SERVICE_HOST'.freeze + SERVICE_PORT_ENV_NAME = 'KUBERNETES_SERVICE_PORT'.freeze + SERVICE_TOKEN_FILENAME = '/var/run/secrets/kubernetes.io/serviceaccount/token'.freeze + SERVICE_CA_CERT_FILENAME = '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt'.freeze + # rubocop:enable LineLength attr_accessor :host attr_accessor :port attr_accessor :token def validate - unless (self.host = self.env[SERVICE_HOST_ENV_NAME]) && (self.port = self.env[SERVICE_PORT_ENV_NAME]) - raise ConfigError.new("Service host/port is not set") + unless (self.host = env[SERVICE_HOST_ENV_NAME]) && + (self.port = env[SERVICE_PORT_ENV_NAME]) + raise ConfigError, 'Service host/port is not set' end - raise ConfigError.new("Service token file does not exists") unless File.file?(self.token_file) - raise ConfigError.new("Service token file does not exists") unless File.file?(self.ca_cert) + + # rubocop:disable LineLength + raise ConfigError, 'Service token file does not exists' unless File.file?(token_file) + raise ConfigError, 'Service token file does not exists' unless File.file?(ca_cert) + # rubocop:enable LineLength end - def self.in_cluster?() - return File.exist?(SERVICE_TOKEN_FILENAME) && File.exist?(SERVICE_CA_CERT_FILENAME) + def self.in_cluster? + File.exist?(SERVICE_TOKEN_FILENAME) && + File.exist?(SERVICE_CA_CERT_FILENAME) end def env @@ -56,7 +63,7 @@ def token_file end def load_token - open(self.token_file) do |io| + File.open(token_file) do |io| self.token = io.read.chomp end end @@ -64,11 +71,10 @@ def load_token def configure(configuration) validate load_token - configuration.api_key['authorization'] = "Bearer #{self.token}" + configuration.api_key['authorization'] = "Bearer #{token}" configuration.scheme = 'https' - configuration.host = "#{self.host}:#{self.port}" - configuration.ssl_ca_cert = self.ca_cert + configuration.host = "#{host}:#{port}" + configuration.ssl_ca_cert = ca_cert end end - end diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index e7cf4e17..3a163a72 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -22,138 +22,140 @@ require 'kubernetes/config/error' module Kubernetes - + # The KubeConfig class represents configuration based on a YAML + # representation. class KubeConfig - KUBE_CONFIG_DEFAULT_LOCATION = File.expand_path('~/.kube/config') + AUTH_KEY = 'authorization'.freeze class << self - - def list_context_names(config_file=KUBE_CONFIG_DEFAULT_LOCATION) - config = self.new(config_file) - return config.list_context_names + def list_context_names(config_file = KUBE_CONFIG_DEFAULT_LOCATION) + config = new(config_file) + config.list_context_names end - end - @@temp_files = {} attr_accessor :path attr_writer :config - def initialize(path, config_hash=nil) + def initialize(path, config_hash = nil) @path = path @config = config_hash end def base_path - File.dirname(self.path) + File.dirname(path) end def config - @config ||= open(self.path) do |io| - ::YAML.load(io.read) + @config ||= File.open(path) do |io| + ::YAML.safe_load(io.read) end end - def configure(configuration, context_name=nil) - context = context_name ? self.find_context(context_name) : self.current_context - if !context - return - end + def configure(configuration, context_name = nil) + context = context_name ? find_context(context_name) : current_context + return unless context + user = context['user'] || {} cluster = context['cluster'] || {} configuration.tap do |c| - if user['authorization'] - c.api_key['authorization'] = user['authorization'] - end - if server = cluster['server'] - server = URI.parse(server) - c.scheme = server.scheme - host = "#{server.host}:#{server.port}" - host = "#{server.userinfo}@#{host}" if server.userinfo - c.host = host - c.base_path = server.path - - if server.scheme == 'https' - c.verify_ssl = !!cluster['verify-ssl'] - c.verify_ssl_host = !!cluster['verify-ssl'] - c.ssl_ca_cert = cluster['certificate-authority'] - c.cert_file = user['client-certificate'] - c.key_file = user['client-key'] - end - end + c.api_key[AUTH_KEY] = user[AUTH_KEY] if user[AUTH_KEY] + + init_server(cluster, user, c) end end + def init_server(cluster, user, config) + return unless (server = cluster['server']) + + server = URI.parse(server) + config.scheme = server.scheme + host = "#{server.host}:#{server.port}" + host = "#{server.userinfo}@#{host}" if server.userinfo + config.host = host + config.base_path = server.path + + return unless server.scheme == 'https' + + setup_ssl(cluster, user, config) + end + + def setup_ssl(cluster, user, config) + # rubocop:disable DoubleNegation + config.verify_ssl = !!cluster['verify-ssl'] + config.verify_ssl_host = !!cluster['verify-ssl'] + # rubocop:enable DoubleNegation + + config.ssl_ca_cert = cluster['certificate-authority'] + config.cert_file = user['client-certificate'] + config.key_file = user['client-key'] + end + def find_cluster(name) - self.find_by_name(self.config['clusters'], 'cluster', name).tap do |cluster| - create_temp_file_and_set(cluster, 'certificate-authority') + find_by_name(config['clusters'], 'cluster', name).tap do |cluster| + Kubernetes.create_temp_file_and_set(cluster, 'certificate-authority') cluster['verify_ssl'] = !cluster['insecure-skip-tls-verify'] end end def find_user(name) - self.find_by_name(self.config['users'], 'user', name).tap do |user| - if !user - return - end - create_temp_file_and_set(user, 'client-certificate') - create_temp_file_and_set(user, 'client-key') - # If tokenFile is specified, then set token - if !user['token'] && user['tokenFile'] - open(user['tokenFile']) do |io| - user['token'] = io.read.chomp - end - end - # Convert token field to http header - if user['token'] - user['authorization'] = "Bearer #{user['token']}" - elsif user['username'] && user['password'] - user_pass = "#{user['username']}:#{user['password']}" - user['authorization'] = "Basic #{Base64.strict_encode64(user_pass)}" - end + find_by_name(config['users'], 'user', name).tap do |user| + next unless user + + Kubernetes.create_temp_file_and_set(user, 'client-certificate') + Kubernetes.create_temp_file_and_set(user, 'client-key') + load_token_file(user) + setup_auth(user) + end + end + + def load_token_file(user) + # If tokenFile is specified, then set token + return unless !user['token'] && user['tokenFile'] + + File.open(user['tokenFile']) do |io| + user['token'] = io.read.chomp + end + end + + def setup_auth(user) + # Convert token field to http header + if user['token'] + user['authorization'] = "Bearer #{user['token']}" + elsif user['username'] && user['password'] + user_pass = "#{user['username']}:#{user['password']}" + user['authorization'] = "Basic #{Base64.strict_encode64(user_pass)}" end end def list_context_names - self.config['contexts'].map { |e| e['name'] } + config['contexts'].map { |e| e['name'] } end def find_context(name) - self.find_by_name(self.config['contexts'], 'context', name).tap do |context| - context['cluster'] = find_cluster(context['cluster']) if context['cluster'] + find_by_name(config['contexts'], 'context', name).tap do |context| + if context['cluster'] + context['cluster'] = find_cluster(context['cluster']) + end context['user'] = find_user(context['user']) if context['user'] end end def current_context - if self.config - find_context(self.config['current-context']) - end + return unless config + + find_context(config['current-context']) end protected - def find_by_name(list, key, name) - obj = list.find {|item| item['name'] == name } - raise ConfigError.new("#{key}: #{name} not found") unless obj - obj[key].dup - end - def create_temp_file_and_set(obj, key) - if !obj - return - end - if !obj[key] && obj["#{key}-data"] - obj[key] = create_temp_file_with_base64content(obj["#{key}-data"]) - end - end + def find_by_name(list, key, name) + obj = list.find { |item| item['name'] == name } + raise ConfigError, "#{key}: #{name} not found" unless obj - def create_temp_file_with_base64content(content) - @@temp_files[content] ||= Tempfile.open('kube') do |temp| - temp.write(Base64.strict_decode64(content)) - temp.path - end + obj[key].dup end end end diff --git a/kubernetes/src/kubernetes/loader.rb b/kubernetes/src/kubernetes/loader.rb index 295490e9..31f59fb0 100644 --- a/kubernetes/src/kubernetes/loader.rb +++ b/kubernetes/src/kubernetes/loader.rb @@ -16,33 +16,40 @@ require 'kubernetes/config/kube_config' module Kubernetes - class Configuration - def self.default_config() - # KUBECONFIG environment variable - result = Configuration.new() - kc = "#{ENV['KUBECONFIG']}" - if File.exist?(kc) - k_config = KubeConfig.new(kc) - k_config.configure(result) - return result - end - # default home location - kc = "#{ENV['HOME']}/.kube/config" - if File.exist?(kc) - k_config = KubeConfig.new(kc) - k_config.configure(result) - return result - end - # In cluster config - if InClusterConfig::in_cluster? - k_config = InClusterConfig.new() - k_config.configure(result) - return result - end - - result.scheme = 'http' - result.host = 'localhost:8080' - return result - end + # Configuration is a utility class for loading kubernetes configurations + class Configuration + def self.default_config + result = Configuration.new + return result if load_local_config(result) + + # In cluster config + if InClusterConfig.in_cluster? + k_config = InClusterConfig.new + k_config.configure(result) + return result + end + + result.scheme = 'http' + result.host = 'localhost:8080' + result + end + + def self.load_local_config(result) + # KUBECONFIG environment variable + kc = (ENV['KUBECONFIG']).to_s + return load_file_config(kc, result) if File.exist?(kc) + + # default home location + kc = "#{ENV['HOME']}/.kube/config" + return unless File.exist?(kc) + + load_file_config(kc, result) + end + + def self.load_file_config(file, result) + k_config = KubeConfig.new(file) + k_config.configure(result) + result end -end \ No newline at end of file + end +end diff --git a/kubernetes/src/kubernetes/utils.rb b/kubernetes/src/kubernetes/utils.rb index ec8a85bb..6fc3ca00 100644 --- a/kubernetes/src/kubernetes/utils.rb +++ b/kubernetes/src/kubernetes/utils.rb @@ -15,8 +15,8 @@ require 'kubernetes/config/incluster_config' require 'kubernetes/config/kube_config' +# The Kubernetes module encapsulates the Kubernetes client for Ruby module Kubernetes - # # Use the service account kubernetes gives to pods to connect to kubernetes # cluster. It's intended for clients that expect to be running inside a pod @@ -31,10 +31,12 @@ def load_incluster_config(client_configuration: Configuration.default) # Loads authentication and cluster information from kube-config file # and stores them in Kubernetes::Configuration. # @param config_file [String] Path of the kube-config file. - # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. - # @param client_configuration [Kubernetes::Configuration] The Kubernetes::Configuration tp set configs to. + # @param context [String] Set the active context. If is set to nil, + # current_context from config file will be used. + # @param client_configuration [Kubernetes::Configuration] The + # Kubernetes::Configuration tp set configs to. def load_kube_config( - config_file=ENV['KUBECONFIG'], + config_file = ENV['KUBECONFIG'], context: nil, client_configuration: Configuration.default ) @@ -48,17 +50,41 @@ def load_kube_config( # to be used with any API object. This will allow the caller to concurrently # talk with multiple clusters. # @param config_file [String] Path of the kube-config file. - # @param context [String] Set the active context. If is set to nil, current_context from config file will be used. + # @param context [String] Set the active context. If is set to nil, + # current_context from config file will be used. # @return [Kubernetes::ApiClient] Api client for Kubernetes cluster def new_client_from_config( - config_file=ENV['KUBECONFIG'], + config_file = ENV['KUBECONFIG'], context: nil ) config_file ||= KubeConfig::KUBE_CONFIG_DEFAULT_LOCATION client_configuration = Configuration.new - load_kube_config(config_file, context: context, client_configuration: client_configuration) + load_kube_config(config_file, + context: context, + client_configuration: client_configuration) ApiClient.new(client_configuration) end - extend self + def create_temp_file_and_set(obj, key) + return unless obj && !obj[key] && obj["#{key}-data"] + + obj[key] = create_temp_file_with_base64content(obj["#{key}-data"]) + end + + @temp_files = {} + + def create_temp_file_with_base64content(content) + @temp_files[content] ||= Tempfile.open('kube') do |temp| + temp.write(Base64.strict_decode64(content)) + temp.path + end + end + + def cache_temp_file(content, path) + @temp_files[content] = path + end + + module_function :new_client_from_config, :load_incluster_config, + :load_kube_config, :create_temp_file_and_set, + :create_temp_file_with_base64content, :cache_temp_file end From e575080dc640446d0e3cbe5473bc690ff5cdcfde Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 1 Apr 2019 20:41:19 -0700 Subject: [PATCH 29/48] Lint fixes for spec files. --- .../spec/config/incluster_config_spec.rb | 75 ++++++---- kubernetes/spec/config/kube_config_spec.rb | 125 +++++++++-------- kubernetes/spec/config/matchers.rb | 4 +- .../spec/fixtures/config/kube_config_hash.rb | 120 ++++++++-------- kubernetes/spec/helpers/file_fixtures.rb | 7 +- kubernetes/spec/spec_helper.rb | 128 +++++++++--------- kubernetes/spec/utils_spec.rb | 49 ++++--- 7 files changed, 281 insertions(+), 227 deletions(-) diff --git a/kubernetes/spec/config/incluster_config_spec.rb b/kubernetes/spec/config/incluster_config_spec.rb index 15c2cdbf..5d664ded 100644 --- a/kubernetes/spec/config/incluster_config_spec.rb +++ b/kubernetes/spec/config/incluster_config_spec.rb @@ -18,18 +18,24 @@ require 'kubernetes/config/incluster_config' - +# rubocop:disable BlockLength describe Kubernetes::InClusterConfig do - context '#configure' do let(:incluster_config) do Kubernetes::InClusterConfig.new.tap do |c| - c.instance_variable_set(:@env, { + c.instance_variable_set( + :@env, Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', - Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', - }) - c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443' + ) + c.instance_variable_set( + :@ca_cert, + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + ) + c.instance_variable_set( + :@token_file, + Kubernetes::Testing.file_fixture('tokens/token').to_s + ) end end @@ -37,7 +43,7 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'localhost:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing.file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = 'Bearer token1' end actual = Kubernetes::Configuration.new @@ -50,55 +56,67 @@ context '#validate' do let(:incluster_config) do Kubernetes::InClusterConfig.new.tap do |c| - c.instance_variable_set(:@env, { + c.instance_variable_set( + :@env, Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', - Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', - }) - c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443' + ) + c.instance_variable_set( + :@ca_cert, + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + ) + c.instance_variable_set( + :@token_file, + Kubernetes::Testing.file_fixture('tokens/token').to_s + ) end end context 'if valid environment' do - it 'shold not raise ConfigError' do expect { incluster_config.validate }.not_to raise_error end end context 'if SERVICE_HOST_ENV_NAME env variable is not set' do - it 'should raise ConfigError' do - incluster_config.env[Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME] = nil + env_key = Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME + incluster_config.env[env_key] = nil - expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + expect { incluster_config.validate }.to raise_error( + Kubernetes::ConfigError + ) end end context 'if SERVICE_PORT_ENV_NAME env variable is not set' do - it 'should raise ConfigError' do - incluster_config.env[Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME] = nil + env_key = Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME + incluster_config.env[env_key] = nil - expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + expect { incluster_config.validate }.to raise_error( + Kubernetes::ConfigError + ) end end context 'if ca_cert file is not exist' do - it 'shold raise ConfigError' do incluster_config.instance_variable_set(:@ca_cert, 'certs/no_ca.crt') - expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + expect { incluster_config.validate }.to raise_error( + Kubernetes::ConfigError + ) end end context 'if token file is not exist' do - it 'shold raise ConfigError' do incluster_config.instance_variable_set(:@token_file, 'tokens/no_token') - expect { incluster_config.validate }.to raise_error(Kubernetes::ConfigError) + expect { incluster_config.validate }.to raise_error( + Kubernetes::ConfigError + ) end end end @@ -107,7 +125,9 @@ let(:incluster_config) { Kubernetes::InClusterConfig.new } it 'shold return "/var/run/secrets/kubernetes.io/serviceaccount/ca.crt"' do - expect(incluster_config.ca_cert).to eq('/var/run/secrets/kubernetes.io/serviceaccount/ca.crt') + expect(incluster_config.ca_cert).to eq( + '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt' + ) end end @@ -115,7 +135,10 @@ let(:incluster_config) { Kubernetes::InClusterConfig.new } it 'shold return "/var/run/secrets/kubernetes.io/serviceaccount/token"' do - expect(incluster_config.token_file).to eq('/var/run/secrets/kubernetes.io/serviceaccount/token') + expect(incluster_config.token_file).to eq( + '/var/run/secrets/kubernetes.io/serviceaccount/token' + ) end end end +# rubocop:enable BlockLength diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 8bd1ef43..c013ffac 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -21,9 +21,10 @@ require 'kubernetes/config/kube_config' require 'kubernetes/loader' - +# rubocop:disable BlockLength describe Kubernetes::KubeConfig do - let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + file = Kubernetes::Testing.file_fixture('config/config').to_s + let(:kube_config) { Kubernetes::KubeConfig.new(file, TEST_KUBE_CONFIG) } context '#configure' do context 'if non user context is given' do @@ -44,9 +45,12 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s - c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s - c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s + c.ssl_ca_cert = + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + c.cert_file = + Kubernetes::Testing.file_fixture('certs/client.crt').to_s + c.key_file = + Kubernetes::Testing.file_fixture('certs/client.key').to_s c.verify_ssl = true end actual = Kubernetes::Configuration.new @@ -61,9 +65,12 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s - c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s - c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s + c.ssl_ca_cert = + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + c.cert_file = + Kubernetes::Testing.file_fixture('certs/client.crt').to_s + c.key_file = + Kubernetes::Testing.file_fixture('certs/client.key').to_s c.verify_ssl = false c.verify_ssl_host = false end @@ -81,7 +88,7 @@ expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing.file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = "Bearer #{TEST_DATA_BASE64}" end actual = Kubernetes::Configuration.new @@ -94,15 +101,17 @@ context '#config' do context 'if config hash is not given when it is initialized' do - let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/empty').to_s) } + file = Kubernetes::Testing.file_fixture('config/empty').to_s + let(:kube_config) { Kubernetes::KubeConfig.new(file) } it 'should load config' do expect(kube_config.config).to eq({}) end end context 'if config hash is given when it is initialized' do - let(:given_hash) { {given: 'hash'} } - let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/empty').to_s, given_hash) } + let(:given_hash) { { given: 'hash' } } + file = Kubernetes::Testing.file_fixture('config/empty').to_s + let(:kube_config) { Kubernetes::KubeConfig.new(file, given_hash) } it 'should not load config' do expect(kube_config.config).to eq(given_hash) @@ -124,7 +133,7 @@ cluster = kube_config.find_cluster('ssl-data') ca_file = cluster['certificate-authority'] expect(ca_file).not_to be_nil - open(ca_file) do |io| + File.open(ca_file) do |io| expect(io.read).to eq(TEST_CERTIFICATE_AUTH) end end @@ -161,7 +170,7 @@ user = kube_config.find_user('user_cert_data') cert_file = user['client-certificate'] expect(cert_file).not_to be_nil - open(cert_file) do |io| + File.open(cert_file) do |io| expect(io.read).to eq(TEST_CLIENT_CERT) end end @@ -172,7 +181,7 @@ user = kube_config.find_user('user_cert_data') key_file = user['client-key'] expect(key_file).not_to be_nil - open(key_file) do |io| + File.open(key_file) do |io| expect(io.read).to eq(TEST_CLIENT_KEY) end end @@ -182,7 +191,7 @@ it 'should read token from file if given' do user = kube_config.find_user('simple_token_file') - expect(user['authorization']).to eq("Bearer token1") + expect(user['authorization']).to eq('Bearer token1') end end @@ -197,7 +206,8 @@ context '#list_context_names' do it 'should list context names' do - expect(kube_config.list_context_names.sort).to eq(["default", "no_user", "context_ssl", "context_insecure", "context_token"].sort) + arr = %w[default no_user context_ssl context_insecure context_token].sort + expect(kube_config.list_context_names.sort).to eq(arr) end end @@ -205,10 +215,10 @@ context 'if valid name is given' do it 'should return context' do expect(kube_config.find_context('default')['cluster']['server']).to eq( - TEST_CLUSTER_DEFAULT['cluster']['server'], + TEST_CLUSTER_DEFAULT['cluster']['server'] ) expect(kube_config.find_context('default')['user']['username']).to eq( - TEST_USER_DEFAULT['user']['username'], + TEST_USER_DEFAULT['user']['username'] ) end end @@ -217,12 +227,11 @@ context '#current_context' do it 'should return current context' do expect(kube_config.current_context['cluster']['server']).to eq( - TEST_CLUSTER_DEFAULT['cluster']['server'], + TEST_CLUSTER_DEFAULT['cluster']['server'] ) end end - context 'load from defaults' do before(:each) do # Clear out everything before each run. @@ -230,52 +239,58 @@ ENV['KUBECONFIG'] = nil ENV['KUBERNETES_SERVICE_HOST'] = nil ENV['KUBERNETES_SERVICE_PORT'] = nil - + # Suppress warnings warn_level = $VERBOSE - $VERBOSE = nil - Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = '/non/existent/file/token' - Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = '/non/existent/file/ca.crt' - $VERBOSE = warn_level - end + $VERBOSE = nil + Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = + '/non/existent/file/token'.freeze + Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = + '/non/existent/file/ca.crt'.freeze + $VERBOSE = warn_level + end - it 'should load from KUBECONFIG' do - ENV['KUBECONFIG'] = Kubernetes::Testing::file_fixture('config/config_2').to_s - ENV['HOME'] = Kubernetes::Testing::file_fixture('config').to_s - config = Kubernetes::Configuration::default_config + it 'should load from KUBECONFIG' do + ENV['KUBECONFIG'] = + Kubernetes::Testing.file_fixture('config/config_2').to_s + ENV['HOME'] = Kubernetes::Testing.file_fixture('config').to_s + config = Kubernetes::Configuration.default_config - expect(config.host).to eq('other:8080') - end + expect(config.host).to eq('other:8080') + end - it 'should load from HOME' do - ENV['HOME'] = Kubernetes::Testing::file_fixture('config').to_s - config = Kubernetes::Configuration::default_config + it 'should load from HOME' do + ENV['HOME'] = Kubernetes::Testing.file_fixture('config').to_s + config = Kubernetes::Configuration.default_config - expect(config.host).to eq('firstconfig:8080') - end + expect(config.host).to eq('firstconfig:8080') + end - it 'should load from cluster' do - ENV['KUBERNETES_SERVICE_HOST'] = 'kubernetes' - ENV['KUBERNETES_SERVICE_PORT'] = '8888' + it 'should load from cluster' do + ENV['KUBERNETES_SERVICE_HOST'] = 'kubernetes' + ENV['KUBERNETES_SERVICE_PORT'] = '8888' - # Suppress warnings - warn_level = $VERBOSE - $VERBOSE = nil + # Suppress warnings + warn_level = $VERBOSE + $VERBOSE = nil - # Override constants for token and cert locations - Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = Kubernetes::Testing::file_fixture('config/config').to_s - Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s - $VERBOSE = warn_level + # Override constants for token and cert locations + Kubernetes::InClusterConfig::SERVICE_TOKEN_FILENAME = + Kubernetes::Testing.file_fixture('config/config').to_s + Kubernetes::InClusterConfig::SERVICE_CA_CERT_FILENAME = + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + $VERBOSE = warn_level - config = Kubernetes::Configuration::default_config + config = Kubernetes::Configuration.default_config - expect(config.host).to eq('kubernetes:8888') - end + expect(config.host).to eq('kubernetes:8888') + end - it 'should default to localhost' do - config = Kubernetes::Configuration::default_config + it 'should default to localhost' do + config = Kubernetes::Configuration.default_config - expect(config.host).to eq('localhost:8080') - end + expect(config.host).to eq('localhost:8080') end + end end +# rubocop:enable BlockLength diff --git a/kubernetes/spec/config/matchers.rb b/kubernetes/spec/config/matchers.rb index 335bbba4..83118688 100644 --- a/kubernetes/spec/config/matchers.rb +++ b/kubernetes/spec/config/matchers.rb @@ -14,11 +14,11 @@ RSpec::Matchers.define :be_same_configuration_as do |expected| match do |actual| - to_h = Proc.new do |configuration| + to_h = proc do |configuration| {}.tap do |hash| configuration.instance_variables.each do |var| value = configuration.instance_variable_get(var) - if value.kind_of?(Hash) || value.kind_of?(String) + if value.is_a?(Hash) || value.is_a?(String) hash[var.to_s.tr('@', '')] = value end end diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb index 0671755c..74812185 100644 --- a/kubernetes/spec/fixtures/config/kube_config_hash.rb +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -15,134 +15,136 @@ require 'base64' require 'helpers/file_fixtures' - TEST_TOKEN_FILE = Kubernetes::Testing.file_fixture('tokens/token') -TEST_DATA = "test-data" +TEST_DATA = 'test-data'.freeze TEST_DATA_BASE64 = Base64.strict_encode64(TEST_DATA) -TEST_HOST = "http://test-host/" -TEST_USERNAME = "me" -TEST_PASSWORD = "pass" +TEST_HOST = 'http://test-host/'.freeze +TEST_USERNAME = 'me'.freeze +TEST_PASSWORD = 'pass'.freeze # token for me:pass -TEST_BASIC_TOKEN = "Basic bWU6cGFzcw==" +TEST_BASIC_TOKEN = 'Basic bWU6cGFzcw=='.freeze -TEST_SSL_HOST = "https://test-host/" -TEST_CERTIFICATE_AUTH = "cert-auth" +TEST_SSL_HOST = 'https://test-host/'.freeze +TEST_CERTIFICATE_AUTH = 'cert-auth'.freeze TEST_CERTIFICATE_AUTH_BASE64 = Base64.strict_encode64(TEST_CERTIFICATE_AUTH) -TEST_CLIENT_KEY = "client-key" +TEST_CLIENT_KEY = 'client-key'.freeze TEST_CLIENT_KEY_BASE64 = Base64.strict_encode64(TEST_CLIENT_KEY) -TEST_CLIENT_CERT = "client-cert" +TEST_CLIENT_CERT = 'client-cert'.freeze TEST_CLIENT_CERT_BASE64 = Base64.strict_encode64(TEST_CLIENT_CERT) TEST_CONTEXT_DEFAULT = { 'name' => 'default', 'context' => { 'cluster' => 'default', - 'user' => 'default', + 'user' => 'default' } -} +}.freeze TEST_CONTEXT_NO_USER = { 'name' => 'no_user', 'context' => { - 'cluster' => 'default', + 'cluster' => 'default' } -} +}.freeze TEST_CONTEXT_SSL = { 'name' => 'context_ssl', 'context' => { 'cluster' => 'ssl-file', - 'user' => 'user_cert_file', + 'user' => 'user_cert_file' } -} +}.freeze TEST_CONTEXT_INSECURE = { 'name' => 'context_insecure', 'context' => { 'cluster' => 'ssl-data-insecure', - 'user' => 'user_cert_file', + 'user' => 'user_cert_file' } -} +}.freeze TEST_CONTEXT_TOKEN = { 'name' => 'context_token', 'context' => { 'cluster' => 'ssl-file', - 'user' => 'simple_token', + 'user' => 'simple_token' } -} +}.freeze TEST_CLUSTER_DEFAULT = { 'name' => 'default', 'cluster' => { - 'server' => TEST_HOST, - }, -} + 'server' => TEST_HOST + } +}.freeze TEST_CLUSTER_SSL_FILE = { 'name' => 'ssl-file', 'cluster' => { 'server' => TEST_SSL_HOST, - 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, - }, -} + 'certificate-authority' => + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + } +}.freeze TEST_CLUSTER_SSL_DATA = { 'name' => 'ssl-data', 'cluster' => { 'server' => TEST_SSL_HOST, - 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64, - }, -} + 'certificate-authority-data' => TEST_CERTIFICATE_AUTH_BASE64 + } +}.freeze TEST_CLUSTER_INSECURE = { 'name' => 'ssl-data-insecure', 'cluster' => { 'server' => TEST_SSL_HOST, - 'certificate-authority' => Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, - 'insecure-skip-tls-verify' => true, - }, -} + 'certificate-authority' => + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s, + 'insecure-skip-tls-verify' => true + } +}.freeze TEST_USER_DEFAULT = { 'name' => 'default', 'user' => { - 'token' => TEST_DATA_BASE64, + 'token' => TEST_DATA_BASE64 } -} +}.freeze TEST_USER_SIMPLE_TOKEN = { 'name' => 'simple_token', 'user' => { 'token' => TEST_DATA_BASE64, - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD # should be ignored + } +}.freeze TEST_USER_SIMPLE_TOKEN_FILE = { 'name' => 'simple_token_file', 'user' => { 'tokenFile' => TEST_TOKEN_FILE, - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD # should be ignored + } +}.freeze TEST_USER_USER_PASS = { 'name' => 'user_pass', 'user' => { - 'username' => TEST_USERNAME, # should be ignored - 'password' => TEST_PASSWORD, # should be ignored - }, -} + 'username' => TEST_USERNAME, # should be ignored + 'password' => TEST_PASSWORD # should be ignored + } +}.freeze TEST_USER_CERT_DATA = { 'name' => 'user_cert_data', 'user' => { 'token' => TEST_DATA_BASE64, 'client-certificate-data' => TEST_CLIENT_CERT_BASE64, - 'client-key-data' => TEST_CLIENT_KEY_BASE64, - }, -} + 'client-key-data' => TEST_CLIENT_KEY_BASE64 + } +}.freeze TEST_USER_CERT_FILE = { 'name' => 'user_cert_file', 'user' => { - 'client-certificate' => Kubernetes::Testing.file_fixture('certs/client.crt').to_s, - 'client-key' => Kubernetes::Testing.file_fixture('certs/client.key').to_s, - }, -} + 'client-certificate' => + Kubernetes::Testing.file_fixture('certs/client.crt').to_s, + 'client-key' => Kubernetes::Testing.file_fixture('certs/client.key').to_s + } +}.freeze TEST_KUBE_CONFIG = { 'current-context' => 'no_user', @@ -151,13 +153,13 @@ TEST_CONTEXT_NO_USER, TEST_CONTEXT_SSL, TEST_CONTEXT_TOKEN, - TEST_CONTEXT_INSECURE, + TEST_CONTEXT_INSECURE ], 'clusters' => [ TEST_CLUSTER_DEFAULT, TEST_CLUSTER_SSL_FILE, TEST_CLUSTER_SSL_DATA, - TEST_CLUSTER_INSECURE, + TEST_CLUSTER_INSECURE ], 'users' => [ TEST_USER_DEFAULT, @@ -165,6 +167,6 @@ TEST_USER_SIMPLE_TOKEN_FILE, TEST_USER_USER_PASS, TEST_USER_CERT_DATA, - TEST_USER_CERT_FILE, - ], -} + TEST_USER_CERT_FILE + ] +}.freeze diff --git a/kubernetes/spec/helpers/file_fixtures.rb b/kubernetes/spec/helpers/file_fixtures.rb index 17c1bcd4..b8145dff 100644 --- a/kubernetes/spec/helpers/file_fixtures.rb +++ b/kubernetes/spec/helpers/file_fixtures.rb @@ -14,9 +14,12 @@ require 'pathname' module Kubernetes + # The Testing module contains utilities for unit testing module Testing + # The FileFixtures module contains utilities for loading file resources module FileFixtures - FIXTURES_DIR_PATH = File.join(File.dirname(__FILE__), '..', 'fixtures', 'files') + FIXTURES_DIR_PATH = + File.join(File.dirname(__FILE__), '..', 'fixtures', 'files') # Returns a +Pathname+ to the fixture file named +fixture_name+. # @@ -28,7 +31,7 @@ def file_fixture(fixture_name) path else msg = "the directory '%s' does not contain a file named '%s'" - raise ArgumentError, msg % [FIXTURES_DIR_PATH, fixture_name] + raise ArgumentError, format(msg, FIXTURES_DIR_PATH, fixture_name) end end end diff --git a/kubernetes/spec/spec_helper.rb b/kubernetes/spec/spec_helper.rb index 19683946..dcae4db6 100644 --- a/kubernetes/spec/spec_helper.rb +++ b/kubernetes/spec/spec_helper.rb @@ -1,21 +1,19 @@ -=begin -#Kubernetes - -#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - -OpenAPI spec version: v1.13.4 - -Generated by: https://github.com/swagger-api/swagger-codegen.git -Swagger Codegen version: 2.2.3 - -=end +# #Kubernetes +# +# No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) +# +# OpenAPI spec version: v1.13.4 +# +# Generated by: https://github.com/swagger-api/swagger-codegen.git +# Swagger Codegen version: 2.2.3 +# # load the gem require 'kubernetes' require 'helpers/file_fixtures' -# The following was generated by the `rspec --init` command. Conventionally, all -# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. +# The following was generated by the `rspec --init` command. Conventionally, +# all specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # The generated `.rspec` file contains `--require spec_helper` which will cause # this file to always be loaded, without a need to explicitly require it in any # files. @@ -56,57 +54,55 @@ mocks.verify_partial_doubles = true end -# The settings below are suggested to provide a good initial experience -# with RSpec, but feel free to customize to your heart's content. -=begin - # These two settings work together to allow you to limit a spec run - # to individual examples or groups you care about by tagging them with - # `:focus` metadata. When nothing is tagged with `:focus`, all examples - # get run. - config.filter_run :focus - config.run_all_when_everything_filtered = true - - # Allows RSpec to persist some state between runs in order to support - # the `--only-failures` and `--next-failure` CLI options. We recommend - # you configure your source control system to ignore this file. - config.example_status_persistence_file_path = "spec/examples.txt" - - # Limits the available syntax to the non-monkey patched syntax that is - # recommended. For more details, see: - # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ - # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ - # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode - config.disable_monkey_patching! - - # This setting enables warnings. It's recommended, but in some cases may - # be too noisy due to issues in dependencies. - config.warnings = true - - # Many RSpec users commonly either run the entire suite or an individual - # file, and it's useful to allow more verbose output when running an - # individual spec file. - if config.files_to_run.one? - # Use the documentation formatter for detailed output, - # unless a formatter has already been configured - # (e.g. via a command-line flag). - config.default_formatter = 'doc' - end - - # Print the 10 slowest examples and example groups at the - # end of the spec run, to help surface which specs are running - # particularly slow. - config.profile_examples = 10 - - # Run specs in random order to surface order dependencies. If you find an - # order dependency and want to debug it, you can fix the order by providing - # the seed, which is printed after each run. - # --seed 1234 - config.order = :random - - # Seed global randomization in this process using the `--seed` CLI option. - # Setting this allows you to use `--seed` to deterministically reproduce - # test failures related to randomization by passing the same `--seed` value - # as the one that triggered the failure. - Kernel.srand config.seed -=end + # The settings below are suggested to provide a good initial experience + # with RSpec, but feel free to customize to your heart's content. + # # These two settings work together to allow you to limit a spec run + # # to individual examples or groups you care about by tagging them with + # # `:focus` metadata. When nothing is tagged with `:focus`, all examples + # # get run. + # config.filter_run :focus + # config.run_all_when_everything_filtered = true + # + # # Allows RSpec to persist some state between runs in order to support + # # the `--only-failures` and `--next-failure` CLI options. We recommend + # # you configure your source control system to ignore this file. + # config.example_status_persistence_file_path = "spec/examples.txt" + # + # # Limits the available syntax to the non-monkey patched syntax that is + # # recommended. For more details, see: + # # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/ + # # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/ + # # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode + # config.disable_monkey_patching! + # + # # This setting enables warnings. It's recommended, but in some cases may + # # be too noisy due to issues in dependencies. + # config.warnings = true + # + # # Many RSpec users commonly either run the entire suite or an individual + # # file, and it's useful to allow more verbose output when running an + # # individual spec file. + # if config.files_to_run.one? + # # Use the documentation formatter for detailed output, + # # unless a formatter has already been configured + # # (e.g. via a command-line flag). + # config.default_formatter = 'doc' + # end + # + # # Print the 10 slowest examples and example groups at the + # # end of the spec run, to help surface which specs are running + # # particularly slow. + # config.profile_examples = 10 + # + # # Run specs in random order to surface order dependencies. If you find an + # # order dependency and want to debug it, you can fix the order by + # # providing the seed, which is printed after each run. + # # --seed 1234 + # config.order = :random + # + # # Seed global randomization in this process using the `--seed` CLI option. + # # Setting this allows you to use `--seed` to deterministically reproduce + # # test failures related to randomization by passing the same `--seed` + # # value as the one that triggered the failure. + # Kernel.srand config.seed end diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb index 431ec303..1d0c6025 100644 --- a/kubernetes/spec/utils_spec.rb +++ b/kubernetes/spec/utils_spec.rb @@ -19,27 +19,35 @@ require 'kubernetes/utils' - +# rubocop:disable BlockLength describe Kubernetes do - describe '.load_incluster_config' do let(:incluster_config) do Kubernetes::InClusterConfig.new.tap do |c| - c.instance_variable_set(:@env, { + c.instance_variable_set( + :@env, Kubernetes::InClusterConfig::SERVICE_HOST_ENV_NAME => 'localhost', - Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443', - }) - c.instance_variable_set(:@ca_cert, Kubernetes::Testing::file_fixture('certs/ca.crt').to_s) - c.instance_variable_set(:@token_file, Kubernetes::Testing::file_fixture('tokens/token').to_s) + Kubernetes::InClusterConfig::SERVICE_PORT_ENV_NAME => '443' + ) + c.instance_variable_set( + :@ca_cert, + Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + ) + c.instance_variable_set( + :@token_file, + Kubernetes::Testing.file_fixture('tokens/token').to_s + ) end end it 'should configure client configuration from in-cluster config' do - allow(Kubernetes::InClusterConfig).to receive(:new).and_return(incluster_config) + allow(Kubernetes::InClusterConfig) + .to receive(:new) + .and_return(incluster_config) expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'localhost:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s + c.ssl_ca_cert = Kubernetes::Testing.file_fixture('certs/ca.crt').to_s c.api_key['authorization'] = 'Bearer token1' end actual = Kubernetes::Configuration.new @@ -50,17 +58,21 @@ end describe '.load_kube_config' do - let(:kube_config) { Kubernetes::KubeConfig.new(Kubernetes::Testing::file_fixture('config/config').to_s, TEST_KUBE_CONFIG) } + file = Kubernetes::Testing.file_fixture('config/config').to_s + let(:kube_config) { Kubernetes::KubeConfig.new(file, TEST_KUBE_CONFIG) } it 'should configure client configuration from kube_config' do kubeconfig_path = 'kubeconfig/path' - allow(Kubernetes::KubeConfig).to receive(:new).with(kubeconfig_path).and_return(kube_config) + allow(Kubernetes::KubeConfig) + .to receive(:new) + .with(kubeconfig_path) + .and_return(kube_config) expected = Kubernetes::Configuration.new do |c| c.scheme = 'https' c.host = 'test-host:443' - c.ssl_ca_cert = Kubernetes::Testing::file_fixture('certs/ca.crt').to_s - c.cert_file = Kubernetes::Testing::file_fixture('certs/client.crt').to_s - c.key_file = Kubernetes::Testing::file_fixture('certs/client.key').to_s + c.ssl_ca_cert = Kubernetes::Testing.file_fixture('certs/ca.crt').to_s + c.cert_file = Kubernetes::Testing.file_fixture('certs/client.crt').to_s + c.key_file = Kubernetes::Testing.file_fixture('certs/client.key').to_s end actual = Kubernetes::Configuration.new @@ -83,7 +95,8 @@ expect(io).to receive(:write).with(TEST_DATA) allow(Tempfile).to receive(:open).and_yield(io) - expect(Kubernetes.create_temp_file_with_base64content(content)).to eq(expected_path) + path = Kubernetes.create_temp_file_with_base64content(content) + expect(path).to eq(expected_path) end end @@ -91,13 +104,15 @@ it 'should return cached value' do expected_path = 'tempfile-path' content = TEST_DATA_BASE64 - Kubernetes::cache_temp_file(content, expected_path) + Kubernetes.cache_temp_file(content, expected_path) io = double('io') expect(io).not_to receive(:path) expect(io).not_to receive(:write).with(TEST_DATA) - expect(Kubernetes.create_temp_file_with_base64content(content)).to eq(expected_path) + path = Kubernetes.create_temp_file_with_base64content(content) + expect(path).to eq(expected_path) end end end end +# rubocop:enable BlockLength From e5b4ec6606c76526f0ade50359448a2f8e13ac2d Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 1 Apr 2019 20:42:19 -0700 Subject: [PATCH 30/48] Add rubocop to the spec directory. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index bb1e30ba..1c295ead 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,5 @@ rvm: script: - cd kubernetes - bundle exec rubocop ./src +- bundle exec rubocop ./spec - bundle exec rspec From 64a48d085c41af27482ad82480be584bc5c0919d Mon Sep 17 00:00:00 2001 From: David Huie Date: Tue, 2 Apr 2019 06:21:58 -0700 Subject: [PATCH 31/48] Require 'kubernetes/utils' Without this import, `Kubernetes` module functions like `Kubernetes.create_temp_file_and_set` aren't actually useable from within the `KubeConfig` class, breaking certificate-based auth. --- kubernetes/src/kubernetes/config/kube_config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index 3a163a72..2d96ed1b 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -20,6 +20,7 @@ require 'kubernetes/api_client' require 'kubernetes/configuration' require 'kubernetes/config/error' +require 'kubernetes/utils' module Kubernetes # The KubeConfig class represents configuration based on a YAML From b19e4f311934d6e1c342e881499e6d724ee903f0 Mon Sep 17 00:00:00 2001 From: David Huie Date: Tue, 2 Apr 2019 06:54:19 -0700 Subject: [PATCH 32/48] Save Tempfile instance in cache We currently save the string *path* to tempfiles within the `@temp_files` cache in the `Kubernetes` module. This is incorrect because tempfiles are deleted when Ruby garbage collects the parent `Tempfile` instance. This change replaces the string path with the `Tempfile` instance so that the files exist indefinitely. I also drop the function `cache_temp_file` since it's unused and its behavior is incorrect with regards to tempfiles. --- kubernetes/src/kubernetes/utils.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kubernetes/src/kubernetes/utils.rb b/kubernetes/src/kubernetes/utils.rb index 6fc3ca00..828ec816 100644 --- a/kubernetes/src/kubernetes/utils.rb +++ b/kubernetes/src/kubernetes/utils.rb @@ -76,15 +76,13 @@ def create_temp_file_and_set(obj, key) def create_temp_file_with_base64content(content) @temp_files[content] ||= Tempfile.open('kube') do |temp| temp.write(Base64.strict_decode64(content)) - temp.path + temp end - end - def cache_temp_file(content, path) - @temp_files[content] = path + @temp_files[content].path end module_function :new_client_from_config, :load_incluster_config, :load_kube_config, :create_temp_file_and_set, - :create_temp_file_with_base64content, :cache_temp_file + :create_temp_file_with_base64content end From 7205308e34478347318cac75d1710004b665dfca Mon Sep 17 00:00:00 2001 From: David Huie Date: Fri, 5 Apr 2019 07:31:01 -0700 Subject: [PATCH 33/48] Fix test to check for cached paths --- kubernetes/spec/utils_spec.rb | 10 +++++----- kubernetes/src/kubernetes/utils.rb | 6 +++++- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb index 1d0c6025..37ef85cf 100644 --- a/kubernetes/spec/utils_spec.rb +++ b/kubernetes/spec/utils_spec.rb @@ -86,6 +86,10 @@ end context '#create_temp_file_with_base64content' do + before do + Kubernetes.clear_temp_files + end + context 'when it is called at first time' do it 'should return temp file path' do expected_path = 'tempfile-path' @@ -102,12 +106,8 @@ context 'when it is already called' do it 'should return cached value' do - expected_path = 'tempfile-path' content = TEST_DATA_BASE64 - Kubernetes.cache_temp_file(content, expected_path) - io = double('io') - expect(io).not_to receive(:path) - expect(io).not_to receive(:write).with(TEST_DATA) + expected_path = Kubernetes.create_temp_file_with_base64content(content) path = Kubernetes.create_temp_file_with_base64content(content) expect(path).to eq(expected_path) diff --git a/kubernetes/src/kubernetes/utils.rb b/kubernetes/src/kubernetes/utils.rb index 828ec816..aef24a90 100644 --- a/kubernetes/src/kubernetes/utils.rb +++ b/kubernetes/src/kubernetes/utils.rb @@ -82,7 +82,11 @@ def create_temp_file_with_base64content(content) @temp_files[content].path end + def clear_temp_files + @temp_files = {} + end + module_function :new_client_from_config, :load_incluster_config, :load_kube_config, :create_temp_file_and_set, - :create_temp_file_with_base64content + :create_temp_file_with_base64content, :clear_temp_files end From 2be0198ef9d32ae0f5656486626e49615f240c6e Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 29 Mar 2019 21:22:17 -0700 Subject: [PATCH 34/48] Add support for Azure AAD login. Fix some bugs. --- kubernetes/lib/kubernetes.rb | 1 + kubernetes/src/kubernetes/config/kube_config.rb | 3 +++ 2 files changed, 4 insertions(+) diff --git a/kubernetes/lib/kubernetes.rb b/kubernetes/lib/kubernetes.rb index 8b0c31bc..8f841c3f 100644 --- a/kubernetes/lib/kubernetes.rb +++ b/kubernetes/lib/kubernetes.rb @@ -15,6 +15,7 @@ require 'kubernetes/api_error' require 'kubernetes/version' require 'kubernetes/configuration' +require 'kubernetes/loader' # Configuration require 'kubernetes/config/error' diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index 2d96ed1b..9c380d25 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -128,6 +128,9 @@ def setup_auth(user) elsif user['username'] && user['password'] user_pass = "#{user['username']}:#{user['password']}" user['authorization'] = "Basic #{Base64.strict_encode64(user_pass)}" + elsif user['auth-provider'] && user['auth-provider']['name'] == 'azure' + token = user['auth-provider']['config']['access-token'] + user['authorization'] = "Bearer #{token}" end end From 90cf6cd246e6a7513ddd6974c3217c839169a67c Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 1 Apr 2019 17:18:50 -0700 Subject: [PATCH 35/48] lint fixes. --- kubernetes/src/kubernetes/config/kube_config.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index 9c380d25..d14bf083 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -23,6 +23,7 @@ require 'kubernetes/utils' module Kubernetes + # rubocop:disable ClassLength # The KubeConfig class represents configuration based on a YAML # representation. class KubeConfig @@ -121,6 +122,7 @@ def load_token_file(user) end end + # rubocop:disable AbcSize def setup_auth(user) # Convert token field to http header if user['token'] @@ -133,6 +135,7 @@ def setup_auth(user) user['authorization'] = "Bearer #{token}" end end + # rubocop:enable AbcSize def list_context_names config['contexts'].map { |e| e['name'] } @@ -162,4 +165,5 @@ def find_by_name(list, key, name) obj[key].dup end end + # rubocop:enable ClassLength end From 403a4acbc84cd820f4e1d921d21fb743a01d695c Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 24 Apr 2019 11:02:11 -0700 Subject: [PATCH 36/48] Add tests. --- kubernetes/spec/config/kube_config_spec.rb | 8 ++++++++ .../spec/fixtures/config/kube_config_hash.rb | 16 +++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index c013ffac..3b307386 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -202,6 +202,14 @@ expect(user['authorization']).to eq(TEST_BASIC_TOKEN) end end + + context 'if azure user' do + it 'should return the access token' do + user = kube_config.find_user('user_azure') + + expect(user['authorization']).to eq(TEST_AZURE_TOKEN) + end + end end context '#list_context_names' do diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb index 74812185..d00667ab 100644 --- a/kubernetes/spec/fixtures/config/kube_config_hash.rb +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -25,6 +25,7 @@ TEST_PASSWORD = 'pass'.freeze # token for me:pass TEST_BASIC_TOKEN = 'Basic bWU6cGFzcw=='.freeze +TEST_AZURE_TOKEN = 'Bearer some-token'.freeze TEST_SSL_HOST = 'https://test-host/'.freeze TEST_CERTIFICATE_AUTH = 'cert-auth'.freeze @@ -146,6 +147,18 @@ } }.freeze +TEST_USER_AZURE = { + 'name' => 'user_azure', + 'user' => { + 'auth-provider' => { + 'name' => 'azure', + 'config' => { + 'access-token' => 'some-token' + } + } + } +}.freeze + TEST_KUBE_CONFIG = { 'current-context' => 'no_user', 'contexts' => [ @@ -167,6 +180,7 @@ TEST_USER_SIMPLE_TOKEN_FILE, TEST_USER_USER_PASS, TEST_USER_CERT_DATA, - TEST_USER_CERT_FILE + TEST_USER_CERT_FILE, + TEST_USER_AZURE ] }.freeze From 45f3e862578b63a49d5a64047b1ed711c6c7f8dc Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 26 Apr 2019 21:23:50 -0700 Subject: [PATCH 37/48] Rename the package and update docs in preparation for publishing to rubygems.org --- kubernetes/Gemfile.lock | 4 ++-- kubernetes/README.md | 8 ++++---- kubernetes/kubernetes.gemspec | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/kubernetes/Gemfile.lock b/kubernetes/Gemfile.lock index 7564f974..daccf56d 100644 --- a/kubernetes/Gemfile.lock +++ b/kubernetes/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - kubernetes (1.0.0.pre.alpha2) + kubernetes-io (1.0.0.pre.alpha2) json (~> 2.1, >= 2.1.0) typhoeus (~> 1.0, >= 1.0.1) @@ -78,7 +78,7 @@ DEPENDENCIES autotest-fsevent (~> 0.2, >= 0.2.12) autotest-growl (~> 0.2, >= 0.2.16) autotest-rails-pure (~> 4.1, >= 4.1.2) - kubernetes! + kubernetes-io! rake (~> 12.0.0) rspec (~> 3.6, >= 3.6.0) rubocop (~> 0.65.0) diff --git a/kubernetes/README.md b/kubernetes/README.md index 3a1e97df..459ec6be 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -23,21 +23,21 @@ gem build kubernetes.gemspec Then either install the gem locally: ```shell -gem install ./kubernetes-1.0.0.pre.alpha2.gem +gem install ./kubernetes-io-1.0.0.pre.alpha2.gem ``` -(for development, run `gem install --dev ./kubernetes-1.0.0.pre.alpha2.gem` to install the development dependencies) +(for development, run `gem install --dev ./kubernetes-io-1.0.0.pre.alpha2.gem` to install the development dependencies) or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/). Finally add this to the Gemfile: - gem 'kubernetes', '~> 1.0.0-alpha2' + gem 'kubernetes-io', '~> 1.0.0-alpha2' ### Install from Git If the Ruby gem is hosted at a git repository: https://github.com/kubernetes-client/ruby, then add the following in the Gemfile: - gem 'kubernetes', :git => 'https://github.com/kubernetes-client/ruby.git' + gem 'kubernetes-io', :git => 'https://github.com/kubernetes-client/ruby.git' ### Include the Ruby code directly diff --git a/kubernetes/kubernetes.gemspec b/kubernetes/kubernetes.gemspec index 00fea0f9..18bcf75d 100644 --- a/kubernetes/kubernetes.gemspec +++ b/kubernetes/kubernetes.gemspec @@ -16,12 +16,12 @@ $:.push File.expand_path("../lib", __FILE__) require "kubernetes/version" Gem::Specification.new do |s| - s.name = "kubernetes" + s.name = "kubernetes-io" s.version = Kubernetes::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Kubernetes authors"] s.email = ["kubernetes-sig-api-machinery@googlegroups.com"] - s.homepage = "https://kubernetes.io/" + s.homepage = "https://github.com/kubernetes-client/ruby" s.summary = "Kubernetes ruby client." s.description = "Kubernetes official ruby client to talk to kubernetes clusters." s.license = "Apache-2.0" From e9c68ef6730407f1fa1cfbaa17cb5702dd3a3a80 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 26 Apr 2019 21:24:27 -0700 Subject: [PATCH 38/48] Fix a bug parsing kubeconfig if the user context was empty string. --- kubernetes/spec/config/kube_config_spec.rb | 17 ++++++++++++++++- .../spec/fixtures/config/kube_config_hash.rb | 8 ++++++++ kubernetes/src/kubernetes/config/kube_config.rb | 6 ++++-- 3 files changed, 28 insertions(+), 3 deletions(-) diff --git a/kubernetes/spec/config/kube_config_spec.rb b/kubernetes/spec/config/kube_config_spec.rb index 3b307386..db35997a 100644 --- a/kubernetes/spec/config/kube_config_spec.rb +++ b/kubernetes/spec/config/kube_config_spec.rb @@ -40,6 +40,19 @@ end end + context 'if empty user context is given' do + it 'should configure non user configuration' do + expected = Kubernetes::Configuration.new do |c| + c.scheme = 'http' + c.host = 'test-host:80' + end + actual = Kubernetes::Configuration.new + + kube_config.configure(actual, 'empty_user') + expect(actual).to be_same_configuration_as(expected) + end + end + context 'if ssl context is given' do it 'should configure ssl configuration' do expected = Kubernetes::Configuration.new do |c| @@ -214,7 +227,9 @@ context '#list_context_names' do it 'should list context names' do - arr = %w[default no_user context_ssl context_insecure context_token].sort + # rubocop:disable LineLength + arr = %w[default no_user empty_user context_ssl context_insecure context_token].sort + # rubocop:enable LineLength expect(kube_config.list_context_names.sort).to eq(arr) end end diff --git a/kubernetes/spec/fixtures/config/kube_config_hash.rb b/kubernetes/spec/fixtures/config/kube_config_hash.rb index d00667ab..aacff7e9 100644 --- a/kubernetes/spec/fixtures/config/kube_config_hash.rb +++ b/kubernetes/spec/fixtures/config/kube_config_hash.rb @@ -48,6 +48,13 @@ 'cluster' => 'default' } }.freeze +TEST_CONTEXT_EMPTY_USER = { + 'name' => 'empty_user', + 'context' => { + 'cluster' => 'default', + 'user' => '' + } +}.freeze TEST_CONTEXT_SSL = { 'name' => 'context_ssl', 'context' => { @@ -164,6 +171,7 @@ 'contexts' => [ TEST_CONTEXT_DEFAULT, TEST_CONTEXT_NO_USER, + TEST_CONTEXT_EMPTY_USER, TEST_CONTEXT_SSL, TEST_CONTEXT_TOKEN, TEST_CONTEXT_INSECURE diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index d14bf083..79e543db 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -146,7 +146,9 @@ def find_context(name) if context['cluster'] context['cluster'] = find_cluster(context['cluster']) end - context['user'] = find_user(context['user']) if context['user'] + if context['user'] && !context['user'].empty? + context['user'] = find_user(context['user']) + end end end @@ -162,7 +164,7 @@ def find_by_name(list, key, name) obj = list.find { |item| item['name'] == name } raise ConfigError, "#{key}: #{name} not found" unless obj - obj[key].dup + obj[key].dup if obj[key] end end # rubocop:enable ClassLength From b96ff85549728d6df82341322b14e6b322f8b763 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Fri, 29 Mar 2019 22:34:27 -0700 Subject: [PATCH 39/48] Add initial support for watch. --- examples/watch/watch.rb | 25 ++++++++++++++++++ kubernetes/lib/kubernetes.rb | 1 + kubernetes/src/kubernetes/watch.rb | 41 ++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 examples/watch/watch.rb create mode 100644 kubernetes/src/kubernetes/watch.rb diff --git a/examples/watch/watch.rb b/examples/watch/watch.rb new file mode 100644 index 00000000..f996d8a7 --- /dev/null +++ b/examples/watch/watch.rb @@ -0,0 +1,25 @@ +# Copyright 2019 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'kubernetes' +require 'pp' + +config = Kubernetes::Configuration.default_config() +client = Kubernetes::ApiClient.new(config) + +watch = Kubernetes::Watch.new(client) + +watch.connect('/api/v1/namespaces') do |obj| + pp obj +end \ No newline at end of file diff --git a/kubernetes/lib/kubernetes.rb b/kubernetes/lib/kubernetes.rb index 8f841c3f..b1f78d93 100644 --- a/kubernetes/lib/kubernetes.rb +++ b/kubernetes/lib/kubernetes.rb @@ -16,6 +16,7 @@ require 'kubernetes/version' require 'kubernetes/configuration' require 'kubernetes/loader' +require 'kubernetes/watch' # Configuration require 'kubernetes/config/error' diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb new file mode 100644 index 00000000..95995a04 --- /dev/null +++ b/kubernetes/src/kubernetes/watch.rb @@ -0,0 +1,41 @@ +# Copyright 2019 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'json' + +# The Kubernetes module encapsulates the Kubernetes client for Ruby +module Kubernetes + class Watch + def initialize(client) + @client = client + end + + def connect(path, &block) + opts = { + :auth_names => ['BearerToken'] + } + request = @client.build_request('GET', path + '?watch=true', opts) + request.on_body do |chunk| + parts = chunk.split(/\n/) + parts.each do |part| + obj = JSON.parse(part) + yield obj + end + end + response = request.run + + pp response + end + end +end \ No newline at end of file From 32db31dc4d03e52d3e948821a4aab2abf2d8ee24 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 1 Apr 2019 17:16:14 -0700 Subject: [PATCH 40/48] Style cop fixes. --- kubernetes/src/kubernetes/watch.rb | 38 ++++++++++++++---------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb index 95995a04..4e05871d 100644 --- a/kubernetes/src/kubernetes/watch.rb +++ b/kubernetes/src/kubernetes/watch.rb @@ -16,26 +16,24 @@ # The Kubernetes module encapsulates the Kubernetes client for Ruby module Kubernetes - class Watch - def initialize(client) - @client = client - end - - def connect(path, &block) - opts = { - :auth_names => ['BearerToken'] - } - request = @client.build_request('GET', path + '?watch=true', opts) - request.on_body do |chunk| - parts = chunk.split(/\n/) - parts.each do |part| - obj = JSON.parse(part) - yield obj - end - end - response = request.run + # The Watch class provides the ability to watch a specific resource for + # updates. + class Watch + def initialize(client) + @client = client + end - pp response + def connect(path, &_block) + opts = { auth_names: ['BearerToken'] } + request = @client.build_request('GET', path + '?watch=true', opts) + request.on_body do |chunk| + parts = chunk.split(/\n/) + parts.each do |part| + obj = JSON.parse(part) + yield obj end + end + request.run end -end \ No newline at end of file + end +end From a2391b9cd12c3539c9d9ef5a6457db688ea72db2 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 1 Apr 2019 19:31:38 -0700 Subject: [PATCH 41/48] Address comments, add tests. --- kubernetes/spec/watch_spec.rb | 36 ++++++++++++++++++++++++++++++ kubernetes/src/kubernetes/watch.rb | 20 +++++++++++++---- 2 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 kubernetes/spec/watch_spec.rb diff --git a/kubernetes/spec/watch_spec.rb b/kubernetes/spec/watch_spec.rb new file mode 100644 index 00000000..7c3500ef --- /dev/null +++ b/kubernetes/spec/watch_spec.rb @@ -0,0 +1,36 @@ +# Copyright 2019 The Kubernetes Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'spec_helper' +require 'kubernetes/watch' + +describe 'WatchClient' do + it 'should construct correctly' do + Kubernetes::Watch.new(nil) + end + + it 'should parse chunks correctly' do + client = Kubernetes::Watch.new(nil) + last = '' + + last, data = client.split_lines(last, "foo\nbar\nba") + + expect(last).to eq('ba') + expect(data).to eq(%w[foo bar]) + + last, data = client.split_lines(last, "z\nblah\n") + expect(last).to eq('') + expect(data).to eq(%w[baz blah]) + end +end diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb index 4e05871d..80e616a3 100644 --- a/kubernetes/src/kubernetes/watch.rb +++ b/kubernetes/src/kubernetes/watch.rb @@ -26,14 +26,26 @@ def initialize(client) def connect(path, &_block) opts = { auth_names: ['BearerToken'] } request = @client.build_request('GET', path + '?watch=true', opts) + last = '' request.on_body do |chunk| - parts = chunk.split(/\n/) - parts.each do |part| - obj = JSON.parse(part) - yield obj + last, pieces = split_lines(last, chunk) + pieces.each do |part| + yield JSON.parse(part) end end request.run end + + def split_lines(last, chunk) + data = chunk + data = last + '' + data + + ix = data.rindex("\n") + return [data, []] unless ix + + complete = data[0..ix] + last = data[(ix + 1)..data.length] + [last, complete.split(/\n/)] + end end end From 46d757931d614b6594c50f04db35532b8203ea8d Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 30 Apr 2019 21:10:07 -0700 Subject: [PATCH 42/48] Add better unit tests. Add support for watch from resource version. --- .travis.yml | 4 ++ examples/watch/watch.rb | 2 +- kubernetes/Gemfile | 1 + kubernetes/Gemfile.lock | 10 ++-- kubernetes/spec/spec_helper.rb | 3 ++ kubernetes/spec/watch_spec.rb | 51 +++++++++++++++++++ .../src/kubernetes/config/kube_config.rb | 2 +- kubernetes/src/kubernetes/watch.rb | 6 ++- 8 files changed, 70 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c295ead..9cf85299 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ gemfile: kubernetes/Gemfile rvm: - 2.6 +before_install: + - gem update --system + - gem install bundler + script: - cd kubernetes - bundle exec rubocop ./src diff --git a/examples/watch/watch.rb b/examples/watch/watch.rb index f996d8a7..b1dcda3c 100644 --- a/examples/watch/watch.rb +++ b/examples/watch/watch.rb @@ -20,6 +20,6 @@ watch = Kubernetes::Watch.new(client) -watch.connect('/api/v1/namespaces') do |obj| +watch.connect('/api/v1/namespaces', nil) do |obj| pp obj end \ No newline at end of file diff --git a/kubernetes/Gemfile b/kubernetes/Gemfile index beefe220..dba8f1ba 100644 --- a/kubernetes/Gemfile +++ b/kubernetes/Gemfile @@ -5,4 +5,5 @@ gemspec group :development, :test do gem 'rake', '~> 12.0.0' gem 'rubocop', '~> 0.65.0' + gem 'webmock', '~> 3.5.1' end diff --git a/kubernetes/Gemfile.lock b/kubernetes/Gemfile.lock index daccf56d..68cf6da3 100644 --- a/kubernetes/Gemfile.lock +++ b/kubernetes/Gemfile.lock @@ -24,7 +24,7 @@ GEM ethon (0.12.0) ffi (>= 1.3.0) ffi (1.10.0) - hashdiff (0.3.8) + hashdiff (0.3.9) jaro_winkler (1.5.2) json (2.1.0) parallel (1.14.0) @@ -58,14 +58,14 @@ GEM ruby-progressbar (~> 1.7) unicode-display_width (~> 1.4.0) ruby-progressbar (1.10.0) - safe_yaml (1.0.4) + safe_yaml (1.0.5) sys-uname (1.0.4) ffi (>= 1.0.0) typhoeus (1.3.1) ethon (>= 0.9.0) unicode-display_width (1.4.1) vcr (3.0.3) - webmock (1.24.6) + webmock (3.5.1) addressable (>= 2.3.6) crack (>= 0.3.2) hashdiff @@ -83,7 +83,7 @@ DEPENDENCIES rspec (~> 3.6, >= 3.6.0) rubocop (~> 0.65.0) vcr (~> 3.0, >= 3.0.1) - webmock (~> 1.24, >= 1.24.3) + webmock (~> 3.5.1) BUNDLED WITH - 1.16.1 + 2.0.1 diff --git a/kubernetes/spec/spec_helper.rb b/kubernetes/spec/spec_helper.rb index dcae4db6..293ac14b 100644 --- a/kubernetes/spec/spec_helper.rb +++ b/kubernetes/spec/spec_helper.rb @@ -12,6 +12,9 @@ require 'kubernetes' require 'helpers/file_fixtures' +require 'webmock/rspec' +WebMock.disable_net_connect!(allow_localhost: true) + # The following was generated by the `rspec --init` command. Conventionally, # all specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # The generated `.rspec` file contains `--require spec_helper` which will cause diff --git a/kubernetes/spec/watch_spec.rb b/kubernetes/spec/watch_spec.rb index 7c3500ef..a6018310 100644 --- a/kubernetes/spec/watch_spec.rb +++ b/kubernetes/spec/watch_spec.rb @@ -20,6 +20,57 @@ Kubernetes::Watch.new(nil) end + it 'should connect correctly with resource version' do + config = Kubernetes::Configuration.new + config.scheme = 'http' + config.host = 'k8s.io:8080' + client = Kubernetes::ApiClient.new(config) + + WebMock.stub_request(:get, "http://k8s.io:8080/some/path?watch=true&resourceVersion=foo"). + with( + headers: { + 'Authorization'=>'', + 'Content-Type'=>'application/json', + 'Expect'=>'', + 'User-Agent'=>'Swagger-Codegen/1.0.0-alpha2/ruby' + }). + to_return(status: 200, body: "{}\n", headers: {}) + + watch = Kubernetes::Watch.new(client) + result = [] + watch.connect('/some/path', 'foo') do |obj| + result << obj + end + end + + + it 'should connect correctly' do + config = Kubernetes::Configuration.new + config.scheme = 'http' + config.host = 'k8s.io:8080' + client = Kubernetes::ApiClient.new(config) + + WebMock.stub_request(:get, "http://k8s.io:8080/some/path?watch=true"). + with( + headers: { + 'Authorization'=>'', + 'Content-Type'=>'application/json', + 'Expect'=>'', + 'User-Agent'=>'Swagger-Codegen/1.0.0-alpha2/ruby' + }). + to_return(status: 200, body: "{ \"foo\": \"bar\" }\n{ \"baz\": \"blah\" }\n{}\n", headers: {}) + + watch = Kubernetes::Watch.new(client) + result = [] + watch.connect('/some/path', nil) do |obj| + result << obj + end + + expect(result.length).to eq(3) + expect(result[0]['foo']).to eq('bar') + expect(result[1]['baz']).to eq('blah') + end + it 'should parse chunks correctly' do client = Kubernetes::Watch.new(nil) last = '' diff --git a/kubernetes/src/kubernetes/config/kube_config.rb b/kubernetes/src/kubernetes/config/kube_config.rb index 79e543db..a5a848dd 100644 --- a/kubernetes/src/kubernetes/config/kube_config.rb +++ b/kubernetes/src/kubernetes/config/kube_config.rb @@ -40,7 +40,7 @@ def list_context_names(config_file = KUBE_CONFIG_DEFAULT_LOCATION) attr_accessor :path attr_writer :config - def initialize(path, config_hash = nil) + def initialize(path = nil, config_hash = nil) @path = path @config = config_hash end diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb index 80e616a3..6879f129 100644 --- a/kubernetes/src/kubernetes/watch.rb +++ b/kubernetes/src/kubernetes/watch.rb @@ -23,9 +23,11 @@ def initialize(client) @client = client end - def connect(path, &_block) + def connect(path, resource_version, &_block) opts = { auth_names: ['BearerToken'] } - request = @client.build_request('GET', path + '?watch=true', opts) + query = '?watch=true' + query += "&resourceVersion=#{resource_version}" if resource_version + request = @client.build_request('GET', path + query, opts) last = '' request.on_body do |chunk| last, pieces = split_lines(last, chunk) From 8e0cdb813c273a6a66af28e551a450a1a2813358 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Tue, 14 May 2019 10:12:22 -0700 Subject: [PATCH 43/48] Fix lint. --- kubernetes/spec/.rubocop.yml | 2 ++ kubernetes/spec/utils_spec.rb | 3 -- kubernetes/spec/watch_spec.rb | 41 ++++++++++++++------------ kubernetes/src/kubernetes/.rubocop.yml | 2 ++ kubernetes/src/kubernetes/watch.rb | 11 +++++-- 5 files changed, 34 insertions(+), 25 deletions(-) create mode 100644 kubernetes/spec/.rubocop.yml create mode 100644 kubernetes/src/kubernetes/.rubocop.yml diff --git a/kubernetes/spec/.rubocop.yml b/kubernetes/spec/.rubocop.yml new file mode 100644 index 00000000..a371e736 --- /dev/null +++ b/kubernetes/spec/.rubocop.yml @@ -0,0 +1,2 @@ +Metrics/BlockLength: + Max: 99 \ No newline at end of file diff --git a/kubernetes/spec/utils_spec.rb b/kubernetes/spec/utils_spec.rb index 37ef85cf..7ef04688 100644 --- a/kubernetes/spec/utils_spec.rb +++ b/kubernetes/spec/utils_spec.rb @@ -18,8 +18,6 @@ require 'helpers/file_fixtures' require 'kubernetes/utils' - -# rubocop:disable BlockLength describe Kubernetes do describe '.load_incluster_config' do let(:incluster_config) do @@ -115,4 +113,3 @@ end end end -# rubocop:enable BlockLength diff --git a/kubernetes/spec/watch_spec.rb b/kubernetes/spec/watch_spec.rb index a6018310..a3bd2efb 100644 --- a/kubernetes/spec/watch_spec.rb +++ b/kubernetes/spec/watch_spec.rb @@ -25,16 +25,18 @@ config.scheme = 'http' config.host = 'k8s.io:8080' client = Kubernetes::ApiClient.new(config) + url = 'http://k8s.io:8080/some/path?watch=true&resourceVersion=foo' - WebMock.stub_request(:get, "http://k8s.io:8080/some/path?watch=true&resourceVersion=foo"). - with( - headers: { - 'Authorization'=>'', - 'Content-Type'=>'application/json', - 'Expect'=>'', - 'User-Agent'=>'Swagger-Codegen/1.0.0-alpha2/ruby' - }). - to_return(status: 200, body: "{}\n", headers: {}) + WebMock.stub_request(:get, url) + .with( + headers: { + 'Authorization' => '', + 'Content-Type' => 'application/json', + 'Expect' => '', + 'User-Agent' => 'Swagger-Codegen/1.0.0-alpha2/ruby' + } + ) + .to_return(status: 200, body: "{}\n", headers: {}) watch = Kubernetes::Watch.new(client) result = [] @@ -43,22 +45,23 @@ end end - it 'should connect correctly' do config = Kubernetes::Configuration.new config.scheme = 'http' config.host = 'k8s.io:8080' client = Kubernetes::ApiClient.new(config) + body = "{ \"foo\": \"bar\" }\n{ \"baz\": \"blah\" }\n{}\n" - WebMock.stub_request(:get, "http://k8s.io:8080/some/path?watch=true"). - with( - headers: { - 'Authorization'=>'', - 'Content-Type'=>'application/json', - 'Expect'=>'', - 'User-Agent'=>'Swagger-Codegen/1.0.0-alpha2/ruby' - }). - to_return(status: 200, body: "{ \"foo\": \"bar\" }\n{ \"baz\": \"blah\" }\n{}\n", headers: {}) + WebMock.stub_request(:get, 'http://k8s.io:8080/some/path?watch=true') + .with( + headers: { + 'Authorization' => '', + 'Content-Type' => 'application/json', + 'Expect' => '', + 'User-Agent' => 'Swagger-Codegen/1.0.0-alpha2/ruby' + } + ) + .to_return(status: 200, body: body, headers: {}) watch = Kubernetes::Watch.new(client) result = [] diff --git a/kubernetes/src/kubernetes/.rubocop.yml b/kubernetes/src/kubernetes/.rubocop.yml new file mode 100644 index 00000000..deca6595 --- /dev/null +++ b/kubernetes/src/kubernetes/.rubocop.yml @@ -0,0 +1,2 @@ +Metrics/MethodLength: + Max: 50 \ No newline at end of file diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb index 6879f129..05ce9ffe 100644 --- a/kubernetes/src/kubernetes/watch.rb +++ b/kubernetes/src/kubernetes/watch.rb @@ -23,11 +23,16 @@ def initialize(client) @client = client end - def connect(path, resource_version, &_block) - opts = { auth_names: ['BearerToken'] } + def make_url(http://github.com/path,%20resource_version) query = '?watch=true' query += "&resourceVersion=#{resource_version}" if resource_version - request = @client.build_request('GET', path + query, opts) + path + query + end + + def connect(path, resource_version, &_block) + opts = { auth_names: ['BearerToken'] } + url = make_url(http://github.com/path,%20resource_version) + request = @client.build_request('GET', url, opts) last = '' request.on_body do |chunk| last, pieces = split_lines(last, chunk) From f0309ec9e5a764cab4f8495800481565f36d14dc Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 15 May 2019 21:03:31 -0700 Subject: [PATCH 44/48] Address comments. --- examples/watch/watch.rb | 2 +- kubernetes/src/kubernetes/watch.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/watch/watch.rb b/examples/watch/watch.rb index b1dcda3c..f996d8a7 100644 --- a/examples/watch/watch.rb +++ b/examples/watch/watch.rb @@ -20,6 +20,6 @@ watch = Kubernetes::Watch.new(client) -watch.connect('/api/v1/namespaces', nil) do |obj| +watch.connect('/api/v1/namespaces') do |obj| pp obj end \ No newline at end of file diff --git a/kubernetes/src/kubernetes/watch.rb b/kubernetes/src/kubernetes/watch.rb index 05ce9ffe..e99068ef 100644 --- a/kubernetes/src/kubernetes/watch.rb +++ b/kubernetes/src/kubernetes/watch.rb @@ -29,7 +29,7 @@ def make_url(http://github.com/path,%20resource_version) path + query end - def connect(path, resource_version, &_block) + def connect(path, resource_version = nil, &_block) opts = { auth_names: ['BearerToken'] } url = make_url(http://github.com/path,%20resource_version) request = @client.build_request('GET', url, opts) From 9ce198e916e2c3b58d952f7e9f7e36a6bedc52ee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 29 Feb 2020 09:32:03 +0000 Subject: [PATCH 45/48] Bump rake from 12.0.0 to 13.0.1 in /kubernetes Bumps [rake](https://github.com/ruby/rake) from 12.0.0 to 13.0.1. - [Release notes](https://github.com/ruby/rake/releases) - [Changelog](https://github.com/ruby/rake/blob/master/History.rdoc) - [Commits](https://github.com/ruby/rake/compare/v12.0.0...v13.0.1) Signed-off-by: dependabot[bot] --- kubernetes/Gemfile | 2 +- kubernetes/Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes/Gemfile b/kubernetes/Gemfile index dba8f1ba..7858e09a 100644 --- a/kubernetes/Gemfile +++ b/kubernetes/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org/' gemspec group :development, :test do - gem 'rake', '~> 12.0.0' + gem 'rake', '~> 13.0.1' gem 'rubocop', '~> 0.65.0' gem 'webmock', '~> 3.5.1' end diff --git a/kubernetes/Gemfile.lock b/kubernetes/Gemfile.lock index 68cf6da3..fc73e94f 100644 --- a/kubernetes/Gemfile.lock +++ b/kubernetes/Gemfile.lock @@ -34,7 +34,7 @@ GEM psych (3.1.0) public_suffix (3.0.3) rainbow (3.0.0) - rake (12.0.0) + rake (13.0.1) rspec (3.8.0) rspec-core (~> 3.8.0) rspec-expectations (~> 3.8.0) @@ -79,7 +79,7 @@ DEPENDENCIES autotest-growl (~> 0.2, >= 0.2.16) autotest-rails-pure (~> 4.1, >= 4.1.2) kubernetes-io! - rake (~> 12.0.0) + rake (~> 13.0.1) rspec (~> 3.6, >= 3.6.0) rubocop (~> 0.65.0) vcr (~> 3.0, >= 3.0.1) From aa77f9ba27618171cb5d6bde0b0a52856afa48f4 Mon Sep 17 00:00:00 2001 From: Shihang Zhang Date: Tue, 21 Apr 2020 22:14:04 -0700 Subject: [PATCH 46/48] reload service account token within incluster config --- .../spec/config/incluster_config_spec.rb | 20 +++++++++-- kubernetes/spec/fixtures/files/tokens/token2 | 1 + .../src/kubernetes/config/incluster_config.rb | 36 ++++++++++++++++--- 3 files changed, 50 insertions(+), 7 deletions(-) create mode 100644 kubernetes/spec/fixtures/files/tokens/token2 diff --git a/kubernetes/spec/config/incluster_config_spec.rb b/kubernetes/spec/config/incluster_config_spec.rb index 5d664ded..f737773f 100644 --- a/kubernetes/spec/config/incluster_config_spec.rb +++ b/kubernetes/spec/config/incluster_config_spec.rb @@ -18,7 +18,7 @@ require 'kubernetes/config/incluster_config' -# rubocop:disable BlockLength +# rubocop:disable Metrics/BlockLength describe Kubernetes::InClusterConfig do context '#configure' do let(:incluster_config) do @@ -36,6 +36,10 @@ :@token_file, Kubernetes::Testing.file_fixture('tokens/token').to_s ) + c.instance_variable_set( + :@token_refresh_period, + 5 + ) end end @@ -50,6 +54,18 @@ incluster_config.configure(actual) expect(actual).to be_same_configuration_as(expected) + + old_expired_at = incluster_config.token_expires_at + incluster_config.instance_variable_set( + :@token_file, + Kubernetes::Testing.file_fixture('tokens/token2').to_s + ) + allow(Time).to receive(:now).and_return(Time.now+5) + actual.api_key_with_prefix('authorization') + + expected.api_key['authorization'] = 'Bearer token2' + expect(actual).to be_same_configuration_as(expected) + expect(incluster_config.token_expires_at).to be > old_expired_at end end @@ -141,4 +157,4 @@ end end end -# rubocop:enable BlockLength +# rubocop:enable Metrics/BlockLength diff --git a/kubernetes/spec/fixtures/files/tokens/token2 b/kubernetes/spec/fixtures/files/tokens/token2 new file mode 100644 index 00000000..d63ef3fe --- /dev/null +++ b/kubernetes/spec/fixtures/files/tokens/token2 @@ -0,0 +1 @@ +token2 diff --git a/kubernetes/src/kubernetes/config/incluster_config.rb b/kubernetes/src/kubernetes/config/incluster_config.rb index b551afdd..6c4cca84 100644 --- a/kubernetes/src/kubernetes/config/incluster_config.rb +++ b/kubernetes/src/kubernetes/config/incluster_config.rb @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +# require 'kubernetes/configuration' require 'kubernetes/config/error' @@ -19,16 +20,18 @@ module Kubernetes # The InClusterConfig class represents configuration for authn/authz in a # Kubernetes cluster. class InClusterConfig - # rubocop:disable LineLength + # rubocop:disable Metrics/LineLength SERVICE_HOST_ENV_NAME = 'KUBERNETES_SERVICE_HOST'.freeze SERVICE_PORT_ENV_NAME = 'KUBERNETES_SERVICE_PORT'.freeze SERVICE_TOKEN_FILENAME = '/var/run/secrets/kubernetes.io/serviceaccount/token'.freeze SERVICE_CA_CERT_FILENAME = '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt'.freeze - # rubocop:enable LineLength + TOKEN_REFRESH_PERIOD = 60 # 1 minute + # rubocop:enable Metrics/LineLength attr_accessor :host attr_accessor :port attr_accessor :token + attr_accessor :token_expires_at def validate unless (self.host = env[SERVICE_HOST_ENV_NAME]) && @@ -36,10 +39,10 @@ def validate raise ConfigError, 'Service host/port is not set' end - # rubocop:disable LineLength + # rubocop:disable Metrics/LineLength raise ConfigError, 'Service token file does not exists' unless File.file?(token_file) raise ConfigError, 'Service token file does not exists' unless File.file?(ca_cert) - # rubocop:enable LineLength + # rubocop:enable Metrics/LineLength end def self.in_cluster? @@ -62,19 +65,42 @@ def token_file @token_file end + def token_refresh_period + @token_refresh_period ||= TOKEN_REFRESH_PERIOD + @token_refresh_period + end + def load_token File.open(token_file) do |io| self.token = io.read.chomp + self.token_expires_at = Time.now + token_refresh_period end end - def configure(configuration) + # rubocop:disable Metrics/AbcSize + def configure(configuration, try_refresh_token: true) validate load_token configuration.api_key['authorization'] = "Bearer #{token}" configuration.scheme = 'https' configuration.host = "#{host}:#{port}" configuration.ssl_ca_cert = ca_cert + return unless try_refresh_token + + Configuration.instance_variable_set(:@in_cluster_config, self) + Configuration.prepend(Module.new do + # rubocop:disable Metrics/LineLength + def api_key_with_prefix(identifier) + in_cluster_config = self.class.instance_variable_get(:@in_cluster_config) + if identifier == 'authorization' && @api_key.key?(identifier) && in_cluster_config.token_expires_at <= Time.now + in_cluster_config.load_token + @api_key[identifier] = 'Bearer ' + in_cluster_config.token + end + super identifier + end + # rubocop:enable Metrics/LineLength + end) end + # rubocop:enable Metrics/AbcSize end end From acab6cc631495d15870b725ea3a58897d16836cd Mon Sep 17 00:00:00 2001 From: Bob Killen Date: Sun, 28 Feb 2021 15:08:13 -0500 Subject: [PATCH 47/48] Remove inactive members from OWNERS As a part of cleaning up inactive members (those with no activity within the past 18 months) from OWNERS files, this commit moves mbohlool from an approver to emeritus_approver. --- OWNERS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OWNERS b/OWNERS index 2fc8e615..947451e4 100644 --- a/OWNERS +++ b/OWNERS @@ -1,8 +1,9 @@ # See the OWNERS docs at https://go.k8s.io/owners approvers: - brendandburns -- mbohlool reviewers: - brendandburns -- mbohlool - drubin +emeritus_approvers: +- mbohlool + From 55cbf89b2393f83a5038c8175c0a8b7d38c69be4 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Thu, 4 Mar 2021 09:34:55 +0100 Subject: [PATCH 48/48] Update OWNERS to include drubin add drubin as an approver as well as reviewer. --- OWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/OWNERS b/OWNERS index 2fc8e615..9a908ef0 100644 --- a/OWNERS +++ b/OWNERS @@ -2,6 +2,7 @@ approvers: - brendandburns - mbohlool +- drubin reviewers: - brendandburns - mbohlool